diff options
Diffstat (limited to 'laden')
-rw-r--r-- | laden/ChangeLog | 4 | ||||
-rw-r--r-- | laden/ia32-shutdown.c | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/laden/ChangeLog b/laden/ChangeLog index 1999fd5..995856f 100644 --- a/laden/ChangeLog +++ b/laden/ChangeLog @@ -1,3 +1,7 @@ +2007-08-14 Marcus Brinkmann <marcus@gnu.org> + + * ia32-shutdown.c (reset): Swap arguments to outb_p. + 2007-08-02 Neal H. Walfield <neal@gnu.org> * ia32-cmain.c (find_components): Save the correct module number. diff --git a/laden/ia32-shutdown.c b/laden/ia32-shutdown.c index f467fb1..c7f238d 100644 --- a/laden/ia32-shutdown.c +++ b/laden/ia32-shutdown.c @@ -48,14 +48,14 @@ reset (void) fails, we should try to triple fault. Alternatively, we could also try to make the BIOS call. */ - outb_p (0x70, 0x80); + outb_p (0x80, 0x70); inb_p (0x71); while (inb (0x64) & 0x02) ; - outb_p (0x70, 0x8F); - outb_p (0x71, 0x00); + outb_p (0x8F, 0x70); + outb_p (0x00, 0x71); - outb_p (0x64, 0xFE); + outb_p (0xFE, 0x64); } |