summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i386
diff options
context:
space:
mode:
authorTill Straumann <strauman@slac.stanford.edu>2005-11-03 02:58:09 +0000
committerTill Straumann <strauman@slac.stanford.edu>2005-11-03 02:58:09 +0000
commitebedf31c4ed91b9910ea3805ee29e6189cf316e6 (patch)
tree56122839060ce4b5626325713f654a89a47bb095 /c/src/lib/libbsp/i386
parent2005-11-02 straumanatslacdotstanford.edu (diff)
downloadrtems-ebedf31c4ed91b9910ea3805ee29e6189cf316e6.tar.bz2
2005-11-02 straumanatslacdotstanford.edu
* startup/ldsegs.S: put IDT and GDT into data segment. The CPU modifies the 'accessed' bit and GDB's (rtems-gdb-stub) text segment checksum comparison failed...
Diffstat (limited to 'c/src/lib/libbsp/i386')
-rw-r--r--c/src/lib/libbsp/i386/pc386/ChangeLog6
-rw-r--r--c/src/lib/libbsp/i386/pc386/startup/ldsegs.S11
2 files changed, 11 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/ChangeLog b/c/src/lib/libbsp/i386/pc386/ChangeLog
index 73df8d8c80..2afc879bf4 100644
--- a/c/src/lib/libbsp/i386/pc386/ChangeLog
+++ b/c/src/lib/libbsp/i386/pc386/ChangeLog
@@ -1,3 +1,9 @@
+2005-11-02 straumanatslacdotstanford.edu
+
+ * startup/ldsegs.S: put IDT and GDT into data segment. The CPU modifies
+ the 'accessed' bit and GDB's (rtems-gdb-stub) text segment checksum
+ comparison failed...
+
2005-10-17 Ralf Corsepius <ralf.corsepius@rtems.org>
* console/fb_vga.h, console/kd.h, console/ps2_drv.h,
diff --git a/c/src/lib/libbsp/i386/pc386/startup/ldsegs.S b/c/src/lib/libbsp/i386/pc386/startup/ldsegs.S
index d3cc96ecaf..6f1e370cfe 100644
--- a/c/src/lib/libbsp/i386/pc386/startup/ldsegs.S
+++ b/c/src/lib/libbsp/i386/pc386/startup/ldsegs.S
@@ -187,6 +187,7 @@ SYM (_return_to_monitor):
| GDT itself
+--------------------------------------------------------------------------*/
+BEGIN_DATA
.p2align 4
PUBLIC (_Global_descriptor_table)
@@ -214,7 +215,6 @@ SYM (gdtdesc):
/*---------------------------------------------------------------------------+
| IDT itself
+---------------------------------------------------------------------------*/
-BEGIN_DATA
.p2align 4
PUBLIC(Interrupt_descriptor_table)
@@ -222,18 +222,17 @@ SYM(Interrupt_descriptor_table):
.rept 256
.word 0,0,0,0
.endr
-END_DATA
-
+
/*---------------------------------------------------------------------------+
| Descriptor of IDT
+--------------------------------------------------------------------------*/
-BEGIN_CODE
+
.p2align 4
SYM(idtdesc):
.word (256*8 - 1)
.long SYM (Interrupt_descriptor_table)
-
-END_CODE
+
+END_DATA
.section .m_hdr
.long 0x1BADB002