summaryrefslogtreecommitdiffstats
path: root/UnixPkg
Commit message (Collapse)AuthorAgeFilesLines
* Order sections as [Defines], [Includes], [LibraryClasses], [Guids], [Ppis], ↵lzeng142011-05-201-11/+11
| | | | | | | | | [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
* Return scan code for Pause key.vanjeff2011-05-161-1/+2
| | | | | | | 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
* Remove duplicate PCD declarationmdkinney2011-05-101-1/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11639 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up DEC files:mdkinney2011-05-091-22/+5
| | | | | | | | | | | | 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
* Fix DEC files so any PCD declared as Dynamic is also declared as DynamicExmdkinney2011-05-051-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11624 6f19259b-4bc3-4df7-8a09-765794883524
* 1. solve build time issue that FV size is exceed due to more modules is ↵erictian2011-03-312-10/+10
| | | | | | | | 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
* Fix gBS->Stall bug. The current code would only stall for a single timer ↵andrewfish2011-03-221-3/+22
| | | | | | 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
* Changed TEMPORARY_RAM_SUPPORT_PPI to EFI_PEI_TEMPORARY_RAM_SUPPORT_PPI.vanjeff2011-03-141-3/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11385 6f19259b-4bc3-4df7-8a09-765794883524
* Update DebugLib to provide support for "err" command in the EFI Shell to ↵mdkinney2011-03-102-2/+4
| | | | | | | | | | | | | 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
* Fix up the UnixPkg to work with clang on OS X. XCLANG toolchain ↵andrewfish2011-03-085-4/+10
| | | | | | 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
* UnixPkg: Fix build for Linuxjljusten2011-03-058-12/+20
| | | | | | | | | | | | | | 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
* UnixPkg: Use build flag to prevent FatPkg from being requiredjljusten2011-03-053-2/+9
| | | | | | | | 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
* Fix issue with fixing tabs.andrewfish2011-02-0222-1401/+1401
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11297 6f19259b-4bc3-4df7-8a09-765794883524
* update copyright formathhtian2010-12-1013-15/+15
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11154 6f19259b-4bc3-4df7-8a09-765794883524
* DuetPkg, OvmfPkg, UnixPkg: Remove unnecessary reset during bootjljusten2010-12-062-0/+2
| | | | | | | | | 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
* Remove unused files to make it easier to add new thunks.andrewfish2010-12-012-574/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11108 6f19259b-4bc3-4df7-8a09-765794883524
* Fix token dup caused by merge.andrewfish2010-12-011-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11107 6f19259b-4bc3-4df7-8a09-765794883524
* 2nd wave of r11105 checkin.2nd wave of r11105 checkin.andrewfish2010-12-016-179/+190
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11106 6f19259b-4bc3-4df7-8a09-765794883524
* Adding Simple Pointer, GOP, SimpleTextInEx, and Networking protocols to the ↵andrewfish2010-11-3044-9575/+6568
| | | | | | 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
* Sync update to improve compiler compatibilitymdkinney2010-11-291-3/+10
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11104 6f19259b-4bc3-4df7-8a09-765794883524
* Fix the issue that the high 16-bit of EAX may contain invalid data, which ↵li-elvin2010-11-122-4/+4
| | | | | | 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
* Update to support Xcode 64-bit debug.andrewfish2010-10-152-2/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10944 6f19259b-4bc3-4df7-8a09-765794883524
* UnixPkg: Allow build.sh/build64.sh to be run from the edk2 rootjljusten2010-10-132-14/+27
| | | | | | | | | | | | | | 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
* UnixPkg MiscSubClassPlatformDxe: Add en-US langdef to *.unijljusten2010-10-1310-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10933 6f19259b-4bc3-4df7-8a09-765794883524
* UnixPkg build64.sh: Build UnixPkg X64 with GCC44jljusten2010-10-131-12/+12
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10926 6f19259b-4bc3-4df7-8a09-765794883524
* UnixPkg SEC: Fix link flags for using GCC on Linux x86-64jljusten2010-10-131-7/+7
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10925 6f19259b-4bc3-4df7-8a09-765794883524
* UnixPkg: Enable gasket functions for all X64 toolchainsjljusten2010-10-133-411/+419
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10924 6f19259b-4bc3-4df7-8a09-765794883524
* UnixPkg: Added missing EFIAPI for many Gasket functionsjljusten2010-10-135-230/+593
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10923 6f19259b-4bc3-4df7-8a09-765794883524
* Fix bad NT 32 reference in print to be UnixPkg.andrewfish2010-10-121-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10920 6f19259b-4bc3-4df7-8a09-765794883524
* Make the script pass arguments so clean from Xcode works properly.andrewfish2010-10-121-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10919 6f19259b-4bc3-4df7-8a09-765794883524
* Finish spliting SecDispatchTableLib into two functions so it can be a BaseLibandrewfish2010-09-206-24/+78
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10895 6f19259b-4bc3-4df7-8a09-765794883524
* Added SecDispatchTable library to allow custom PPIs to be passed up to into ↵andrewfish2010-09-168-1/+129
| | | | | | 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
* Clean up clean and clarify XCODE flags.andrewfish2010-09-163-3/+13
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10881 6f19259b-4bc3-4df7-8a09-765794883524
* Added support for an EFI X64 ABI compatible UnixPkg. With an internal only ↵andrewfish2010-08-1818-200/+316
| | | | | | 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
* Add LZMA decompression to DXE Core.andrewfish2010-08-122-1/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10792 6f19259b-4bc3-4df7-8a09-765794883524
* Fix reverse gasket issue that was breaking watch dog timer.andrewfish2010-08-087-14/+25
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10779 6f19259b-4bc3-4df7-8a09-765794883524
* Fix crash in UnixPkg caused by r10769. The DxeCore is not calling the ↵andrewfish2010-08-051-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
* Minor update code comment in last commitment.qhuang82010-07-301-1/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10722 6f19259b-4bc3-4df7-8a09-765794883524
* Update UnixUgaScreen module to adapt to the change in Unix UGA protocol ↵qhuang82010-07-301-6/+15
| | | | | | interface. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10721 6f19259b-4bc3-4df7-8a09-765794883524
* Add -m32 option for IA32 ASM flag to ensure it is treated as 32-bit for GCC ↵qhuang82010-07-301-1/+1
| | | | | | assembler. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10718 6f19259b-4bc3-4df7-8a09-765794883524
* Complete coding to support X64 EFI ABI in UnixPkg. Code is not currently ↵andrewfish2010-07-2910-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
* Change the GUID value of UnixBaseLib to avoid Guid value collision with ↵qhuang82010-07-261-1/+1
| | | | | | BaseLib.inf in MdePkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10694 6f19259b-4bc3-4df7-8a09-765794883524
* Started working on EFI ABI to UNIX ABI assembly gasketandrewfish2010-07-241-0/+8047
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10690 6f19259b-4bc3-4df7-8a09-765794883524
* Changed the X64 gasket so it would be possible to port it to deal with the ↵andrewfish2010-07-237-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
* Add an option to build the GccShell. './build.sh shell' or './build64.sh' ↵andrewfish2010-07-232-4/+11
| | | | | | will buid the shell. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10688 6f19259b-4bc3-4df7-8a09-765794883524
* Port UnixPkg to also support X64. Currently only supports Unix x86_64 ABI. ↵andrewfish2010-07-2222-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
* Added to support X64 port (with SV5 ABI). May be able to remove after we ↵andrewfish2010-07-22148-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
* Fix #pragma pack(4) issue with an #ifdef. The #pragma () is in the wrong place.andrewfish2010-07-201-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10679 6f19259b-4bc3-4df7-8a09-765794883524
* Some more 64-bit fixes.andrewfish2010-07-151-4/+12
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10653 6f19259b-4bc3-4df7-8a09-765794883524
* Fix xcode project to point to the correct X64 paths. Also update print out ↵andrewfish2010-07-143-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