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...
This commit is contained in:
Till Straumann
2005-11-03 02:58:09 +00:00
parent 78111c37c6
commit ebedf31c4e
2 changed files with 11 additions and 6 deletions

View File

@@ -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,

View File

@@ -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