Commit Graph

187 Commits

Author SHA1 Message Date
andrewfish a780c9424b Fix bad NT 32 reference in print to be UnixPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10920 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-12 22:04:07 +00:00
andrewfish d8904c4a94 Make the script pass arguments so clean from Xcode works properly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10919 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-12 15:47:11 +00:00
andrewfish 69cf40e09a Finish spliting SecDispatchTableLib into two functions so it can be a BaseLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10895 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-20 21:04:07 +00:00
andrewfish 249383cf15 Added SecDispatchTable library to allow custom PPIs to be passed up to into PEI Core. This will allow platform specific libraries to do thinks like map hardware devices directly into the emulator.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10882 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-16 20:23:33 +00:00
andrewfish 45059fab2a Clean up clean and clarify XCODE flags.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10881 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-16 18:39:06 +00:00
andrewfish bb111c2346 Added support for an EFI X64 ABI compatible UnixPkg. With an internal only compiler I've been able to run checked in X64 EFI shell binary! We are hoping to get the open source LLVM compiler working for this... Since the SEC has to be UNIX ABI to make the POSIX calls it is compiled using a different compiler and the rest of the UnixPkg is compiled with UNIXPKG tool. You just need to point UNIXPKG at your EFI X64 ABI compiler of choice, it should work like MYTOOLS. Some one may want to port this to Linux at some point. To build cd into UnixPkg and ./build64.sh
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10806 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-18 20:24:08 +00:00
andrewfish 3364f3ce82 Add LZMA decompression to DXE Core.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10792 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-12 18:32:36 +00:00
andrewfish 2ec364f9bf Fix reverse gasket issue that was breaking watch dog timer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10779 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-08 19:07:14 +00:00
andrewfish c0351cfeca Fix crash in UnixPkg caused by r10769. The DxeCore is not calling the library constructor, but is calling the library members that are coded to assume the constructor has run. Check to make sure constructor has run before using services. If Dxe Core starts calling library constructor then this code will just work, but it may cause an issue with the extra call to load symbols, since we catch the symbol load in DxeIpl.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10774 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-05 17:08:14 +00:00
qhuang8 c8e073513b Minor update code comment in last commitment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10722 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-30 08:09:44 +00:00
qhuang8 ab5255fc7c Update UnixUgaScreen module to adapt to the change in Unix UGA protocol interface.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10721 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-30 08:06:09 +00:00
qhuang8 526cafb5fe Add -m32 option for IA32 ASM flag to ensure it is treated as 32-bit for GCC assembler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10718 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-30 06:48:48 +00:00
andrewfish a4902cccdf Complete coding to support X64 EFI ABI in UnixPkg. Code is not currently hooked in or tested, but it is code complete. Only missing step from testing is figuring out how to build with two different ABIs for the same platform. Sec needs a different ABI. May need to add a 2nd build step.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10710 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-29 03:24:13 +00:00
qhuang8 082be7a58a Change the GUID value of UnixBaseLib to avoid Guid value collision with BaseLib.inf in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10694 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-26 08:58:14 +00:00
andrewfish 07a90790ba Started working on EFI ABI to UNIX ABI assembly gasket
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10690 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-24 00:21:06 +00:00
andrewfish ede7ec0bcd Changed the X64 gasket so it would be possible to port it to deal with the Unix to EFI ABI mangling. It still just does Unix ABI, and has some Xcode specific stuff to make source level debug a little easier, but it is a good first step.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10689 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-23 22:20:00 +00:00
andrewfish 185969ed53 Add an option to build the GccShell. './build.sh shell' or './build64.sh' will buid the shell.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10688 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-23 22:18:07 +00:00
andrewfish b9c8e50e20 Port UnixPkg to also support X64. Currently only supports Unix x86_64 ABI. In the future we can make Sec support x86_64 ABI and the rest of the code support X64 EFI ABI. This will require assembly gaskets to fix the calling convention differences. I currently have noop gaskets in place for x86_64 ABI. This has only been tested on OS X 10.6.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10685 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-22 21:21:38 +00:00
andrewfish 5fc3b5d6c8 Added to support X64 port (with SV5 ABI). May be able to remove after we port everything, but Sec, to EFI X64 ABI.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10683 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-22 19:22:34 +00:00
andrewfish d39c2afe2e Fix #pragma pack(4) issue with an #ifdef. The #pragma () is in the wrong place.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10679 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-20 20:29:20 +00:00
andrewfish d34689b44a Some more 64-bit fixes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10653 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-15 03:29:53 +00:00
andrewfish d5cdd257e4 Fix xcode project to point to the correct X64 paths. Also update print out to not point to tianocore.org...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10652 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-14 23:58:03 +00:00
andrewfish 307d6c4b6a Add an Xcode project to build 64-bit UnixPkg. Currently crashes in PeiCore().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10651 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-14 23:22:43 +00:00
andrewfish 47d475f917 Fix 64-bit compile bug
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10650 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-14 22:51:06 +00:00
andrewfish 67f86803ce Started trying to get the UnixPkg to compile for X64 with UnixABI. So far only have Sec compiling with Xcode. This is the first step in trying to get the EFIABI to work. Note since SEC is a Posix application it will still need to be Unix ABI.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10649 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-14 21:04:21 +00:00
lgao4 97ada49f31 Clean up package/platform DSC files by the following steps:
1. Remove PCDs those use the default values/types from the DEC file.
  2. Remove the unused library instances.
  3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10535 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-21 02:49:52 +00:00
