summaryrefslogtreecommitdiff
path: root/UnixPkg
AgeCommit message (Collapse)AuthorFilesLines
2010-08-08Fix reverse gasket issue that was breaking watch dog timer.andrewfish7-14/+25
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10779 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-05Fix crash in UnixPkg caused by r10769. The DxeCore is not calling the ↵andrewfish1-2/+6
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-07-30Minor update code comment in last commitment.qhuang81-1/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10722 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-30Update UnixUgaScreen module to adapt to the change in Unix UGA protocol ↵qhuang81-6/+15
interface. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10721 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-30Add -m32 option for IA32 ASM flag to ensure it is treated as 32-bit for GCC ↵qhuang81-1/+1
assembler. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10718 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-29Complete coding to support X64 EFI ABI in UnixPkg. Code is not currently ↵andrewfish10-7967/+761
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-26Change the GUID value of UnixBaseLib to avoid Guid value collision with ↵qhuang81-1/+1
BaseLib.inf in MdePkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10694 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-24Started working on EFI ABI to UNIX ABI assembly gasketandrewfish1-0/+8047
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10690 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-23Changed the X64 gasket so it would be possible to port it to deal with the ↵andrewfish7-305/+8992
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-23Add an option to build the GccShell. './build.sh shell' or './build64.sh' ↵andrewfish2-4/+11
will buid the shell. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10688 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-22Port UnixPkg to also support X64. Currently only supports Unix x86_64 ABI. ↵andrewfish22-218/+1188
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-22Added to support X64 port (with SV5 ABI). May be able to remove after we ↵andrewfish148-0/+15774
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-20Fix #pragma pack(4) issue with an #ifdef. The #pragma () is in the wrong place.andrewfish1-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10679 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-15Some more 64-bit fixes.andrewfish1-4/+12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10653 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-14Fix xcode project to point to the correct X64 paths. Also update print out ↵andrewfish3-5/+5
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-14Add an Xcode project to build 64-bit UnixPkg. Currently crashes in PeiCore().andrewfish3-0/+322
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10651 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-14Fix 64-bit compile bugandrewfish1-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10650 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-14Started trying to get the UnixPkg to compile for X64 with UnixABI. So far ↵andrewfish8-1080/+788
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-05-21Clean up package/platform DSC files by the following steps:lgao42-229/+74
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-04-28Update the copyright notice formathhtian154-297/+309
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10437 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-22Remove DataHub PCD references.andrewfish1-2/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10397 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-22Remove Framework DataHubDxe and DataHubStdErrDxe drivers from EDKII native ↵lgao42-4/+0
PI/UEFI Unix platform. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10395 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-09UnixSerialIo driver was changed to produce the flow control device path node ↵niruiyu3-65/+235
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-03-03Add VlanConfigDxe to platform DSC/FDF.xdu22-0/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10170 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-03Remove over-specified dependencies on IntelFrameworkPkg and ↵xli2412-23/+5
IntelFrameworkModulePkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10162 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-02Cleanup unused items produced by EmbeddedPkg in UnixPkg.dscklu21-6/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10155 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-02Cleanup unused library class in UnixPkg.dscklu21-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10154 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01Add the missing OUTPUT directory for the EFI and depex file in Rule section.lgao41-15/+15
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10135 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01Clean up Rules of Platform FDFs to apply only one EFI image and Depex for ↵lgao41-15/+15
each driver. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10127 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26add debug agent null instance in DSC file.vanjeff1-9/+10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10103 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25Cleanup: Remove PcdDxePcdDatabaseTraverseEnabledjljusten1-1/+0
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-25Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.klu225-50/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10076 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-231. Correct File header to ## @filelgao431-128/+129
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-14Add Memory Allocation Library instance for modules of type DXE_SMM_DRIVERmdkinney1-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10003 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-10Only ment to add support to build and launch Ebl shell, not switch over to ↵andrewfish2-3/+3
it. Undo the switch. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9973 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-10Remove dead command and clean up some coding style stuff.andrewfish2-2/+12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9972 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-01Fix the build warning of potential uninitialized variable of "SizeOfHeaders". qhuang81-33/+35
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-01-29Remove unnecessary use of FixedPcdxxx() functions and [FixedPcd] INF ↵mdkinney4-40/+16
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-27Add in commented out hooks for Shell and FatPkg.andrewfish2-0/+5
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9829 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-27Fix issue where the script assumed tools are in Bin, but they are still in ↵andrewfish1-2/+7
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-15Update scripts to point to edk2 BaseTools now fixes have been checked inAJFISH1-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9766 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14Added new PeCoffGetEntryPoint lib function to get size of PE/COFF header. ↵AJFISH1-0/+48
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
2009-12-29Refer to OEM status code hook library instances in MdeModulePkg.xli241-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9642 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-29Refer to status code library instances in MdeModulePkg.xli241-9/+9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9638 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-25Remove status code modules' dependency on IntelFrameworkModulePkg.xli243-1/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9607 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-24clean-up the license to open source.eric_tian12-206/+124
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9595 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-18Fix a bug with the shell cp command. When searching for a / it was possible ↵AJFISH1-4/+6
to lose a directory level. I changed the code to add a missing / if needed and not search backwards for one. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9578 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-08Fix for the Linux Build. #ifdef __APPLE__ around the files only needed to ↵AJFISH2-0/+22
work around Mac OS X 16 byte IA-32 calling conventions issue. All the calls to this code is #ifdef __APPLE__, so no reason to build it on Linux or other gcc flavors. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9543 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-08Fix the UnixPkg default to have the tools come from a seperate BaseTools ↵ajfish2-7/+7
project. When the fixes are checked into edk2 we can move it back to pointing to tools in edk2. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9538 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-07Update UnixPkg emulation platform to produce dummy CPU I/O 2 Protocol.xli244-15/+13
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9532 6f19259b-4bc3-4df7-8a09-765794883524