diff options
author | Jamey Sharp <jamey@thetovacompany.com> | 2008-04-22 16:21:04 -0700 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2008-04-24 11:03:14 +1000 |
commit | b76efc860bce5649dcc5d3e0f791664f69123553 (patch) | |
tree | 1e494e882175c4d7dbf881794d84f236a765d242 /util_lib/include/sha256.h | |
parent | 1e1ee02f95e69890fb98d71cb512261ac9283623 (diff) |
Fix undefined symbol errors on readw/writew: arch/io.h, not sys/io.h.
The undefined symbols naturally weren't relocated by kexec's linker, so
each compiled `call` instruction branched into the middle of itself. The
CPU proceeded to interpret the un-relocated address as instructions,
resulting in an undefined opcode fault. Since at this point no IDT is
loaded, that turned into a triple-fault and reboot.
The bug was only visible when running kexec with --console-vga.
Signed-off-by: Jamey Sharp <jamey@thetovacompany.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'util_lib/include/sha256.h')
0 files changed, 0 insertions, 0 deletions