Use ACPI shutdown intests as traditional port was removed.
This commit is contained in:
parent
f4b1fa4f3c
commit
93cd84df63
10 changed files with 56 additions and 163 deletions
9
grub-core/tests/boot/qemu-shutdown-x86.S
Normal file
9
grub-core/tests/boot/qemu-shutdown-x86.S
Normal file
|
@ -0,0 +1,9 @@
|
|||
movl $0x80000b40, %eax
|
||||
movw $0xcf8, %dx
|
||||
outl %eax, %dx
|
||||
movl $0x1001, %eax
|
||||
movw $0xcfc, %dx
|
||||
outl %eax, %dx
|
||||
movw $0x2000, %ax
|
||||
movw $0x1004, %dx
|
||||
outw %ax, %dx
|
Loading…
Add table
Add a link
Reference in a new issue