summaryrefslogtreecommitdiffstats
path: root/DuetPkg/BootSector
Commit message (Collapse)AuthorAgeFilesLines
* Fix CRLF formatTian, Hot2014-01-225-130/+130
| | | | | | Signed-off-by: Tian, Hot <hot.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15153 6f19259b-4bc3-4df7-8a09-765794883524
* DuetPkg BootSector: fix a bug in st32_64.S that the size for GDTR.limit is ↵rsun32012-01-181-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
* DuetPkg BootSector: fix bugs in .S files so that 32-bit and 64-bit DUET can ↵rsun32012-01-136-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
* DuetPkg BootSector: Clean up .S files for 64-bit Duet for GCC build.rsun32012-01-105-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
* DuetPkg BootSector: Add missing .code16 directive into ↵rsun32011-11-244-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
* DuetPkg BootSector:rsun32011-11-1614-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
* Update the copyright notice formathhtian2010-04-2830-57/+57
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10438 6f19259b-4bc3-4df7-8a09-765794883524
* Update the modules with the different module GUID to avoid the different ↵lgao42010-04-061-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
* 1, Remove comma after yearklu22010-03-103-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
* Cleanup license header klu22010-03-101-0/+13
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10219 6f19259b-4bc3-4df7-8a09-765794883524
* Add license header for Duet's makefile.klu22010-03-102-1/+28
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10218 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.klu22010-02-251-2/+13
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10078 6f19259b-4bc3-4df7-8a09-765794883524
* Remove .rept directive to improve portability. qhuang82009-08-212-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
* Detab in DuetPkgqhuang82009-08-218-515/+515
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9170 6f19259b-4bc3-4df7-8a09-765794883524
* Use .p2align directive instead of ambiguous .align directive.qhuang82009-08-208-32/+32
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9164 6f19259b-4bc3-4df7-8a09-765794883524
* Make end of line consistent for DuetPkg. There is no other update.qhuang82009-08-209-4350/+4350
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9149 6f19259b-4bc3-4df7-8a09-765794883524
* This patch includes:klu22009-06-2216-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
* Replaced ASM_GLOBAL with .global, and add start label for some files to ↵gikidy2009-06-018-12/+25
| | | | | | avoid link warnings. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8416 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Remove .extern from GCC assembly.xli242009-05-204-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
* Add comments for introducing startup sequence for DUET boot disk.klu22009-04-091-3/+15
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8043 6f19259b-4bc3-4df7-8a09-765794883524
* Add comments for introducing startup sequence for DUET boot disk.klu22009-04-091-3/+16
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8042 6f19259b-4bc3-4df7-8a09-765794883524
* File st32_64.S added for X64.gikidy2009-03-161-0/+1154
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7889 6f19259b-4bc3-4df7-8a09-765794883524
* File st16_64.S added for X64.gikidy2009-03-161-0/+1139
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7888 6f19259b-4bc3-4df7-8a09-765794883524
* Added efi64.S file for X64 and reviewed efi32.S file.gikidy2009-03-162-4/+790
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7887 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Add start64.S file for X64.gikidy2009-03-162-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
* Remove exit from batch fileklu22009-03-151-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7879 6f19259b-4bc3-4df7-8a09-765794883524
* cleanScreen verified.gikidy2009-03-131-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7874 6f19259b-4bc3-4df7-8a09-765794883524
* Fix cleanScreen issue.gikidy2009-03-131-3/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7873 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Fix some convert issue.gikidy2009-03-121-7/+7
| | | | | | 2. org address changed. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7864 6f19259b-4bc3-4df7-8a09-765794883524
* Fix issue for boot sectorklu22009-03-052-5/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7819 6f19259b-4bc3-4df7-8a09-765794883524
* Should use 16 bit code.klu22009-03-051-4/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7818 6f19259b-4bc3-4df7-8a09-765794883524
* Should use 16 bit code.klu22009-03-051-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7817 6f19259b-4bc3-4df7-8a09-765794883524
* Refine comments.klu22009-03-051-11/+11
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7816 6f19259b-4bc3-4df7-8a09-765794883524
* Remove 'BASETOOLS_DIR' variable. We assume basetools are in the PATHjljusten2009-03-051-29/+26
| | | | | | | during a build. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7802 6f19259b-4bc3-4df7-8a09-765794883524
* Linux split replaced by BaseTools Split.gikidy2009-03-031-8/+5
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7776 6f19259b-4bc3-4df7-8a09-765794883524
* Add post build script for linuxklu22009-03-021-47/+47
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7768 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Use /Map to generate map files;gikidy2009-02-271-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
* Should use code16 for 16-bit assembler, otherwise 32-bit prefix will be addedklu22009-02-265-30/+41
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7721 6f19259b-4bc3-4df7-8a09-765794883524
* boot sector use 16-bit code.klu22009-02-263-3/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7720 6f19259b-4bc3-4df7-8a09-765794883524
* in 16-bit code, cs:[] require prefix because sengment size is set 32 bits. ↵klu22009-02-263-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
* Add GNUmakefile for Linux GCC to build BootSector;gikidy2009-02-261-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
* 1. Add GNUmakefile for Linux GCC to build BootSector;gikidy2009-02-269-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
* Port Intel .asm to GAS Sgikidy2009-02-203-4/+1517
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7557 6f19259b-4bc3-4df7-8a09-765794883524
* New .S files addedjji42009-02-201-18/+33
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7554 6f19259b-4bc3-4df7-8a09-765794883524
* syntax checkedjji42009-02-203-3/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7553 6f19259b-4bc3-4df7-8a09-765794883524
* Port Intel .asm to GNU .Sjji42009-02-201-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
* Port Intel .asm to GNU .Sgikidy2009-02-204-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
* Port Intel .asm to GNU .Sjji42009-02-203-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
* Usb ASM but *not* ASM16, the tool chain of ASM is same as ASM16 in ↵klu22009-01-071-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
* Add dummy GnuMakefile to pass UNIXGCC building for boot sector module. In ↵klu22009-01-062-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