Commit Graph

9 Commits

Author SHA1 Message Date
rsun3 e7c4ef5ed4 DuetPkg BootSector: fix bugs in .S files so that 32-bit and 64-bit DUET can boot to Shell with boot sector binaries built by GCC.
There is also a bug in bs32.asm/bs32.S that the space between the code and the 0xAA55 ending signature is not enough to hold the 2 debug strings. It is fixed by shortening the strings.

Signed-off-by: rsun3
Reviewed-by: niruiyu


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12930 6f19259b-4bc3-4df7-8a09-765794883524
2012-01-13 06:29:44 +00:00
rsun3 697ecfd313 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
2011-11-24 02:07:25 +00:00
rsun3 3a4b9eba07 DuetPkg BootSector:
Update start.asm(S)/start16.asm(S)/start32.asm(S)/efi32.asm(S) under DuetPkg\BootSector to follow the IA32 recommendations on switching to protected mode: Immediately following the MOV CR0 instruction, execute a far JMP or far CALL instruction. (This operation is typically a far jump or call to the next instruction in the instruction stream.)

Signed-off-by: rsun3
Reviewed-by: niruiyu


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12723 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-16 09:38:12 +00:00
hhtian b1f700a859 Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10438 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-28 12:39:50 +00:00
qhuang8 9811c39250 Use .p2align directive instead of ambiguous .align directive.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9164 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-20 09:15:11 +00:00
qhuang8 f3eb213152 Make end of line consistent for DuetPkg. There is no other update.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9149 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-20 06:44:42 +00:00
gikidy ae3d1e91ef 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
2009-06-01 03:25:36 +00:00
gikidy fd549a4db9 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
2009-02-26 03:39:15 +00:00
gikidy ccec4c3969 Port Intel .asm to GAS S
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7557 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 08:22:04 +00:00