]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/BootSector/start.asm
DuetPkg BootSector:
[mirror_edk2.git] / DuetPkg / BootSector / start.asm
index 2674d1cd8a8ba777da38f57d3e076f150699331f..9cc05ff5ca8f23abdeb561f4d47dbda935d263b0 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
@@ -400,7 +400,7 @@ Timeout8042:
 \r
 \r
 A20GateEnabled:\r
-\r
+        mov     bx,0008h                    ; Flat data descriptor\r
 ;\r
 ; DISABLE INTERRUPTS - Entering Protected Mode\r
 ;\r
@@ -421,11 +421,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