From: rsun3 Date: Thu, 24 Nov 2011 02:07:25 +0000 (+0000) Subject: DuetPkg BootSector: Add missing .code16 directive into start16.S/start32.S/Gpt.S... X-Git-Tag: edk2-stable201903~13843 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=697ecfd313e6c21a7d01a9eec618174cc4136fb8 DuetPkg BootSector: Add missing .code16 directive into start16.S/start32.S/Gpt.S/Mbr.S. Signed-off-by: rsun3 Reviewed-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12773 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/DuetPkg/BootSector/Gpt.S b/DuetPkg/BootSector/Gpt.S index c8b155edcb..821ca846f0 100644 --- a/DuetPkg/BootSector/Gpt.S +++ b/DuetPkg/BootSector/Gpt.S @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ #* -#* Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.
+#* Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
#* This program and the accompanying materials #* are licensed and made available under the terms and conditions of the BSD License #* which accompanies this distribution. The full text of the license may be found at @@ -19,7 +19,7 @@ # .dosseg .stack: .486p: - .code: + .code16 .equ BLOCK_SIZE, 0x0200 .equ BLOCK_MASK, 0x01ff diff --git a/DuetPkg/BootSector/Mbr.S b/DuetPkg/BootSector/Mbr.S index f24c5c2951..a1ebe06ca5 100644 --- a/DuetPkg/BootSector/Mbr.S +++ b/DuetPkg/BootSector/Mbr.S @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ #* -#* Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.
+#* Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
#* This program and the accompanying materials #* are licensed and made available under the terms and conditions of the BSD License #* which accompanies this distribution. The full text of the license may be found at @@ -15,6 +15,8 @@ #* #------------------------------------------------------------------------------ + .code16 + .equ BLOCK_SIZE, 0x0200 .equ BLOCK_MASK, 0x01ff .equ BLOCK_SHIFT, 9 diff --git a/DuetPkg/BootSector/start16.S b/DuetPkg/BootSector/start16.S index 053a0eeb91..a4cb151c77 100644 --- a/DuetPkg/BootSector/start16.S +++ b/DuetPkg/BootSector/start16.S @@ -18,7 +18,7 @@ #.MODEL small .stack: .486p: - .code: + .code16 .equ FAT_DIRECTORY_ENTRY_SIZE, 0x0020 .equ FAT_DIRECTORY_ENTRY_SHIFT, 5 diff --git a/DuetPkg/BootSector/start32.S b/DuetPkg/BootSector/start32.S index 6ce225612f..5296414f2e 100644 --- a/DuetPkg/BootSector/start32.S +++ b/DuetPkg/BootSector/start32.S @@ -18,7 +18,7 @@ #.MODEL small .stack: .486p: - .code: + .code16 .equ FAT_DIRECTORY_ENTRY_SIZE, 0x020 .equ FAT_DIRECTORY_ENTRY_SHIFT, 5