summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/libsa
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2012-10-09 12:39:13 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2012-10-09 12:39:13 +0000
commit9dd2347c33110f38758fee95a09b63b85c8251ec (patch)
tree7312d1e55155db04787d83599a97a2f5cd69aec4 /sys/arch/i386/stand/libsa
parent9b24bf854b564e7492130e554b0174fde1e3fa8b (diff)
Put the real mode IDT and the GDT back in .text - having them in .data only
works if .data is within the same segment.
Diffstat (limited to 'sys/arch/i386/stand/libsa')
-rw-r--r--sys/arch/i386/stand/libsa/gidt.S5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/i386/stand/libsa/gidt.S b/sys/arch/i386/stand/libsa/gidt.S
index 0dd8922618d..06b35a8c084 100644
--- a/sys/arch/i386/stand/libsa/gidt.S
+++ b/sys/arch/i386/stand/libsa/gidt.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: gidt.S,v 1.34 2012/10/09 11:39:57 jsing Exp $ */
+/* $OpenBSD: gidt.S,v 1.35 2012/10/09 12:39:12 jsing Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -222,7 +222,7 @@ Idtr: .word 0 // 640 - 1
.long 0 // idt
.word 0
- .data
+ .text
.align 8
.globl Idtr_real
Idtr_real:
@@ -272,7 +272,6 @@ Gdtr: .word . - gdt - 1
.long gdt
.word 0
- .text
#define IENTRY(name,type) \
IPROC(name): \
pushl $type ; \