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
This commit is contained in:
rsun3 2011-11-24 02:07:25 +00:00
parent 24d63167cd
commit 697ecfd313
4 changed files with 7 additions and 5 deletions

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#*
#* Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.<BR>
#* Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
#* 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

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#*
#* Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.<BR>
#* Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
#* 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

View File

@ -18,7 +18,7 @@
#.MODEL small
.stack:
.486p:
.code:
.code16
.equ FAT_DIRECTORY_ENTRY_SIZE, 0x0020
.equ FAT_DIRECTORY_ENTRY_SHIFT, 5

View File

@ -18,7 +18,7 @@
#.MODEL small
.stack:
.486p:
.code:
.code16
.equ FAT_DIRECTORY_ENTRY_SIZE, 0x020
.equ FAT_DIRECTORY_ENTRY_SHIFT, 5