diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-06-18 01:15:27 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-06-20 18:16:54 +0200 |
commit | e021dea777e87180d76ad6ac89f9b54b5f1111ad (patch) | |
tree | cb5c9c6ee84632a8f9b3c9a0c0487eb66416b926 /src/cpu/x86/32bit | |
parent | defee17c670c6ec20edfea39afc751cc1c77871f (diff) | |
download | coreboot-e021dea777e87180d76ad6ac89f9b54b5f1111ad.tar.xz |
cpu: x86 port to 64bit
Change-Id: Ib1c6732d3a338f6d898fadc19e5af59032343451
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Signed-off-by: Scott Duplichan <scott@notabs.org>
Reviewed-on: http://review.coreboot.org/10580
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marc.jones@se-eng.com>
Diffstat (limited to 'src/cpu/x86/32bit')
-rw-r--r-- | src/cpu/x86/32bit/entry32.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cpu/x86/32bit/entry32.inc b/src/cpu/x86/32bit/entry32.inc index b016f8eb16..5c3072e8dc 100644 --- a/src/cpu/x86/32bit/entry32.inc +++ b/src/cpu/x86/32bit/entry32.inc @@ -27,6 +27,10 @@ gdtptr: .word 0xffff, 0x0000 .byte 0x00, 0x93, 0xcf, 0x00 + /* selgdt 0x18, flat code segment (64-bit) */ + .word 0xffff, 0x0000 + .byte 0x00, 0x9b, 0xaf, 0x00 + gdt_end: |