Skip to content
Snippets Groups Projects
Commit a6c4711a authored by rsc's avatar rsc
Browse files

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.
parent fd6b0294
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment