diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-26 12:54:41 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-26 12:54:41 +0000 |
commit | 0375ec8d8f643a6c8c3238f22157592b44c6dba2 (patch) | |
tree | 257b7af1312e8d073f241c06637377cf203b4d01 /DuetPkg | |
parent | 57b6de773d78bf627f71c7e9ecfa2d00f6ca2281 (diff) | |
download | edk2-0375ec8d8f643a6c8c3238f22157592b44c6dba2.tar.gz edk2-0375ec8d8f643a6c8c3238f22157592b44c6dba2.tar.bz2 edk2-0375ec8d8f643a6c8c3238f22157592b44c6dba2.zip |
boot sector use 16-bit code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7720 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg')
-rw-r--r-- | DuetPkg/BootSector/bs16.S | 2 | ||||
-rw-r--r-- | DuetPkg/BootSector/bs32.S | 2 | ||||
-rw-r--r-- | DuetPkg/BootSector/efi32.S | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/DuetPkg/BootSector/bs16.S b/DuetPkg/BootSector/bs16.S index 133a9c2570..440732ee72 100644 --- a/DuetPkg/BootSector/bs16.S +++ b/DuetPkg/BootSector/bs16.S @@ -18,7 +18,7 @@ #.MODEL small
.stack:
.486p:
- .code:
+ .code16:
.equ FAT_DIRECTORY_ENTRY_SIZE, 0x020
.equ FAT_DIRECTORY_ENTRY_SHIFT, 5
diff --git a/DuetPkg/BootSector/bs32.S b/DuetPkg/BootSector/bs32.S index f2e3b91454..72fa21011b 100644 --- a/DuetPkg/BootSector/bs32.S +++ b/DuetPkg/BootSector/bs32.S @@ -18,7 +18,7 @@ #.MODEL small
#.stack:
#.486p:
- #.code:
+ .code16:
.section .text .equ FAT_DIRECTORY_ENTRY_SIZE, 0x0020
diff --git a/DuetPkg/BootSector/efi32.S b/DuetPkg/BootSector/efi32.S index 421271c516..7f9e77dea7 100644 --- a/DuetPkg/BootSector/efi32.S +++ b/DuetPkg/BootSector/efi32.S @@ -22,7 +22,7 @@ .486:
#.MODEL flat
.stack:
- .code:
+ .code16:
.org 0x21000
.equ DEFAULT_HANDLER_SIZE, INT1 - INT0
|