summaryrefslogtreecommitdiff
path: root/DuetPkg/BootSector/start16.S
diff options
context:
space:
mode:
authorgikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-01 03:25:36 +0000
committergikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-01 03:25:36 +0000
commitae3d1e91efeaab49971e460bc2024398923994cd (patch)
treef5b0b4b8373ba9dbe2f80324d627f841a9a231e8 /DuetPkg/BootSector/start16.S
parent3d7dfb3886b172f1656987dbdce49743e18e4cbf (diff)
downloadedk2-platforms-ae3d1e91efeaab49971e460bc2024398923994cd.tar.xz
Replaced ASM_GLOBAL with .global, and add start label for some files to avoid link warnings.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8416 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/BootSector/start16.S')
-rw-r--r--DuetPkg/BootSector/start16.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/DuetPkg/BootSector/start16.S b/DuetPkg/BootSector/start16.S
index 7106f15f54..bfa028b2f8 100644
--- a/DuetPkg/BootSector/start16.S
+++ b/DuetPkg/BootSector/start16.S
@@ -26,9 +26,11 @@
.equ BLOCK_MASK, 0x01ff
.equ BLOCK_SHIFT, 9
- .org 0x00
-ASM_GLOBAL _start
-_start:
+ .org 0x00
+
+.global _start
+_start:
+
Ia32Jump:
jmp BootSectorEntryPoint # JMP inst - 3 bytes
nop
@@ -452,7 +454,6 @@ gdtr: .word GDT_END - GDT_BASE - 1 # GDT limit
.align 0x2
-ASM_GLOBAL GDT_BASE
GDT_BASE:
# null descriptor
.equ NULL_SEL, .-GDT_BASE
@@ -546,7 +547,6 @@ idtr: .word IDT_END - IDT_BASE - 1 # IDT limit
#idt_tag db "IDT",0
.align 0x2
-ASM_GLOBAL IDT_BASE
IDT_BASE:
# divide by zero (INT 0)
.equ DIV_ZERO_SEL, .-IDT_BASE