Ticket #838: pcx86-ldsegs.diff

File pcx86-ldsegs.diff, 1.8 KB (added by strauman, on 12/03/06 at 13:31:12)

pcx86-ldsegs.diff

Line 
1Index: c/src/lib/libbsp/i386/pc386/startup/ldsegs.S
2===================================================================
3RCS file: /afs/slac/g/spear/cvsrep/rtems/src-20030128/c/src/lib/libbsp/i386/pc386/startup/ldsegs.S,v
4retrieving revision 1.1.1.4
5retrieving revision 1.2
6diff -c -r1.1.1.4 -r1.2
7*** c/src/lib/libbsp/i386/pc386/startup/ldsegs.S        27 Feb 2004 02:56:16 -0000      1.1.1.4
8--- c/src/lib/libbsp/i386/pc386/startup/ldsegs.S        4 Oct 2005 03:24:00 -0000       1.2
9***************
10*** 187,192 ****
11--- 187,193 ----
12  | GDT itself
13  +--------------------------------------------------------------------------*/
14 
15+ BEGIN_DATA
16        .p2align 4
17               
18        PUBLIC (_Global_descriptor_table)
19***************
20*** 216,222 ****
21  /*---------------------------------------------------------------------------+
22  | IDT itself
23  +---------------------------------------------------------------------------*/
24- BEGIN_DATA
25        .p2align 4
26       
27        PUBLIC(Interrupt_descriptor_table)
28--- 217,222 ----
29***************
30*** 224,241 ****
31        .rept 256
32        .word 0,0,0,0
33        .endr
34- END_DATA
35               
36  /*---------------------------------------------------------------------------+
37  | Descriptor of IDT
38  +--------------------------------------------------------------------------*/
39! BEGIN_CODE
40        .p2align 4
41  SYM(idtdesc):
42        .word  (256*8 - 1)
43        .long  SYM (Interrupt_descriptor_table)
44       
45! END_CODE
46 
47      .section .m_hdr
48        .long 0x1BADB002
49--- 224,240 ----
50        .rept 256
51        .word 0,0,0,0
52        .endr
53               
54  /*---------------------------------------------------------------------------+
55  | Descriptor of IDT
56  +--------------------------------------------------------------------------*/
57!
58        .p2align 4
59  SYM(idtdesc):
60        .word  (256*8 - 1)
61        .long  SYM (Interrupt_descriptor_table)
62       
63! END_DATA
64 
65      .section .m_hdr
66        .long 0x1BADB002