summaryrefslogtreecommitdiff
path: root/UnixPkg/Library
AgeCommit message (Collapse)Author
2011-09-05Update UnixPkg to use IA32_SEGMENT_DESCRIPTOR defined in BaseLib.hli-elvin
Signed-off-by: li-elvin Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12279 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-02Fix issue with fixing tabs.andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11297 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-012nd wave of r11105 checkin.2nd wave of r11105 checkin.andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11106 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-30Adding Simple Pointer, GOP, SimpleTextInEx, and Networking protocols to the ↵andrewfish
emulator. Cleaned up POSIX include situation by centralizing it in a single file, like NT32. Fixed TPL issue with TPL High not being emulated correctly, it was possible to take a timer tick when the locks in the DXE core should have prevented this. Remove some unused files to make things easier to maintain. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11105 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-12Fix the issue that the high 16-bit of EAX may contain invalid data, which ↵li-elvin
cause bad stack pointer, the change will ensure the high 16-bit of EAX is cleared. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11048 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-13UnixPkg: Added missing EFIAPI for many Gasket functionsjljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10923 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-20Finish spliting SecDispatchTableLib into two functions so it can be a BaseLibandrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10895 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-16Added SecDispatchTable library to allow custom PPIs to be passed up to into ↵andrewfish
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-08-18Added support for an EFI X64 ABI compatible UnixPkg. With an internal only ↵andrewfish
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-05Fix crash in UnixPkg caused by r10769. The DxeCore is not calling the ↵andrewfish
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-26Change the GUID value of UnixBaseLib to avoid Guid value collision with ↵qhuang8
BaseLib.inf in MdePkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10694 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-22Added to support X64 port (with SV5 ABI). May be able to remove after we ↵andrewfish
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-04-28Update the copyright notice formathhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10437 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-03Remove over-specified dependencies on IntelFrameworkPkg and ↵xli24
IntelFrameworkModulePkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10162 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.klu2
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 ## @filelgao4
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-01Fix the build warning of potential uninitialized variable of "SizeOfHeaders". qhuang8
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-14Added new PeCoffGetEntryPoint lib function to get size of PE/COFF header. ↵AJFISH
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-25Remove status code modules' dependency on IntelFrameworkModulePkg.xli24
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_tian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9595 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-06Added support for Xcode on Snow Leopard. Upaded with bug fixes for Snow Leopard.AJFISH
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9519 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-25Integrate patch from Andrew Fish to make it run on OS X.qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9194 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13ProcessCapsule() and BdsMemoryTest() are implemented in the BdsDxe module, ↵eric_tian
which will be invoked at PlatformBds library. It is not proper for a library implementation to assume the names of function in a parent module. Instead, they must be designed as the pointers to these two BdsDxe functions and passed in. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8932 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13Fix build broken, DxeUnixPeCoffExtracActionLib should not dependent on ↵klu2
PeiServiceLib git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8917 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-11Remove extra #includes where possible to make build more efficientmdkinney
If module really is a Framework module and not a PI module, then use FrameworkDxe.h instead of PeDxe.h and FrameworkPei.h instead of PiPei.h git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8902 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10Move LockKeyboards API from GenericBdsLib to PlatformBdsLiblgao4
And change PlatformBdsLockNonUpdatableFlash in PlatformBdsLib return type to VOID. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8855 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10Remove code that fills in the FirmwareVendor and FirmwareRevision in the EFI ↵mdkinney
System Table and depend on BdsDxe in the IntelFrameworkModulePkg to do this instead. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8852 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-09Retire Logo and Shell guid header file, which are replaced by ↵lgao4
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile and gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8829 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-07Remove EFI_BDS_ARCH_PROTOCOL_INSTANCE from PlatformBdsLib.h and BdsDxe modulemdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8495 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-07Retire <FrameworkModuleBase.h>, <FrameworkModuleDxe.h>, and ↵mdkinney
<FrameworkModulePei.h> They only provided a single #define that is associated with DEBUG() messages sent through ReportStatusCode. That one #define has now been added to <Guid/StatusCodeDataTypeDebug.h> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8490 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-03changed %s to %a to print correct ascii string.vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8453 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-01Increase source portability by replace the use of ↵mdkinney
EFI_STATUS_CODE_DATA_MAX_SIZE with sizeof(Buffer) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8437 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-011) Move gEfiStatusCodeDataTypeDebugGuid from the IntelFrameworkPkg to the ↵mdkinney
IntelFrameworkModulePkg. This GUID is not defined in the Framework Specifications, so it is part of the implementation. This GUID is used to pass DEBUG() information to the Status Code Protocol and PPI. This GUID is now defined in IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h. The GUID definition was also moved from the DEC file in the IntelFrameworkPkg to the IntelFrameworkModulePkg. 2) Move data structure use to pass DEBUG() info to Status Code Protocol and Status Code PPI from IntelFrameworkModulePkg.Include/DebugInfo.h into the new GUID file IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h 3) Delete IntelFrameworkModulePkg/Include/DebugInfo.h because all the content is now in IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h Module Impacts ============== 1) Modules that currently use #include <DebugInfo.h> must be updated to #include <Guid/StatusCodeDataTypeDebug.h>. 2) Modules that currently use #include <Guid/StatusCodeDataTypeId.h> and don't #include <DebugInfo.h> will have to add #include <Guid/StatusCodeDataTypeDebug.h>. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8434 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-01Remove unnecessary use of gEfiStatusCodeSpecificDataGuid and sync algorithm ↵mdkinney
with NT32 OEM Hook Status Code Lib git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8430 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-30This checkin addresses the compatibility issue of passing arguments of type ↵mdkinney
VA_LIST between components. The type VA_LIST is mapped onto the compiler specific implementation of varargs. As a result, modules build with different compilers may not use the same VA_LIST structure. The solution to this issue is to define a new type called BASE_LIST that is a compiler independent method of passing varargs between modules. 1) Update status code listeners to use the BASE_LIST based APIs in the PrintLib instead of the VA_LIST based APIs, since ReportStatusCodeExtractDebugInfo() was updated to return a parameter of type BASE_LIST. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8409 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-09Sync with PE/COFF Extra Action library class comments and add ASSERT() ↵mdkinney
conditions if ImageContext is NULL. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8274 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-081. Assign BDS timeout PCD value.vanjeff
2. Sync SetupVariableInit in Unix Platform. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8265 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05Add empty lineqhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7815 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05Remove PeiPeCoffLoader.h and gPeiPeCoffLoaderGuid, and Add ↵qhuang8
PeCoffExtraActionLib class and instances. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7812 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02remove Bmp.h and ShellFile.h From MdeModulePkg to IntelFrameworkPkgqhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7759 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-261, Change name of PcdPlatformBootTimeoutDefault to PcdPlatformBootTimeout, ↵klu2
now this PCD is *not* only hold default value of Bds timeout, but it is associated with a HII type PCD to hold persistent value for BDS timeout. Platform integrator will establish this mapping in platform DSC file. 2, Move PcdPlatformBootTimeout to IntelFrameworkModulePkg. 3, Remove BdsLibGetTimeout() interface from GenericBdsLib, because the PCD PcdPlatformBootTimeout will take care of persistent for time out value. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7710 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24Move library class GenericBdsLib and PlatformBdsLib to IntelFrameworkModulePkgklu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7659 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23Fix typo in include file nameqhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7588 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23Update Unix platform to use dynamic HII pcd to save console output mode.qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7580 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-05Fix lib to use standard #defines for PE/COFF machine typesmdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7443 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-14Add type cast to pass build qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7276 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-14Apply PeiServicesLibqhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7275 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-14Add type caseqhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7272 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03Clean up to fix build break.qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6815 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03Fix constructor prototype.qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6809 6f19259b-4bc3-4df7-8a09-765794883524