Commit Graph

48 Commits

Author SHA1 Message Date
xli24 d5172f911d 1. Remove .extern from GCC assembly.
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-05-20 09:42:59 +00:00
klu2 8141eea5fa Add comments for introducing startup sequence for DUET boot disk.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8043 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-09 06:19:15 +00:00
klu2 c0e741ef23 Add comments for introducing startup sequence for DUET boot disk.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8042 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-09 06:16:52 +00:00
gikidy e343d4473d File st32_64.S added for X64.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7889 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-16 09:03:53 +00:00
gikidy 72f7d3c341 File st16_64.S added for X64.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7888 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-16 08:51:21 +00:00
gikidy 3bd0ef806e Added efi64.S file for X64 and reviewed efi32.S file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7887 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-16 07:56:33 +00:00
gikidy ded312f134 1. Add start64.S file for X64.
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-16 04:50:05 +00:00
klu2 49794755ba Remove exit from batch file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7879 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-15 11:49:12 +00:00
gikidy d0b0659fbe cleanScreen verified.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7874 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-13 03:32:55 +00:00
gikidy 7674c40a2d Fix cleanScreen issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7873 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-13 03:30:27 +00:00
gikidy f3fb74cdac 1. Fix some convert issue.
2. org address changed.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7864 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-12 02:54:02 +00:00
klu2 640a2e529e Fix issue for boot sector
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7819 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 15:22:54 +00:00
klu2 88e9055e52 Should use 16 bit code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7818 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 14:25:53 +00:00
klu2 a8abbe2bb5 Should use 16 bit code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7817 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 14:25:31 +00:00
klu2 4d382070b4 Refine comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7816 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 14:13:25 +00:00
jljusten c15c888908 Remove 'BASETOOLS_DIR' variable. We assume basetools are in the PATH
during a build.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7802 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 00:44:05 +00:00
gikidy c521660aa1 Linux split replaced by BaseTools Split.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7776 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-03 04:29:29 +00:00
klu2 5defbd8dba Add post build script for linux
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7768 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 09:28:44 +00:00
gikidy c42d374322 1. Use /Map to generate map files;
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-27 03:41:50 +00:00
klu2 20193e01ca Should use code16 for 16-bit assembler, otherwise 32-bit prefix will be added
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7721 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 14:41:56 +00:00
klu2 0375ec8d8f boot sector use 16-bit code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7720 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 12:54:41 +00:00
klu2 57b6de773d in 16-bit code, cs:[] require prefix because sengment size is set 32 bits. 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-26 12:52:17 +00:00
gikidy 43d4555b08 Add GNUmakefile for Linux GCC to build BootSector;
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-26 03:41:41 +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
jji4 166451c51c New .S files added
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7554 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 07:52:31 +00:00
jji4 9ffd16fb49 syntax checked
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7553 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 07:51:59 +00:00
jji4 9be1da069f Port Intel .asm to GNU .S
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-20 05:25:12 +00:00
gikidy 819958c65f Port Intel .asm to GNU .S
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-20 03:11:41 +00:00
jji4 32f9b796d3 Port Intel .asm to GNU .S
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-02-20 03:01:49 +00:00
klu2 f254e82106 Usb ASM but *not* ASM16, the tool chain of ASM is same as ASM16 in 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-07 02:15:35 +00:00
klu2 3d0134ba7b Add dummy GnuMakefile to pass UNIXGCC building for boot sector module. In 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-06 09:05:34 +00:00
klu2 a64a47bc22 Use ASMLINK macro but *not* ASMLINK16
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7189 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06 04:45:39 +00:00
klu2 d4344b17bc Fix build broken issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6077 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-06 04:41:45 +00:00
klu2 29cb3577a3 Add MSFT support
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6068 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-29 06:24:10 +00:00
eric_tian 8ac3278f08 Add condifition for passing ELFGCC building...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5640 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-14 02:03:01 +00:00
eric_tian a618ea6aea convert blank to tab
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5639 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-14 01:52:24 +00:00
eric_tian 1b233351f3 use tab but not blank to do not break GNU make parsing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5637 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-13 05:27:10 +00:00
eric_tian d8bee43ce4 Fix build issue in linux environment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5636 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-13 04:53:33 +00:00
klu2 c5dfb4770b Support X64 build for DUET platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5183 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-08 06:22:31 +00:00
klu2 394bbc5930 1) Fix some casting working in X64 building
2) Use SetMem/CopyMem function to do structure initialization to avoid X64 compiler call standard C library.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5180 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-08 04:11:25 +00:00
klu2 3da85e633e 1, Use PrintLib in Duet loader
2, Fix missing compress image in final disk image. I think the raw disk image had better be organized as our FD image format. I will discuss this after enabling DUET for R9.
3, Add more debug output in loader.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5128 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-25 09:30:24 +00:00
klu2 79f16ea384 Move post building command from make file to bat file. Until build system support post build, these command will be for Duet platform's post building commands.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5125 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-25 02:57:52 +00:00
klu2 c7ec71b4ed Fix the makefile issue for bootsector module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5118 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-24 04:38:12 +00:00
klu2 bc02104b4c Delete the macro definitions which build system will provided automatically.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5116 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-24 02:09:19 +00:00
klu2 b9a31177c8 init target should not be used in customize makefile. Fix it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5115 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-23 08:57:31 +00:00
klu2 d55eb54dab User customize build method for BootSector module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5089 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-18 03:38:53 +00:00
klu2 c69dd9dfad Porting Duet module from EDKI to EDKII
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5076 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-17 05:48:13 +00:00