pc64: fix swaped error/flags in dumpregs(), remove misleading comment in apbootstrap

This commit is contained in:
cinap_lenrek 2014-03-16 02:28:04 +01:00
parent 74778941ed
commit 38c0dfacab
2 changed files with 1 additions and 2 deletions

View file

@ -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.
*/

View file

@ -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.