summaryrefslogtreecommitdiff
path: root/UnixPkg
AgeCommit message (Collapse)Author
2011-06-28Clean up invalid keywords and missing keywords in [Define] section of ↵lzeng14
INF/DEC files. Signed-off-by: lzeng14 Reviewed-by: lhauch Reviewed-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11906 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-20Order sections as [Defines], [Includes], [LibraryClasses], [Guids], [Ppis], ↵lzeng14
[Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic] and [PcdsDynamicEx]. Signed-off-by: lzeng14 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11685 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-16Return scan code for Pause key.vanjeff
Signed-off-by: vanjeff Reviewed-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11659 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-10Remove duplicate PCD declarationmdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11639 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-09Clean up DEC files:mdkinney
1) Remove section header comment blocks that do not provide any information 2) Combine PCDs listed in multiple sections into a single section that supports multiple PCD types to reduce maintenance overhead 3) Remove ModuleTypeList comments from [Includes], [Protocols], [Ppis], and [Guids] sections that do not properly describe the module type restrictions. 4) Clean up formatting of GUID structure declarations 5) Remove ".common" from section names if they are not required. 6) Order sections consistently as [Defines], [Includes], [LibraryClasses], [Guid], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic], and [PcdsDynamicEx] git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11638 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-05Fix DEC files so any PCD declared as Dynamic is also declared as DynamicExmdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11624 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-311. solve build time issue that FV size is exceed due to more modules is ↵erictian
included. 2. solve invalid instruction issue when running SecMain executive. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11463 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-22Fix gBS->Stall bug. The current code would only stall for a single timer ↵andrewfish
tick. Fixing this issue exposed another issue with time slip in the stall that was also fixed. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11414 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-14Changed TEMPORARY_RAM_SUPPORT_PPI to EFI_PEI_TEMPORARY_RAM_SUPPORT_PPI.vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11385 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-10Update DebugLib to provide support for "err" command in the EFI Shell to ↵mdkinney
adjust the filter mask for DEBUG() messages. The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol. In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask. 1) Add default mappings for the DebugPrintErrorLevelLib to the DSC file for this package. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11379 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-08Fix up the UnixPkg to work with clang on OS X. XCLANG toolchain ↵andrewfish
configuration has already been checked into BaseTools project. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11350 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-05UnixPkg: Fix build for Linuxjljusten
UnixPkg/UnixSnpDxe is currently BSD/OS X specific. Therefore we only build it if "-D NETWORK_SUPPORT" is used on the build command line. UnixPkg/build.sh and UnixPkg/build64.sh are updated to automatically define NETWORK_SUPPORT if building on OS X. <net/if_dl.h> and <net/bpf.h> are also only included in UnixPkg/Include/Common/UnixInclude.h if __APPLE__ is defined. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11346 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-05UnixPkg: Use build flag to prevent FatPkg from being requiredjljusten
In the default case we use FatBinPkg from the edk2 tree. "-D COMPILE_BINS" can be used on the command line if FatPkg is present and needs to be built. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11345 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-10update copyright formathhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11154 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-06DuetPkg, OvmfPkg, UnixPkg: Remove unnecessary reset during bootjljusten
PcdResetOnMemoryTypeInformationChange is required to be set to TRUE for ACPI S4 support. These platforms do not support ACPI S4. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11120 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-01Remove unused files to make it easier to add new thunks.andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11108 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-01Fix token dup caused by merge.andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11107 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-29Sync update to improve compiler compatibilitymdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11104 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-15Update to support Xcode 64-bit debug.andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10944 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-13UnixPkg: Allow build.sh/build64.sh to be run from the edk2 rootjljusten
You can now use this sequence to build UnixPkg: $ cd /path/to/edk2 $ UnixPkg/build.sh or $ UnixPkg/build64.sh The old method is still valid: $ cd /path/to/edk2/UnixPkg $ ./build.sh git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10934 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-13UnixPkg MiscSubClassPlatformDxe: Add en-US langdef to *.unijljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10933 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-13UnixPkg build64.sh: Build UnixPkg X64 with GCC44jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10926 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-13UnixPkg SEC: Fix link flags for using GCC on Linux x86-64jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10925 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-13UnixPkg: Enable gasket functions for all X64 toolchainsjljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10924 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-10-12Fix bad NT 32 reference in print to be UnixPkg.andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10920 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-12Make the script pass arguments so clean from Xcode works properly.andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10919 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-09-16Clean up clean and clarify XCODE flags.andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10881 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-12Add LZMA decompression to DXE Core.andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10792 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-08Fix reverse gasket issue that was breaking watch dog timer.andrewfish
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 ↵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-30Minor update code comment in last commitment.qhuang8
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 ↵qhuang8
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 ↵qhuang8
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 ↵andrewfish
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 ↵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-24Started working on EFI ABI to UNIX ABI assembly gasketandrewfish
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 ↵andrewfish
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' ↵andrewfish
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. ↵andrewfish
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 ↵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-07-20Fix #pragma pack(4) issue with an #ifdef. The #pragma () is in the wrong place.andrewfish
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.andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10653 6f19259b-4bc3-4df7-8a09-765794883524