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

@ -1,18 +1,17 @@
movl $0x80000b80, %eax
movw $0xcf8, %dx
outl %eax, %dx
movl $0x1001, %eax
movw $0xcfc, %dx
inb %al, %dx
inb %dx, %al
orb $1, %al
outb %al, %dx
movl $0x80000b40, %eax
movw $0xcf8, %dx
outl %eax, %dx
movl $0x1001, %eax
movl $0x7001, %eax
movw $0xcfc, %dx
outl %eax, %dx
movw $0x2000, %ax
movw $0x1004, %dx
movw $0x7004, %dx
outw %ax, %dx