summaryrefslogtreecommitdiff
path: root/DuetPkg/BootSector
AgeCommit message (Collapse)AuthorFilesLines
2012-01-18DuetPkg BootSector: fix a bug in st32_64.S that the size for GDTR.limit is ↵rsun31-1/+1
wrong. Signed-off-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12934 6f19259b-4bc3-4df7-8a09-765794883524
2012-01-13DuetPkg BootSector: fix bugs in .S files so that 32-bit and 64-bit DUET can ↵rsun36-57/+58
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-10DuetPkg BootSector: Clean up .S files for 64-bit Duet for GCC build.rsun35-46/+62
Partly contributed by Sergey Isakov [isakov-sl@bk.ru]. Signed-off-by: rsun3 Reviewed-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12921 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-24DuetPkg BootSector: Add missing .code16 directive into ↵rsun34-5/+7
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-16DuetPkg BootSector:rsun314-44/+33
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
2010-04-28Update the copyright notice formathhtian30-57/+57
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10438 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-06Update the modules with the different module GUID to avoid the different ↵lgao41-1/+1
modules with the same module GUID. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10342 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-101, Remove comma after yearklu23-3/+3
2, Use full stop instead of comma after "Intel Corporation" 3, Remove blank char between "." and "<BR>" git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10222 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-10Cleanup license header klu21-0/+13
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10219 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-10Add license header for Duet's makefile.klu22-1/+28
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10218 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.klu21-2/+13
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10078 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-21Remove .rept directive to improve portability. qhuang82-4/+1194
we might have to replace them with copies. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9171 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-21Detab in DuetPkgqhuang88-515/+515
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9170 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-20Use .p2align directive instead of ambiguous .align directive.qhuang88-32/+32
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9164 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-20Make end of line consistent for DuetPkg. There is no other update.qhuang89-4350/+4350
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9149 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-22This patch includes:klu216-0/+8
1) Use the binaries of boot sector directly instead of building it. Because the code of boot sector will be modified rarely and it is native code. 2) Correct the shell binary file path which is changed by recently. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8620 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-01Replaced ASM_GLOBAL with .global, and add start label for some files to ↵gikidy8-12/+25
avoid link warnings. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8416 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-201. Remove .extern from GCC assembly.xli244-10/+10
2. Define macro for .global/.globl in GCC assembly. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8344 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-09Add comments for introducing startup sequence for DUET boot disk.klu21-3/+15
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8043 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-09Add comments for introducing startup sequence for DUET boot disk.klu21-3/+16
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8042 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-16File st32_64.S added for X64.gikidy1-0/+1154
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7889 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-16File st16_64.S added for X64.gikidy1-0/+1139
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7888 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-16Added efi64.S file for X64 and reviewed efi32.S file.gikidy2-4/+790
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7887 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-161. Add start64.S file for X64.gikidy2-7/+1153
2. start.S file reviewed. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7884 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-15Remove exit from batch fileklu21-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7879 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-13cleanScreen verified.gikidy1-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7874 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-13Fix cleanScreen issue.gikidy1-3/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7873 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-121. Fix some convert issue.gikidy1-7/+7
2. org address changed. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7864 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05Fix issue for boot sectorklu22-5/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7819 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05Should use 16 bit code.klu21-4/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7818 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05Should use 16 bit code.klu21-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7817 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05Refine comments.klu21-11/+11
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7816 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05Remove 'BASETOOLS_DIR' variable. We assume basetools are in the PATHjljusten1-29/+26
during a build. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7802 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-03Linux split replaced by BaseTools Split.gikidy1-8/+5
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7776 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02Add post build script for linuxklu21-47/+47
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7768 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-271. Use /Map to generate map files;gikidy1-84/+107
2. Add code to process bin files split. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7726 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26Should use code16 for 16-bit assembler, otherwise 32-bit prefix will be addedklu25-30/+41
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7721 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26boot sector use 16-bit code.klu23-3/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7720 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26in 16-bit code, cs:[] require prefix because sengment size is set 32 bits. ↵klu23-14/+14
so use $ to reference string tag directly. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7719 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26Add GNUmakefile for Linux GCC to build BootSector;gikidy1-0/+93
Now the makefile only for pass build and source control. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7700 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-261. Add GNUmakefile for Linux GCC to build BootSector;gikidy9-49/+57
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-20Port Intel .asm to GAS Sgikidy3-4/+1517
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7557 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20New .S files addedjji41-18/+33
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7554 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20syntax checkedjji43-3/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7553 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20Port Intel .asm to GNU .Sjji41-0/+913
These .S files now are not for compiler but for us to control the version. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7551 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20Port Intel .asm to GNU .Sgikidy4-0/+1752
These .S files now is not for compiler but for us to control the version. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7549 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20Port Intel .asm to GNU .Sjji43-0/+609
These .S files now is not for compiler but for us to control the version. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7548 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-07Usb ASM but *not* ASM16, the tool chain of ASM is same as ASM16 in ↵klu21-13/+13
tool_def.txt, ASM16 should also be removed from tool_def.txt git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7198 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06Add dummy GnuMakefile to pass UNIXGCC building for boot sector module. In ↵klu22-2/+4
future, boot sector should be ported to Unix environment. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7195 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06Use ASMLINK macro but *not* ASMLINK16klu21-13/+13
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7189 6f19259b-4bc3-4df7-8a09-765794883524