aboutsummaryrefslogtreecommitdiff
path: root/src/arch/i386/lib/c_start.S
diff options
context:
space:
mode:
authorYinghai Lu <yinghai.lu at amd.com>2007-04-06 19:57:42 +0000
committerStefan Reinauer <stepan@openbios.org>2007-04-06 19:57:42 +0000
commit30b4abeedc98db5a607f434af67e2fe2626ef111 (patch)
tree6fde1264fce271e31c48046610106000bd4987cb /src/arch/i386/lib/c_start.S
parenta3cf00e4bab084a231cbd7cafab3c02342c400e0 (diff)
Part III of YhLu's patch from January 18th
Signed-off-by: Yinghai Lu <yinghai.lu at amd.com> Signed-off-by: Ed Swierk <eswierk at arastra.com> Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Ward Vandewege <ward at gnu.org> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2590 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch/i386/lib/c_start.S')
-rw-r--r--src/arch/i386/lib/c_start.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/i386/lib/c_start.S b/src/arch/i386/lib/c_start.S
index 04b5a68676..272209aca9 100644
--- a/src/arch/i386/lib/c_start.S
+++ b/src/arch/i386/lib/c_start.S
@@ -263,9 +263,9 @@ gdt:
.word 0x0000, 0x0000 /* dummy */
.byte 0x00, 0x00, 0x00, 0x00
- /* selgdt 0x10, flat code segment */
+ /* selgdt 0x10, flat code segment */
.word 0xffff, 0x0000
- .byte 0x00, 0x9b, 0xcf, 0x00
+ .byte 0x00, 0x9b, 0xcf, 0x00 /* G=1 and 0x0f, So we get 4Gbytes for limit */
/* selgdt 0x18, flat data segment */
.word 0xffff, 0x0000