summaryrefslogtreecommitdiffstats
path: root/EmulatorPkg
Commit message (Collapse)AuthorAgeFilesLines
* EmulatorPkg: Use FaultTolerantWritePei driver.Star Zeng2013-07-032-7/+9
| | | | | | | | | | | 1. The signature of working block header needs to be updated to gEdkiiWorkingBlockSignatureGuid because FTW write header and record has be updated and exposed to support crossing archs. 2. PEI variable has been updated to depend on FaultTolerantWritePei to robustly handle crashes during Reclaim(), so add FaultTolerantWritePei.inf in *.dsc and *.fdf. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14457 6f19259b-4bc3-4df7-8a09-765794883524
* EmulatorPkg: Add SerialPortExtLib library class mappingjljusten2013-05-151-0/+1
| | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14359 6f19259b-4bc3-4df7-8a09-765794883524
* EmulatorPkg/(Pei|Dxe)EmuSerialPortLib: Remove the SerialPortExtLib functions ↵oliviermartin2013-05-142-111/+0
| | | | | | | | | | | | | | | | from SerialPortLib SerialPortSetControl, SerialPortGetControl and SerialPortSetAttributes are functions of the SerialPortExtLib library interface. They should not be implemented by the SerialPortLib library. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <Olivier.martin@arm.com> Reviewed-by: Andrew Fish <afish@apple.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14357 6f19259b-4bc3-4df7-8a09-765794883524
* Update to build with 10.8 OS X Frameworks. This is a Mac only change.andrewfish2012-12-221-6/+14
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14016 6f19259b-4bc3-4df7-8a09-765794883524
* Sync with EmulatorPkg changes.andrewfish2012-12-224-0/+111
| | | | | | | | signed-off-by:afish@apple.com git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14015 6f19259b-4bc3-4df7-8a09-765794883524
* Fix structure init issues.andrewfish2012-12-222-3/+7
| | | | | | | | signed-off-by:afish@apple.com git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14014 6f19259b-4bc3-4df7-8a09-765794883524
* EmulatorPkg/PlatformSmbiosDxe: Fix build issue with UNIXGCCjljusten2012-08-281-1/+1
| | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13689 6f19259b-4bc3-4df7-8a09-765794883524
* Fix comparisons of enumerated types which may cause warnings for some compilers.rsun32012-08-281-2/+2
| | | | | | | | Signed-off-by: Sun Rui <rui.sun@intel.com> Reviewed-by: Gao Liming <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13686 6f19259b-4bc3-4df7-8a09-765794883524
* EmulatorPkg: Fix Visual Studio build for IA32 & X64jljusten2012-08-159-16/+191
| | | | | | | | | | This code is untested since there is currently no 'host' component for Win32/Win64. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13633 6f19259b-4bc3-4df7-8a09-765794883524
* EmulatorPkg: Support GCC47 toolchainjljusten2012-08-132-0/+4
| | | | | | | | | | | | When GCC >= 4.7 is detected, use the GCC47 toolchain. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Laszlo Ersek <lersek@redhat.com> [jordan.l.justen@intel.com: reword commit message for EmulatorPkg] Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13629 6f19259b-4bc3-4df7-8a09-765794883524
* EmulatorPkg/build.sh: Fix link issue for openSUSEjljusten2012-04-301-2/+2
| | | | | | | | Search for libdl to fix a link error on openSUSE 12.1 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13230 6f19259b-4bc3-4df7-8a09-765794883524
* Update copyright formathhtian2012-04-241-3/+1
| | | | | | Signed-off-by: Hot Tian <hot.tian@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13213 6f19259b-4bc3-4df7-8a09-765794883524
* EDK II Packages: Add Contributions.txt and License.txt filesjljusten2012-04-112-0/+215
| | | | | | | | | | | | | Contributions.txt documents the contribution process for all tianocore projects. The conents of Contributions.txt should match in all cases. License.txt is a per-project document showing the license terms used by that project. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13187 6f19259b-4bc3-4df7-8a09-765794883524
* Fix build break caused by CPU Exception Library.andrewfish2012-03-161-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13107 6f19259b-4bc3-4df7-8a09-765794883524
* Append double-null for Type 19 data record.lzeng142012-02-031-3/+2
| | | | | | | Signed-off-by: lzeng14 Reviewed-by: li-elvin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12983 6f19259b-4bc3-4df7-8a09-765794883524
* Fix case sensativity issues.andrewfish2012-02-013-3/+3
| | | | | | | | signed-off-by:andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12980 6f19259b-4bc3-4df7-8a09-765794883524
* Add Missing invocations to VA_END() for VA_START().rsun32012-02-011-6/+2
| | | | | | | Signed-off-by: rsun3 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12979 6f19259b-4bc3-4df7-8a09-765794883524
* Update based on review feedback.andrewfish2012-01-312-10/+12
| | | | | | | | | signed-off-by:andrewfish reviewed-by:Elvin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12976 6f19259b-4bc3-4df7-8a09-765794883524
* cleanup SmbiosLib.h definitions, and the code that depends on them. andrewfish2012-01-303-52/+64
| | | | | | | | | signed-off-by:andrewfish reviewed-by:mikekinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12970 6f19259b-4bc3-4df7-8a09-765794883524
* Oops missed these items in 12966. Also forgot the signoff, this signoff ↵andrewfish2012-01-302-0/+404
| | | | | | | | | | includes svn 12966. signed-off-by:andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12967 6f19259b-4bc3-4df7-8a09-765794883524
* Add a new SMBIOS Library, and platform SMBIOS driver that does not use ↵andrewfish2012-01-307-2/+825
| | | | | | | | | | Framework or Hii. Note: The SmbiosLib should probably be moved to MdePkg after a full code review. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12966 6f19259b-4bc3-4df7-8a09-765794883524
* Fix bug where { NULL } did not terminate with a double NULL. Add support for ↵andrewfish2012-01-261-10/+37
| | | | | | | | | | passing in NULL for the string pack. Update the comments. signed-off-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12955 6f19259b-4bc3-4df7-8a09-765794883524
* Remove Framework concepts and fully port to PI. Remove the use of Hii for ↵andrewfish2012-01-246-119/+195
| | | | | | | | | | | | hard coded strings. Note: The LogSmbiosData() function should probably be an MdeModulePkg library function. signed-off-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12954 6f19259b-4bc3-4df7-8a09-765794883524
* Fix bug in SNP driver where default values for SNP mode are not filled in. ↵andrewfish2012-01-111-10/+38
| | | | | | | | | | This causes ARP and other drivers to fail to bind as they don't think it is an ethernet connection. Mode structure is filled via lazy update, so defaults need some genericly valid info, not zero. signed-off-by:andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12926 6f19259b-4bc3-4df7-8a09-765794883524
* Fix bug where open() mode was not being set based on type of device being ↵andrewfish2012-01-071-0/+2
| | | | | | | | | | emulated. signed-off-by:andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12917 6f19259b-4bc3-4df7-8a09-765794883524
* Add an error print and exit if SEC core is not found. andrewfish2012-01-061-0/+6
| | | | | | | | signed-off-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12912 6f19259b-4bc3-4df7-8a09-765794883524
* Add a PcdEmulatorLazyLoadSymbols that allows non-lazy symbol loading. The ↵andrewfish2011-12-153-27/+83
| | | | | | | | | | | | problem with lazy symbol loading is it only happens after you hit a breakpoint. This means you can't add breakpoints from the GUI and have them hit, this requires symbols being loaded as modules load so the breakpoints can get resolved. Added arguments to SecGdbScriptBreak() to enable lldb python symbol load/unload script. signed-off-by:andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12879 6f19259b-4bc3-4df7-8a09-765794883524
* According to PI errata 0000654 and 000811, we need use 0xFFFE to instead of ↵lzeng142011-11-2115-108/+85
| | | | | | | | | 0 for EFI_SMBIOS_PROTOCOL.Add() SmbiosHandle parameter to assign a unique handle to the SMBIOS record, and for EFI_SMBIOS_PROTOCOL.GetNext() SmbiosHandle parameter to get the first matched SMBIOS handle or indicate no more SMBIOS record. Signed-off-by: lzeng14 Reviewed-by: li-elvin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12754 6f19259b-4bc3-4df7-8a09-765794883524
* EmulatorPkg, OvmfPkg: Remove debug code in build.shjljusten2011-11-081-1/+0
| | | | | | | | | This debug code causes the build.sh script to exit immediately for systems with GCC 4.4. Signed-off-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12666 6f19259b-4bc3-4df7-8a09-765794883524
* EmulatorPkg: Fix DSC_SPECIFICATION typo in dscjljusten2011-10-311-1/+1
| | | | | | | | The new BaseTools code generates an error for this typo. Signed-off-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12619 6f19259b-4bc3-4df7-8a09-765794883524
* EmulatorPkg: Remove variables that are set, but not usedjljusten2011-10-314-34/+10
| | | | | | | | | GCC 4.6 flags a warning for this. Signed-off-by: jljusten Reviewed-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12613 6f19259b-4bc3-4df7-8a09-765794883524
* EmulatorPkg Linux: Improve detection of libraries for host executablejljusten2011-10-312-9/+19
| | | | | | | | | | | | | | build.sh will detect the locations of the libraries required by the host executable, and sets the HOST_DLINK_PATHS environment variable. In EmulatorPkg/Unix/Host/Host.inf, this environment variable is used in the linking build step. Signed-off-by: jljusten Reviewed-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12612 6f19259b-4bc3-4df7-8a09-765794883524
* EmulatorPkg/build.sh: Detect GCC 4.5 & 4.6jljusten2011-10-311-0/+14
| | | | | | | | | Detect GCC 4.5 & 4.6, and use GCC45 and GCC46 toolchains. Signed-off-by: jljusten Reviewed-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12611 6f19259b-4bc3-4df7-8a09-765794883524
* EmulatorPkg/build.sh: Cleanup variable namesjljusten2011-10-311-18/+18
| | | | | | | | | | Rename TARGET_TOOLS to HOST_TOOLS. Rename UNIXPKG_TOOLS to TARGET_TOOLS. Signed-off-by: jljusten Reviewed-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12610 6f19259b-4bc3-4df7-8a09-765794883524
* Remove unused PCD entry that generates warning on a build.andrewfish2011-09-291-2/+1
| | | | | | | | signed-off-by:andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12477 6f19259b-4bc3-4df7-8a09-765794883524
* Fix EmulatorPkg build error.li-elvin2011-09-051-0/+1
| | | | | | | | Signed-off-by: li-elvin Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12278 6f19259b-4bc3-4df7-8a09-765794883524
* Fix the incorrect usage for PCD PcdResetOnMemoryTypeInformationChange in ↵lgao42011-08-291-1/+1
| | | | | | | | Duet, Unix and Emulator platform. Signed-off-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12218 6f19259b-4bc3-4df7-8a09-765794883524
* EmulatorPkg/build.sh: Pass extra build options to the build commandjljusten2011-08-131-3/+3
| | | | | | | | | Extra build options were not being sent to the build command. This fix allows 'EmulatorPkg/build.sh -D BUILD_NEW_SHELL' to work. Signed-off-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12126 6f19259b-4bc3-4df7-8a09-765794883524
* EmulatorPkg: Remove UnixPkg instance of the BaseLib and use ↵andrewfish2011-08-111-12/+2
| | | | | | | | | | | | PcdDxeIplBuildPageTables. PcdDxeIplBuildPageTables made UnixPkg BaseLib changes obsolete, so we should remove it, and clean up the .dsc file to treat the DxeIpl as a normal PEIM. signed-off-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12119 6f19259b-4bc3-4df7-8a09-765794883524
* EmulatorPkg: Make the library work with DXE Core.andrewfish2011-08-111-0/+4
| | | | | | | | | | The DXE core calls library constructors after it calls DEBUG macros, so we need more error handling in the lib. signed-off-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12118 6f19259b-4bc3-4df7-8a09-765794883524
* EmulatorPkg: Make early DEBUG prints in DXE Core work.andrewfish2011-08-111-0/+2
| | | | | | | | signed-off-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12117 6f19259b-4bc3-4df7-8a09-765794883524
* EmulatorPkg/build.sh: Add build target to command linejljusten2011-07-291-8/+8
| | | | | | | | Use the -b parameter in the build command. Signed-off-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12058 6f19259b-4bc3-4df7-8a09-765794883524
* EmulatorPkg: Fix bug with missing &. Causes a link failure on TOT clang.andrewfish2011-07-151-1/+1
| | | | | | | | signed-off-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12021 6f19259b-4bc3-4df7-8a09-765794883524
* EmulatorPkg: update New Shell build for new PathLib. Turn off GuardMalloc ↵andrewfish2011-07-011-1/+2
| | | | | | | | | library as the default for the Shell. signed-off-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11962 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
* 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
* 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