bda[0xE] is a 16-bit segment number,
not a real address. So shift 4. Reported by Silas. Jim McKie says this code only matters on ancient EISA MP systems.
This commit is contained in:
parent
fd6b029401
commit
a6c4711a38
1 changed files with 1 additions and 1 deletions
2
mp.c
2
mp.c
|
@ -59,7 +59,7 @@ mp_search(void)
|
|||
struct mp *mp;
|
||||
|
||||
bda = (uchar*)0x400;
|
||||
if((p = (bda[0x0F]<<8)|bda[0x0E])){
|
||||
if((p = ((bda[0x0F]<<8)|bda[0x0E]) << 4)){
|
||||
if((mp = mp_search1((uchar*)p, 1024)))
|
||||
return mp;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue