## @file\r
# \r
-# Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
# This program and the accompanying materials \r
# are licensed and made available under the terms and conditions of the BSD License \r
# which accompanies this distribution. The full text of the license may be found at \r
efi32.asm | MSFT\r
efi32.S | GCC\r
\r
+ start64.asm | INTEL\r
+ start64.asm | MSFT\r
+ start64.S | GCC\r
+\r
+ st16_64.asm | INTEL\r
+ st16_64.asm | MSFT\r
+ st16_64.S | GCC\r
+\r
+ st32_64.asm | INTEL\r
+ st32_64.asm | MSFT\r
+ st32_64.S | GCC\r
+\r
+ efi64.asm | INTEL\r
+ efi64.asm | MSFT\r
+ efi64.S | GCC\r
+\r
#------------------------------------------------------------------------------\r
#*\r
-#* Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+#* Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
#* This program and the accompanying materials \r
#* are licensed and made available under the terms and conditions of the BSD License \r
#* which accompanies this distribution. The full text of the license may be found at \r
.endm\r
\r
Start: \r
+ movw %bx, %ax\r
movw %ax, %ds\r
movw %ax, %es\r
movw %ax, %fs\r
;------------------------------------------------------------------------------\r
;*\r
-;* Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+;* Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
;* This program and the accompanying materials \r
;* are licensed and made available under the terms and conditions of the BSD License \r
;* which accompanies this distribution. The full text of the license may be found at \r
\r
\r
Start: \r
+ mov ax,bx ; flat data descriptor in BX\r
mov ds,ax\r
mov es,ax\r
mov fs,ax\r
#------------------------------------------------------------------------------\r
#*\r
-#* Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.<BR>\r
+#* Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
#* This program and the accompanying materials \r
#* are licensed and made available under the terms and conditions of the BSD License \r
#* which accompanies this distribution. The full text of the license may be found at \r
\r
\r
A20GateEnabled: \r
+ movw $0x0008, %bx # Flat data descriptor\r
\r
#\r
# DISABLE INTERRUPTS - Entering Protected Mode\r
movl %cr0, %eax\r
orb $1, %al\r
movl %eax, %cr0\r
-\r
- movl $0x008, %eax # Flat data descriptor\r
- movl $0x00400000, %ebp # Destination of EFILDR32\r
- movl $0x00070000, %ebx # Length of copy\r
-\r
JUMP: \r
# jmp far 0010:00020000\r
.byte 0x66\r
;------------------------------------------------------------------------------\r
;*\r
-;* Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.<BR>\r
+;* Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
;* This program and the accompanying materials \r
;* are licensed and made available under the terms and conditions of the BSD License \r
;* which accompanies this distribution. The full text of the license may be found at \r
\r
\r
A20GateEnabled:\r
-\r
+ mov bx,0008h ; Flat data descriptor\r
;\r
; DISABLE INTERRUPTS - Entering Protected Mode\r
;\r
mov eax,cr0\r
or al,1\r
mov cr0,eax\r
-\r
- mov eax,0008h ; Flat data descriptor\r
- mov ebp,000400000h ; Destination of EFILDR32\r
- mov ebx,000070000h ; Length of copy\r
- \r
JUMP:\r
; jmp far 0010:00020000\r
db 066h\r
#------------------------------------------------------------------------------\r
#*\r
-#* Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.<BR>\r
+#* Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
#* This program and the accompanying materials \r
#* are licensed and made available under the terms and conditions of the BSD License \r
#* which accompanies this distribution. The full text of the license may be found at \r
\r
\r
A20GateEnabled: \r
-\r
+ movw $0x0008, %bx # Flat data descriptor\r
#\r
# DISABLE INTERRUPTS - Entering Protected Mode\r
#\r
movl %cr0, %eax\r
orb $1, %al\r
movl %eax, %cr0\r
-\r
- movl $0x008, %eax # Flat data descriptor\r
- movl $0x00400000, %ebp # Destination of EFILDR32\r
- movl $0x00070000, %ebx # Length of copy\r
-\r
JUMP: \r
# jmp far 0010:00020000\r
.byte 0x66\r
;------------------------------------------------------------------------------\r
;*\r
-;* Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.<BR>\r
+;* Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
;* This program and the accompanying materials \r
;* are licensed and made available under the terms and conditions of the BSD License \r
;* which accompanies this distribution. The full text of the license may be found at \r
\r
\r
A20GateEnabled:\r
-\r
+ mov bx,0008h ; Flat data descriptor\r
;\r
; DISABLE INTERRUPTS - Entering Protected Mode\r
;\r
mov eax,cr0\r
or al,1\r
mov cr0,eax\r
-\r
- mov eax,0008h ; Flat data descriptor\r
- mov ebp,000400000h ; Destination of EFILDR32\r
- mov ebx,000070000h ; Length of copy\r
- \r
JUMP:\r
; jmp far 0010:00020000\r
db 066h\r
#------------------------------------------------------------------------------\r
#*\r
-#* Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.<BR>\r
+#* Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
#* This program and the accompanying materials \r
#* are licensed and made available under the terms and conditions of the BSD License \r
#* which accompanies this distribution. The full text of the license may be found at \r
\r
\r
A20GateEnabled: \r
-\r
+ movw $0x0008, %bx # Flat data descriptor\r
#\r
# DISABLE INTERRUPTS - Entering Protected Mode\r
#\r
movl %cr0, %eax\r
orb $1, %al\r
movl %eax, %cr0\r
-\r
- movl $0x008, %eax # Flat data descriptor\r
- movl $0x00400000, %ebp # Destination of EFILDR32\r
- movl $0x00070000, %ebx # Length of copy\r
-\r
JUMP: \r
# jmp far 0010:00020000\r
.byte 0x66\r
;------------------------------------------------------------------------------\r
;*\r
-;* Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.<BR>\r
+;* Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
;* This program and the accompanying materials \r
;* are licensed and made available under the terms and conditions of the BSD License \r
;* which accompanies this distribution. The full text of the license may be found at \r
\r
\r
A20GateEnabled:\r
-\r
+ mov bx,0008h ; Flat data descriptor\r
;\r
; DISABLE INTERRUPTS - Entering Protected Mode\r
;\r
mov eax,cr0\r
or al,1\r
mov cr0,eax\r
-\r
- mov eax,0008h ; Flat data descriptor\r
- mov ebp,000400000h ; Destination of EFILDR32\r
- mov ebx,000070000h ; Length of copy\r
- \r
JUMP:\r
; jmp far 0010:00020000\r
db 066h\r