]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/BootSector/start32.asm
DuetPkg BootSector:
[mirror_edk2.git] / DuetPkg / BootSector / start32.asm
index 2cc5640cd8054b120f3ec3bc499eb1fdb3417f72..aaf04b86bc6b60499bd3f599914e60203de0bb95 100644 (file)
@@ -1,6 +1,6 @@
 ;------------------------------------------------------------------------------\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
@@ -408,7 +408,7 @@ Timeout8042:
 \r
 \r
 A20GateEnabled:\r
-\r
+        mov     bx,0008h                    ; Flat data descriptor\r
 ;\r
 ; DISABLE INTERRUPTS - Entering Protected Mode\r
 ;\r
@@ -429,11 +429,6 @@ A20GateEnabled:
         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