summaryrefslogtreecommitdiff
path: root/DuetPkg/BootSector/bootsect.S
diff options
context:
space:
mode:
authorgikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-26 03:39:15 +0000
committergikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-26 03:39:15 +0000
commitfd549a4db9c562587652c23884bab5a4f3631d10 (patch)
treef10e73f6240684d2c1f4e40be4f4eb2fcf20a240 /DuetPkg/BootSector/bootsect.S
parent50db9e551a32a52be9738f5fb299121d1e25bf20 (diff)
downloadedk2-fd549a4db9c562587652c23884bab5a4f3631d10.zip
edk2-fd549a4db9c562587652c23884bab5a4f3631d10.tar.gz
edk2-fd549a4db9c562587652c23884bab5a4f3631d10.tar.bz2
1. Add GNUmakefile for Linux GCC to build BootSector;
2. Modified some S files to pass ld phase. Now the makefile only for pass build and source control. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7699 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/BootSector/bootsect.S')
-rw-r--r--DuetPkg/BootSector/bootsect.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/DuetPkg/BootSector/bootsect.S b/DuetPkg/BootSector/bootsect.S
index edf941b..d576adb 100644
--- a/DuetPkg/BootSector/bootsect.S
+++ b/DuetPkg/BootSector/bootsect.S
@@ -30,7 +30,9 @@
.equ LOADER_FILENAME_PART2, 0x020205244 # "DR__"
.equ LOADER_FILENAME_PART3, 0x020202020 # "____"
- .org 0x0
+ .org 0x0
+.global _start
+_start:
Ia32Jump:
jmp BootSectorEntryPoint # JMP inst - 3 bytes
nop