Turn off QEMU ACPI-way since new releases don't have shutdown port

anymore.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-04-12 14:49:33 +02:00
parent a21eec9ec5
commit 5121223465
6 changed files with 51 additions and 27 deletions

View file

@ -65,7 +65,7 @@ _start:
/* IOPERM. */
movl $SYSCALL_ARCH, %eax
pushl $iopl_arg1
pushl $ioperm_arg1
pushl $SYSCALL_ARCH_IOPERM
pushl $0
int $SYSCALL_INT
@ -73,7 +73,7 @@ _start:
/* IOPERM. */
movl $SYSCALL_ARCH, %eax
pushl $iopl_arg2
pushl $ioperm_arg2
pushl $SYSCALL_ARCH_IOPERM
pushl $0
int $SYSCALL_INT
@ -104,6 +104,6 @@ ioperm_arg1:
.long 8
.long 1
ioperm_arg2:
.long 0x1000
.long 0x7000
.long 8
.long 1