summaryrefslogtreecommitdiff
path: root/InOsEmuPkg
AgeCommit message (Collapse)Author
2011-05-15InOsEmuPkg PcdEmuFileSystem: Match current setting in UnixPkgjljusten
The emulated filesystem support will crash if a non-existent path is specified. Signed-off-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11653 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-15InOsEmuPkg: Use EdkShellBinPkg by defaultjljusten
The following can be defined on the build command line: * BUILD_NEW_SHELL: Build & run the UefiShell * USE_NEW_SHELL: Use the pre-build UefiShell binary * BUILD_OLD_SHELL: Use the GCC shell binary previously built For the FAT driver: * BUILD_FAT: Build the fat driver from source Signed-off-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11652 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-15InOsEmuPkg/Sec: Update assembly code when calling EFIAPI functionsjljusten
For X64 the stack should be 16-byte aligned before calling a function, and a register spill area should be reserved. Signed-off-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11651 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-15InOsEmuPkg/Unix: Rebase firmware SEC imagejljusten
Apply PE/COFF relocation to SEC image within the firmware volume so it will be able to run at the address that it was loaded. Signed-off-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11650 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-15InOsEmuPkg: Match filename case of the generate FD filejljusten
On systems with a case sensetive filesystem, this change will allow the FD to be loaded. Signed-off-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11649 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-15InOsEmuPkg: Fix warnings with GCC44 toolchainjljusten
Signed-off-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11648 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-15InOsEmuPkg/Unix: Link to pthread libraryjljusten
Signed-off-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11647 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-14Added generic EFIABI SEC to InOsEmuPkg. Add library to abstract FV cracking ↵andrewfish
and remove code from original Sec/OS App. Add a PeiServicesLib wrapper for SEC that uses passed in PEI list and can abstract FV reading. Don't load images for XIP code and just run from FV directly on Mac OS X, or from dlopen on Linux. Moved temp ram switch code into generic SEC. Fixed design issue with PeiServiceTablePointerLib. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11646 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-13Add MP support. Based on PcdEmuApCount APs (Application Processors) are ↵andrewfish
created in the CpuRuntimeDxe driver. If PcdEmuApCount > 0 then the MpServices protocol is created on top of pthreads and the APs are availible to use vis the MpService protocol. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11644 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-11Fix bug where the config change to point to the executable ended up in one ↵andrewfish
of my local files that does not get checked in. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11642 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-11Add InOsEmuPkg. Like UnixPkg and Nt32Pkg, but EFI code can be common and ↵andrewfish
does not require including system include files. Currently only Unix 64-bit is supported and it has only been tested on Mac OS X. Not all features are ported over, but GOP, via X11, and access to local file systems are supported and you can boot to the shell. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11641 6f19259b-4bc3-4df7-8a09-765794883524