]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/BootSector/start.asm
Vlv2TbltDevicePkg/Bds: use Tcg2 instead of TrEE.
[mirror_edk2.git] / DuetPkg / BootSector / start.asm
index e8eb22982d503c6daa77481e2f221236c35ba6a9..9cc05ff5ca8f23abdeb561f4d47dbda935d263b0 100644 (file)
@@ -1,7 +1,7 @@
 ;------------------------------------------------------------------------------\r
 ;*\r
-;*   Copyright 2006 - 2007, Intel Corporation                                                         \r
-;*   All rights reserved. This program and the accompanying materials                          \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
 ;*   http://opensource.org/licenses/bsd-license.php                                            \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