pc64: fix swaped error/flags in dumpregs(), remove misleading comment in apbootstrap
This commit is contained in:
parent
74778941ed
commit
38c0dfacab
|
@ -99,7 +99,6 @@ TEXT _ap32(SB), 1, $-4
|
|||
* Long mode. Welcome to 2003.
|
||||
* Jump out of the identity map space;
|
||||
* load a proper long mode GDT;
|
||||
* zap the identity map;
|
||||
* initialise the stack and call the
|
||||
* C startup code in m->splpc.
|
||||
*/
|
||||
|
|
|
@ -491,7 +491,7 @@ dumpregs(Ureg* ureg)
|
|||
ureg->cs & 0xffff, ureg->pc, ureg->sp);
|
||||
|
||||
iprint("TYPE %.2lluX ERROR %.4lluX FLAGS %.8lluX\n",
|
||||
ureg->type & 0xff, ureg->flags & 0xffffffff, ureg->error & 0xffff);
|
||||
ureg->type & 0xff, ureg->error & 0xffff, ureg->flags & 0xffffffff);
|
||||
|
||||
/*
|
||||
* Processor control registers.
|
||||
|
|
Loading…
Reference in a new issue