]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix issue for boot sector
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 5 Mar 2009 15:22:54 +0000 (15:22 +0000)
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 5 Mar 2009 15:22:54 +0000 (15:22 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7819 6f19259b-4bc3-4df7-8a09-765794883524

DuetPkg/BootSector/efi32.S
DuetPkg/BootSector/start.S

index a93f350c5bf4bdd68343fe299b0b6fe53a562a3b..fdee1af393b9750258e4e33333d8c474239ff354 100644 (file)
 # Now in 32-bit protected mode.\r
 ##############################################################################\r
 \r
-        .486: \r
-        #.MODEL flat\r
-        .stack: \r
-        .code16\r
         .org 0x21000\r
 \r
 .equ                 DEFAULT_HANDLER_SIZE, INT1 - INT0\r
index fe7aa1b4d569e1eeb11ea3bb78bc7de664ebabc4..86aa4b7543f3bfcbef9cf72463b673909e404d90 100644 (file)
@@ -73,7 +73,7 @@ BootSectorEntryPoint:
 NoVarStore: \r
         pushw   %es\r
 # Set the 5th byte start @ 0:19000 to non-zero indicating we should init var store header in DxeIpl\r
-        movb    %al, %es:4\r
+        movb    %al, %es:(4)\r
         jmp     SaveVolumeId\r
 \r
 CheckVarStoreSize: \r