summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Give Python/PythonCore.inf its own GUID.darylm5032011-06-293-10/+8
| | | | | | | | Do not build Python by default since it requires manual preparation before it can be built. Update ReadMe.pdf to include information on configuring and building Python. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11930 6f19259b-4bc3-4df7-8a09-765794883524
* EmulatorPkg: Match paths/names for Xcode with new package naming scheme.andrewfish2011-06-294-10/+8
| | | | | | | | signed-off-by:andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11929 6f19259b-4bc3-4df7-8a09-765794883524
* EmulatorPkg: Add README filejljusten2011-06-291-0/+35
| | | | | | Signed-off-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11928 6f19259b-4bc3-4df7-8a09-765794883524
* EmulatorPkg: Merge build*.sh into build.shjljusten2011-06-294-294/+210
| | | | | | | | | Merged OvmfPkg/build.sh changes to allow a single build script for IA32 & X64 builds. Signed-off-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11927 6f19259b-4bc3-4df7-8a09-765794883524
* add (UINT8 *) type cast to fix ICC build failure.niruiyu2011-06-291-1/+1
| | | | | | Signed-off-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11926 6f19259b-4bc3-4df7-8a09-765794883524
* EmulatorPkg: Move Unix/UnixX64.* to EmulatorPkg.*jljusten2011-06-294-160/+40
| | | | | | | | | EmulatorPkg/Unix/UnixX64.dsc => EmulatorPkg/EmulatorPkg.dsc EmulatorPkg/Unix/UnixX64.fdf => EmulatorPkg/EmulatorPkg.fdf Signed-off-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11925 6f19259b-4bc3-4df7-8a09-765794883524
* EmulatorPkg/Unix: Rename SecMain to Hostjljusten2011-06-2917-44/+44
| | | | | | Signed-off-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11924 6f19259b-4bc3-4df7-8a09-765794883524
* IntelFrameworkModulePkg: Fix clang compielr warning.andrewfish2011-06-281-1/+1
| | | | | | | | | | Clang complains about if (()) constructs as it thinks you may be doing a compare and assign in the same if structure. signed-off-by: vanjeff git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11923 6f19259b-4bc3-4df7-8a09-765794883524
* Missing from previous check-in.darylm5032011-06-281-0/+714
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11922 6f19259b-4bc3-4df7-8a09-765794883524
* EmulatorPkg: Fix build break.andrewfish2011-06-281-2/+2
| | | | | | | | signed-off-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11921 6f19259b-4bc3-4df7-8a09-765794883524
* EmulatorPkg: Fix issue with ReadKeyStroke returning EFI_SUCCESS when only a ↵andrewfish2011-06-281-1/+8
| | | | | | | | | | | | modifier key is pressed. This should only happen for ReadKeyStrokeEx. signed-off-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11920 6f19259b-4bc3-4df7-8a09-765794883524
* EmulatorPkg: Remove all trailing whitespacejljusten2011-06-28161-2567/+2567
| | | | | | Signed-off-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11919 6f19259b-4bc3-4df7-8a09-765794883524
* InOsEmuPkg: Rename package to EmulatorPkg & Sec to Hostjljusten2011-06-28191-223/+223
| | | | | | | | | | | * Rename InOsEmuPkg to EmulatorPkg * Rename Unix/Sec to Unix/Host Signed-off-by: jljusten Reviewed-by: andrewfish Reviewed-by: geekboy15a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11918 6f19259b-4bc3-4df7-8a09-765794883524
* Clarify the requirements for the Destination parameter of UnicodeStrToAsciiStr.jcarsey2011-06-282-1/+7
| | | | | | | signed-off-by:jcarsey Reviewed-by:lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11917 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Bds: Use unaligned read to access OptionalData in EFI_LOAD_OPTIONoliviermartin2011-06-282-21/+23
| | | | | | | | | EFI_LOAD_OPTION is a packed structure. Accessing to the non aligned double word requires to use ReadUnaligned32() function. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11916 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Bds: Check if the assumed requirements are set before to use itoliviermartin2011-06-282-11/+27
| | | | | | | | | | | There were some assumptions that some PCDs and protocols were defined. Check if these requirements are defined; either print a debug message to inform the user or skip the statements that require these PCDs or protocol. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11915 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/BdsLib: Check if the performance timer is counting down or up in ↵oliviermartin2011-06-281-2/+8
| | | | | | PrintPerformance() git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11914 6f19259b-4bc3-4df7-8a09-765794883524
* Enable new "ref5" opcode in browser.ydong102011-06-286-147/+236
| | | | | | | | | | | | Signed-off-by:ydong10 Reviewed-by:lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11913 6f19259b-4bc3-4df7-8a09-765794883524
* Add new "ref5" opcode data structure and ref data type structure.ydong102011-06-281-0/+14
| | | | | | | | | | | | Signed-off-by:ydong10 Reviewed-by:lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11912 6f19259b-4bc3-4df7-8a09-765794883524
* Restore the whole form set to default value when user enter F9, old logical ↵ydong102011-06-283-48/+47
| | | | | | | | | | | | | | only for form level. Signed-off-by:ydong10 Reviewed-by:lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11911 6f19259b-4bc3-4df7-8a09-765794883524
* Basic Core Python interpreter.darylm5032011-06-2811-0/+9557
| | | | | | | | | | | This allows the Python 2.7.1 distribution to be extracted into the AppPkg/Applications/Python directory - producing the AppPkg/Applications/Python/Python-2.7.1 directory - then built for EDK II using the Standard C Libraries provided by the StdLib package. Only rudimentary functionality has been tested. Only compilation with Microsoft Visual Studio 2005 has been tested for Ia32 and X64 architectures. The X64/pyconfig.h file should probably be updated to match the values in Ia32/pyconfig.h. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11910 6f19259b-4bc3-4df7-8a09-765794883524
* Changes required to build using the new device abstraction capability of StdLib.darylm5032011-06-282-2/+8
| | | | | | | | Applications which require file-system functionality must have DevShell listed in the [LibraryClasses] section of the application's INF file. Entries for the device abstraction Library Classes must be added to the application's package's DSC file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11909 6f19259b-4bc3-4df7-8a09-765794883524
* Add device abstraction code for the UEFI Console and UEFI Shell-based file ↵darylm5032011-06-2898-1391/+5157
| | | | | | | | | | | | | | | | | | | | | | | systems. Make argv use narrow characters instead of wide characters. Add setenv functionality. Add poll() system call. Change signal names into macros – required for standards compliance. The enums were renamed and moved to sys/signal.h and the new macros reference the enums. Added SIGBREAK, which is required for Python. Modify stdio functions to fail cleanly when called with a NULL File Pointer argument. Added <sys/cdefs.h> that just includes <sys/EfiCdefs.h>. By adding this wrapper, we improve compatibility with *nix files which assume <sys/cdefs> exists. Add <netdb.h> Added macros for bcopy(), bcmp() and strsep(). Modify the clock() function so that it does not hang when running under an emulation environment such as NT32. Move TM structure specific macros from the private tzfile.h into <time.h> Add strncasecmp function. Add strptime function. Add gettimeofday function. Add getcwd function. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11908 6f19259b-4bc3-4df7-8a09-765794883524
* Add device abstraction code for the UEFI Console and UEFI Shell-based file ↵darylm5032011-06-286-102/+607
| | | | | | | | | | systems. Make argv use narrow characters instead of wide characters. Add setenv functionality. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11907 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up invalid keywords and missing keywords in [Define] section of ↵lzeng142011-06-287-8/+11
| | | | | | | | | | 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
* IntelFrameworkModulePkg: Add Compatibility Support Module (CSM) driversjljusten2011-06-2746-1/+30571
| | | | | | | | | | | | | | | Added these drivers: * LegacyBiosDxe * BlockIoDxe * KeyboardDxe * Snp16Dxe * VideoDxe Signed-off-by: jljusten Reviewed-by: mdkinney Reviewed-by: geekboy15a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11905 6f19259b-4bc3-4df7-8a09-765794883524
* EdkCompatibilityPkg: Add AcpiVariableHobOnSmramReserveHobThunkjljusten2011-06-273-0/+303
| | | | | | | | Signed-off-by: jljusten Reviewed-by: mdkinney Reviewed-by: geekboy15a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11904 6f19259b-4bc3-4df7-8a09-765794883524
* IntelFrameworkModulePkg: Add Guid/AcpiVariable.hjljusten2011-06-272-0/+176
| | | | | | | | Signed-off-by: jljusten Reviewed-by: mdkinney Reviewed-by: geekboy15a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11903 6f19259b-4bc3-4df7-8a09-765794883524
* MdeModulePkg: Add IdeBusPei driverjljusten2011-06-276-0/+3177
| | | | | | | | Signed-off-by: jljusten Reviewed-by: mdkinney Reviewed-by: geekboy15a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11902 6f19259b-4bc3-4df7-8a09-765794883524
* MdeModulePkg: Add PEI USB drivers and related PPIsjljusten2011-06-2736-0/+15879
| | | | | | | | Signed-off-by: jljusten Reviewed-by: mdkinney Reviewed-by: geekboy15a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11901 6f19259b-4bc3-4df7-8a09-765794883524
* Clarify that the shared variables of the shell protocols are properly named.jcarsey2011-06-277-90/+66
| | | | | | | | | | | This removes the non-shared gEfiShellProtocol and gEfiShellParametersProtocol and renames the shared version to those names. This removes the m-versions of those protocol pointers. signed-off-by: jcarsey reviewed-by: darylm503 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11900 6f19259b-4bc3-4df7-8a09-765794883524
* replace protocol presence ASSERTs with error returns.jcarsey2011-06-271-72/+82
| | | | | | | signed-off-by: jcarsey reviewed-by: lgrosenb git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11899 6f19259b-4bc3-4df7-8a09-765794883524
* maintain output attributes.jcarsey2011-06-271-0/+7
| | | | | | | signed-off-by: jcarsey reviewed-by: lgrosenb git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11898 6f19259b-4bc3-4df7-8a09-765794883524
* replace assert with error.jcarsey2011-06-271-1/+4
| | | | | | | signed-off-by: jcarsey reviewed-by: lgrosenb git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11897 6f19259b-4bc3-4df7-8a09-765794883524
* Make sure size is correct.jcarsey2011-06-271-0/+1
| | | | | | | signed-off-by: jcarsey reviewed-by: lgrosenb git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11896 6f19259b-4bc3-4df7-8a09-765794883524
* InOsEmuPkg: Fix Xcode symbol loading with new scheme. Fix bug in dlcose. ↵andrewfish2011-06-274-94/+65
| | | | | | | | | | Move some of the gdb infrastrucuture to the start of main(). signed-off-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11895 6f19259b-4bc3-4df7-8a09-765794883524
* allow for failure return when called without a shell present.jcarsey2011-06-271-3/+6
| | | | | | | signed-off-by: jcarsey reviewed-by: lgrosenb git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11894 6f19259b-4bc3-4df7-8a09-765794883524
* InOsEmuPkg: Fix minor typo and Xcode build breaks. Seems Xcode is more picky ↵andrewfish2011-06-271-2/+2
| | | | | | | | | | about the types you pass into %x. signed-off-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11893 6f19259b-4bc3-4df7-8a09-765794883524
* Adjust the start position of the opcode string before saving it to avoid ↵ydong102011-06-271-64/+65
| | | | | | | | | | | | | | | | | show menu info error. Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11892 6f19259b-4bc3-4df7-8a09-765794883524
* Fix UnixGcc build failures.niruiyu2011-06-272-3/+3
| | | | | | Signed-off-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11891 6f19259b-4bc3-4df7-8a09-765794883524
* OvmfPkg: Add support for UEFI shelljljusten2011-06-266-3/+132
| | | | | | | | | | | | When building: -D BUILD_NEW_SHELL - Build and include UEFI shell in firmware -D USE_NEW_SHELL - Include UEFI shell binary build in firmware The default is to use the older EFI shell. Signed-off-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11890 6f19259b-4bc3-4df7-8a09-765794883524
* InOsEmuPkg/Unix: Allow binary UEFI shell to be usedjljusten2011-06-261-0/+4
| | | | | | | | | | When using InOsEmuPkg/Unix/build64.sh -D USE_NEW_SHELL, the UEFI shell binary will now be included in the firmware image. Signed-off-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11889 6f19259b-4bc3-4df7-8a09-765794883524
* InOsEmuPkg/Unix: Auto-load symbols files in gdbjljusten2011-06-262-134/+191
| | | | | | | | | | | | Images that can't be loaded with dlopen are added to SecMain.gdb. Whenever gdb stops, the hook-stop macro will automatically load the symbol files. Signed-off-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11888 6f19259b-4bc3-4df7-8a09-765794883524
* InOsEmuPkg: Make the Guard MemoryAllocationLib handle EFI allocated pages ↵andrewfish2011-06-251-9/+17
| | | | | | | | | | correctly. signed-off-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11887 6f19259b-4bc3-4df7-8a09-765794883524
* InOsEmuPkg: Add an OS malloc/valloc/free based implementation of the ↵andrewfish2011-06-2410-8/+971
| | | | | | | | | | | | | | MemoryAllocationLib. Requires extra Thunk APIs. I've got this working. The tricky part was a driver/application can mix malloc forms. If the driver links against this library all the allocations come from the OS service, but if a protocol or EFI boot service return an allocated buffer it will still use the EFI allocation. The gasket code can detect this and do the right thing, as the emulator is passing up the memory map to EFI. You can now use the OS based malloc debugging tools in an EFI driver or appliaction. On OS X this is libgmalloc, also called guard malloc. Signed-off-by: andrewfish. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11886 6f19259b-4bc3-4df7-8a09-765794883524
* InOsEmuPkg: Fix issue with struct stat not having the right size. EFI ↵andrewfish2011-06-241-0/+2
| | | | | | | | | | | | compiler args are not compatible with system include headers for IA32. This is a fix for XCODE/XCLANG. I'm still seeing an issue, but the stat info for the filesystem is now correct. Signed-off-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11885 6f19259b-4bc3-4df7-8a09-765794883524
* [InOsEmuPkg] Fix minor coding style bug.andrewfish2011-06-241-2/+1
| | | | | | | | signed-off-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11884 6f19259b-4bc3-4df7-8a09-765794883524
* [InOSEmPkg] Add OS malloc and free to the Thunk.andrewfish2011-06-245-0/+104
| | | | | | | | | | Added OS malloc and free so we can make MemoryAllocationLib instance that uses OS guard malloc. This will allow all the debug support built into the OS for finding malloc bugs to be used with a driver in the emulator. Signed-off-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11883 6f19259b-4bc3-4df7-8a09-765794883524
* InOsEmuPkg/Unix: Fix build issues for GCC44 IA32jljusten2011-06-235-11/+9
| | | | | | Signed-off-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11880 6f19259b-4bc3-4df7-8a09-765794883524
* InOsEmuPkg/Unix: Detect lib directory suffix on Linuxjljusten2011-06-233-2/+12
| | | | | | | | | | | | For IA32 builds, if /lib32 and /usr/lib32 exist, they will be used instead of /lib and /usr/lib. For X64 builds, if /lib64 and /usr/lib64 exist, they will be used instead of /lib and /usr/lib. Signed-off-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11879 6f19259b-4bc3-4df7-8a09-765794883524