hhtian f9b8ab5632 Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10437 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-28 12:31:45 +00:00
andrewfish 80494d3530 Remove DataHub PCD references.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10397 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-22 16:30:31 +00:00
lgao4 deb8df5077 Remove Framework DataHubDxe and DataHubStdErrDxe drivers from EDKII native PI/UEFI Unix platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10395 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-22 02:49:54 +00:00
niruiyu 526bf28c94 UnixSerialIo driver was changed to produce the flow control device path node when the remaining device path contains such node. And it will return unsupported when receiving a remaining device path only contains UART node and it’s already produced the flow control node.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10353 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-09 08:39:53 +00:00
xdu2 1b14ec40bb Add VlanConfigDxe to platform DSC/FDF.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10170 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-03 10:47:27 +00:00
xli24 c029854f20 Remove over-specified dependencies on IntelFrameworkPkg and IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10162 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-03 03:40:55 +00:00
klu2 badc18061d Cleanup unused items produced by EmbeddedPkg in UnixPkg.dsc
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10155 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-02 07:59:38 +00:00
klu2 171aae88f4 Cleanup unused library class in UnixPkg.dsc
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10154 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-02 07:56:37 +00:00
lgao4 2014a81a99 Add the missing OUTPUT directory for the EFI and depex file in Rule section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10135 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 06:47:58 +00:00
lgao4 a0b1646f55 Clean up Rules of Platform FDFs to apply only one EFI image and Depex for each driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10127 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 01:39:30 +00:00
vanjeff fa2198b4c9 add debug agent null instance in DSC file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10103 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26 05:52:57 +00:00
jljusten b05ad4a765 Cleanup: Remove PcdDxePcdDatabaseTraverseEnabled
gEfiEdkModulePkgTokenSpaceGuid.PcdDxePcdDatabaseTraverseEnabled does not
exist.  Remove references to it in .dsc files and within the comments of
the DXE PCD driver.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10092 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25 21:53:22 +00:00
klu2 ef76813117 Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10076 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25 16:39:38 +00:00
lgao4 7b202cb0f9 1. Correct File header to ## @file
2. Remove unnecessary .common] postfix on section.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10051 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-23 23:58:38 +00:00
mdkinney 1039a25744 Add Memory Allocation Library instance for modules of type DXE_SMM_DRIVER
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10003 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-14 06:17:51 +00:00
andrewfish f1569a9323 Only ment to add support to build and launch Ebl shell, not switch over to it. Undo the switch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9973 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-10 21:16:02 +00:00
andrewfish 0534bb8fd6 Remove dead command and clean up some coding style stuff.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9972 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-10 20:04:08 +00:00
qhuang8 7e35214b7f Fix the build warning of potential uninitialized variable of "SizeOfHeaders".
Update the file to use \r\n as end of line
 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9900 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-01 13:00:03 +00:00
mdkinney cdccd99e24 Remove unnecessary use of FixedPcdxxx() functions and [FixedPcd] INF sections. These should only be used for PCDs that are used to pre-init global variables, pre-init global structures, or size arrays.
Do some minor clean ups to INF files
 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9866 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-29 23:33:08 +00:00
andrewfish 3b66da9498 Add in commented out hooks for Shell and FatPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9829 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-27 02:05:52 +00:00
andrewfish 2a8ecdd0e1 Fix issue where the script assumed tools are in Bin, but they are still in BinWrappers with binaries in bin dir for all architectures. Make both schemes work.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9828 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-27 00:49:19 +00:00
AJFISH 1096a48f72 Update scripts to point to edk2 BaseTools now fixes have been checked in
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9766 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-15 00:27:47 +00:00
AJFISH 225290eba7 Added new PeCoffGetEntryPoint lib function to get size of PE/COFF header. This is needed for debug prints with PE/COFF images that started as ELF or Mach-O. Moved and debugged ARM semihosting lib for RVD that prints out the debugger symbol load commands in a window on the debugger. Trying to write a script file, but that crashes RVD. Added debug print to BeagleBoard Sec that prints out RVD debugger command to load symbols for the Sec. Synced the rest of the code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9763 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 23:39:29 +00:00
xli24 d41b753522 Refer to OEM status code hook library instances in MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9642 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-29 09:39:01 +00:00