took out the change that was contended and which had nothing to do with the patch itself I leave it for when there is agreement. This is only the mp tables change for virtualbox Reference: /n/patches.lsub.org/patch/mpvirtualbox Date: Mon May 14 11:32:13 CES 2012 Signed-off-by: paurea@lsub.org --- /sys/src/nix/k10/mp.c Thu Apr 12 12:26:28 2012 +++ /sys/src/nix/k10/mp.c Mon May 14 11:30:53 2012 @@ -378,7 +378,6 @@ return nil; } - static void* sigsearch(char* signature) { @@ -404,7 +403,11 @@ if((r = sigscan(KADDR(p-1024), 1024, signature)) != nil) return r; - return sigscan(BIOSSEG(0xe000), 0x20000, signature); + r = sigscan(BIOSSEG(0xe000), 0x20000, signature); + if(r != nil) + return r; + /* and virtualbox hidden mp tables... */ + return sigscan(KADDR(0xa0000 - 1024), 1024, signature); } void @@ -415,8 +418,11 @@ _MP_ *mp; PCMP *pcmp; - if((mp = sigsearch("_MP_")) == nil) + if((mp = sigsearch("_MP_")) == nil){ + print("no mp tables\n"); return; + } + if(DBGFLG){ DBG("_MP_ @ %#p, addr %#ux length %ud rev %d", mp, l32get(mp->addr), mp->length, mp->revision);