aboutsummaryrefslogtreecommitdiff
path: root/entry.S
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-05-21 00:30:07 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2015-05-21 11:44:57 +0200
commit7cadd5a6fbdbf078c2e6a4d59dcb5e5e2371406e (patch)
tree05d10e9f3c96176752f71d5cea34b7fb695a1f35 /entry.S
parent3d3a334ec62c68c07ef45f144c77b8ac5c2835bf (diff)
downloadqboot-7cadd5a6fbdbf078c2e6a4d59dcb5e5e2371406e.zip
qboot-7cadd5a6fbdbf078c2e6a4d59dcb5e5e2371406e.tar.gz
qboot-7cadd5a6fbdbf078c2e6a4d59dcb5e5e2371406e.tar.bz2
setup pic
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'entry.S')
-rw-r--r--entry.S8
1 files changed, 8 insertions, 0 deletions
diff --git a/entry.S b/entry.S
index 89fa51e..9a9454a 100644
--- a/entry.S
+++ b/entry.S
@@ -41,6 +41,14 @@
popl %fs
.endm
+ENTRY(bios_irq)
+ pushw %ax
+ mov $0x20, %al
+ out %al, $0x20
+ popw %ax
+ IRET
+ENTRY_END(bios_irq)
+
/*
* fake interrupt handler, nothing can be faster ever
*/