Skip to content

Commit

Permalink
DuetPkg BootSector: Add missing .code16 directive into start16.S/star…
Browse files Browse the repository at this point in the history
…t32.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
  • Loading branch information
sun-rui committed Nov 24, 2011
1 parent 24d6316 commit 697ecfd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions DuetPkg/BootSector/Gpt.S
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -19,7 +19,7 @@
# .dosseg
.stack:
.486p:
.code:
.code16

.equ BLOCK_SIZE, 0x0200
.equ BLOCK_MASK, 0x01ff
Expand Down
4 changes: 3 additions & 1 deletion DuetPkg/BootSector/Mbr.S
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -15,6 +15,8 @@
#*
#------------------------------------------------------------------------------

.code16

.equ BLOCK_SIZE, 0x0200
.equ BLOCK_MASK, 0x01ff
.equ BLOCK_SHIFT, 9
Expand Down
2 changes: 1 addition & 1 deletion DuetPkg/BootSector/start16.S
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#.MODEL small
.stack:
.486p:
.code:
.code16

.equ FAT_DIRECTORY_ENTRY_SIZE, 0x0020
.equ FAT_DIRECTORY_ENTRY_SHIFT, 5
Expand Down
2 changes: 1 addition & 1 deletion DuetPkg/BootSector/start32.S
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#.MODEL small
.stack:
.486p:
.code:
.code16

.equ FAT_DIRECTORY_ENTRY_SIZE, 0x020
.equ FAT_DIRECTORY_ENTRY_SHIFT, 5
Expand Down

0 comments on commit 697ecfd

Please sign in to comment.