]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
12 years ago[InOsEmuPkg] Fix minor coding style bug.
andrewfish [Fri, 24 Jun 2011 14:50:06 +0000 (14:50 +0000)]
[InOsEmuPkg] Fix minor coding style bug.

signed-off-by: andrewfish

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11884 6f19259b-4bc3-4df7-8a09-765794883524

12 years ago[InOSEmPkg] Add OS malloc and free to the Thunk.
andrewfish [Fri, 24 Jun 2011 14:48:38 +0000 (14:48 +0000)]
[InOSEmPkg] Add OS malloc and free to the Thunk.

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

12 years agoInOsEmuPkg/Unix: Fix build issues for GCC44 IA32
jljusten [Thu, 23 Jun 2011 15:23:39 +0000 (15:23 +0000)]
InOsEmuPkg/Unix: Fix build issues for GCC44 IA32

Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11880 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoInOsEmuPkg/Unix: Detect lib directory suffix on Linux
jljusten [Thu, 23 Jun 2011 15:23:20 +0000 (15:23 +0000)]
InOsEmuPkg/Unix: Detect lib directory suffix on Linux

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

12 years agoInOsEmuPkg/Unix/build.sh: Merge changes from build64.sh r11867
jljusten [Thu, 23 Jun 2011 15:23:02 +0000 (15:23 +0000)]
InOsEmuPkg/Unix/build.sh: Merge changes from build64.sh r11867

Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11878 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoInOsEmuPkg/Unix: Auto-run emulator in gdb
jljusten [Thu, 23 Jun 2011 15:22:49 +0000 (15:22 +0000)]
InOsEmuPkg/Unix: Auto-run emulator in gdb

Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11877 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoChange DUET DxeIpl to use SerialPort instead of manipulating serial port directly.
niruiyu [Thu, 23 Jun 2011 08:31:18 +0000 (08:31 +0000)]
Change DUET DxeIpl to use SerialPort instead of manipulating serial port directly.

Signed-off-by: niruiyu
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11876 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRefine code to follow coding style.
ydong10 [Thu, 23 Jun 2011 01:33:03 +0000 (01:33 +0000)]
Refine code to follow coding style.

Signed-off-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11875 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRemove non-ASCII characters.
niruiyu [Thu, 23 Jun 2011 01:30:52 +0000 (01:30 +0000)]
Remove non-ASCII characters.

Signed-off-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11874 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd check code to avoid access violation.
ydong10 [Thu, 23 Jun 2011 01:26:06 +0000 (01:26 +0000)]
Add check code to avoid access violation.

Signed-off-by: ydong10
Reviewed-by: jcarsey
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11873 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoInOsEmuPkg: Add TimerLib for PEI, DXE_CORE, and DXE/EFI drivers/applications.
andrewfish [Tue, 21 Jun 2011 23:41:31 +0000 (23:41 +0000)]
InOsEmuPkg: Add TimerLib for PEI, DXE_CORE, and DXE/EFI drivers/applications.

Start using MdeModulePkg MetronomeDxe driver. Add PEI and DXE_CORE TimerLibs that just call back to the emulator. Add a DXE/UEFI TimerLib that also does a gBS->WaitForEvent() if the stall is for a long period of time. Change the Thunk API for Sleep to nanoseconds.

Signed-off-by: andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11872 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoMove the check refresh attribute logical out of the option string check logical.
ydong10 [Tue, 21 Jun 2011 02:58:45 +0000 (02:58 +0000)]
Move the check refresh attribute logical out of the option string check logical.

Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11871 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd sample code for vfr opcode "guidop"
ydong10 [Tue, 21 Jun 2011 02:43:14 +0000 (02:43 +0000)]
Add sample code for vfr opcode "guidop"

Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11870 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoInitialize data before using it
ydong10 [Tue, 21 Jun 2011 02:24:46 +0000 (02:24 +0000)]
Initialize data before using it

Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11869 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoInOsEmuPkg: Make sure to skip DXE IPL on emulator build, and don't double build every...
andrewfish [Mon, 20 Jun 2011 23:05:43 +0000 (23:05 +0000)]
InOsEmuPkg: Make sure to skip DXE IPL on emulator build, and don't double build every thing IA-32 Xcode.

Signed-off-by: andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11868 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoInOsEmuPkg/Unix: Enable single-pass build with Linux
jljusten [Mon, 20 Jun 2011 21:58:22 +0000 (21:58 +0000)]
InOsEmuPkg/Unix: Enable single-pass build with Linux

For Linux builds the thunk layer ('SEC') and main platform
firmware image will be built in a single build pass.

Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11867 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoInOsEmuPkg/Unix/Sec: Add BaseMemoryLib implementation to thunk layer
jljusten [Mon, 20 Jun 2011 21:58:05 +0000 (21:58 +0000)]
InOsEmuPkg/Unix/Sec: Add BaseMemoryLib implementation to thunk layer

This implementation only covers a few BaseMemoryLib functions.
The implementation leverates malloc/free in stdlib.

Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11866 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoInOsEmuPkg/Unix/Sec: Fix EFIAPI usage inconsistencies
jljusten [Mon, 20 Jun 2011 21:57:43 +0000 (21:57 +0000)]
InOsEmuPkg/Unix/Sec: Fix EFIAPI usage inconsistencies

Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11865 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoInOsEmuPkg: Remove unreference local variables
jljusten [Mon, 20 Jun 2011 21:57:27 +0000 (21:57 +0000)]
InOsEmuPkg: Remove unreference local variables

GCC44 will flag a warning for these unused variables.

Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11864 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPkg/CpuDxe: Register a callback for the gIdleLoopEventGuid event
oliviermartin [Mon, 20 Jun 2011 21:35:50 +0000 (21:35 +0000)]
ArmPkg/CpuDxe: Register a callback for the gIdleLoopEventGuid event

This gIdleLoopEventGuid event signals the Cpu that it should go into
the idle state waiting for any events.
CpuSleep() is used in this implementation to make the Cpu wait for
the next interrupt (WFI instruction).

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11863 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPkg/CpuPei: Declare the CPU HOB
oliviermartin [Mon, 20 Jun 2011 21:33:56 +0000 (21:33 +0000)]
ArmPkg/CpuPei: Declare the CPU HOB

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11862 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPkg/CpuPei: Get the System Memory from the Resource Memory HOB
oliviermartin [Mon, 20 Jun 2011 21:32:46 +0000 (21:32 +0000)]
ArmPkg/CpuPei: Get the System Memory from the Resource Memory HOB

Declare the system memory provided by the first Resource Memory HOB
as cached memory to the MMU.
All the remaining memory space is declared as Device Memory.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11861 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPkg/CpuDxe: Change chain of dependency for CpuDxe and PL390Gic
oliviermartin [Mon, 20 Jun 2011 21:30:51 +0000 (21:30 +0000)]
ArmPkg/CpuDxe: Change chain of dependency for CpuDxe and PL390Gic

Previously the CPU driver had a dependency on the GIC driver.
But by design is should be the opposite. The CPU driver installs the
CPU protocol that exposes the exception registration function.
And then, the interrupt controller registers its IRQ handler through
this interface.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11860 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix potential null pointer dereference
erictian [Mon, 20 Jun 2011 09:35:53 +0000 (09:35 +0000)]
Fix potential null pointer dereference

Signed-off-by: erictian
Reviewed-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11859 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix EFI Option ROM being loaded twice unconditionally.
niruiyu [Mon, 20 Jun 2011 05:09:40 +0000 (05:09 +0000)]
Fix EFI Option ROM being loaded twice unconditionally.

Signed-off-by: niruiyu
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11858 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoInOsEmuPkg: Fix debug prints from DXE/UEFI drivers.
andrewfish [Sun, 19 Jun 2011 18:59:00 +0000 (18:59 +0000)]
InOsEmuPkg: Fix debug prints from DXE/UEFI drivers.

Turning on serial prints for early drivers, turned off debug prints for DXE/UEFI drivers. Add them back in via report status code.

signed-off-by: andrewfish

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11857 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoInOsEmuPkg: Remove unneeded Framework for XCODE linker flag overrides.
andrewfish [Sun, 19 Jun 2011 18:57:56 +0000 (18:57 +0000)]
InOsEmuPkg: Remove unneeded Framework for XCODE linker flag overrides.

signed-off-by: andrewfish

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11856 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoInOsEmuPkg: Fix issue with EFI_LBA not being implemented as a UINT64 in the IA-32...
andrewfish [Sun, 19 Jun 2011 18:56:13 +0000 (18:56 +0000)]
InOsEmuPkg: Fix issue with EFI_LBA not being implemented as a UINT64 in the IA-32 Gasket.

Also clean up some missing EFIAPI.

signed-off-by: andrewfish

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11855 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoInOsEmuPkg: Fix UINT64 bugs in IA-32 gasket.
andrewfish [Sun, 19 Jun 2011 02:58:32 +0000 (02:58 +0000)]
InOsEmuPkg: Fix UINT64 bugs in IA-32 gasket.

At this point IA-32 emulator boots the shell with an X11 GOP window. Block IO seems to have an issue that needs to be debugged.

Signed-off-by: andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11854 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoInOsEmuPkg: Fix issues with stack alignment in the gasket.
andrewfish [Sun, 19 Jun 2011 02:25:37 +0000 (02:25 +0000)]
InOsEmuPkg: Fix issues with stack alignment in the gasket.

There are still issues with the IA-32 gasket code. Mostly having to do with yank put bugs not accounting for UINT64 returns and arguments. Currently the IA-32 build crashes in the timer callback since it is UINT64, function ptr but the gasket is UINTN UINTN.

Signed-off-by: andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11853 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoInOsEmuPkg: Fix IA-32 SEC temp ram code.
andrewfish [Sat, 18 Jun 2011 23:36:36 +0000 (23:36 +0000)]
InOsEmuPkg: Fix IA-32 SEC temp ram code.

Now we crash early in DXE Core.

Signed-off-by: andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11852 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoInOsEmuPkg: Make build dir different for IA-32. Fix PCD XIP issues.
andrewfish [Sat, 18 Jun 2011 22:23:46 +0000 (22:23 +0000)]
InOsEmuPkg: Make build dir different for IA-32. Fix PCD XIP issues.

Signed-off-by andrewfish

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11851 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoInOsEmuPkg: Add an Xcode project file for building and debugging IA-32 Unix emulator.
andrewfish [Sat, 18 Jun 2011 18:40:45 +0000 (18:40 +0000)]
InOsEmuPkg: Add an Xcode project file for building and debugging IA-32 Unix emulator.

Signed-off-by: andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11850 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoInOsEmuPkg: Unix emulator now compiles for IA-32.
andrewfish [Sat, 18 Jun 2011 17:53:31 +0000 (17:53 +0000)]
InOsEmuPkg: Unix emulator now compiles for IA-32.

Wrote IA-32 (align stack to 16-bytes) gaskets for emulator and got it to compile for IA-32. TempRam switch code is not ported to IA-32 in Sec. Code crashes in Sec.

Signed-off-by: andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11849 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoUpdate the EFI_PCI_ADDRESS macro in PciRootBridgeIo.h to support PCI Express extended...
rsun3 [Sat, 18 Jun 2011 04:52:20 +0000 (04:52 +0000)]
Update the EFI_PCI_ADDRESS macro in PciRootBridgeIo.h to support PCI Express extended registers.

Signed-off-by: rsun3
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11848 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoInOsEmuPkg: Fix Linux compile issues in BlockIo code.
andrewfish [Fri, 17 Jun 2011 21:43:45 +0000 (21:43 +0000)]
InOsEmuPkg: Fix Linux compile issues in BlockIo code.

singed-off-by: andrewfish

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11847 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoInOsEmuPkg: Implement gIdleLoopEventGuid.
andrewfish [Fri, 17 Jun 2011 18:21:16 +0000 (18:21 +0000)]
InOsEmuPkg: Implement gIdleLoopEventGuid.

Added a CpuSleep () API to the Emulator Thunk. We needed to do this as the Stall() works hard to not get broken by the timer tic (POSIX signal). nanosleep() gets interrupted by the timer signal so it is a good emulator of a CpuSleep(); I was also able to remove some stalls in the X11 keyboard and mouse checking events, now that the gIdleLoopEventGuid was added.

Signed-off-by: andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11846 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoIntelFrameworkModulePkg: Add IsaFloppyPei driver
jljusten [Fri, 17 Jun 2011 17:42:49 +0000 (17:42 +0000)]
IntelFrameworkModulePkg: Add IsaFloppyPei driver

Signed-off-by: jljusten
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11845 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoInOsEmuPkg: Fix typo in comment of previous submit.
andrewfish [Fri, 17 Jun 2011 16:21:02 +0000 (16:21 +0000)]
InOsEmuPkg: Fix typo in comment of previous submit.

Signed-off-by: andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11844 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoInOsEmuPkg: Add support for mounting CD-ROM images.
andrewfish [Fri, 17 Jun 2011 16:18:14 +0000 (16:18 +0000)]
InOsEmuPkg: Add support for mounting CD-ROM images.

Devices get the block size via ioctl, but for a file the block size needs to be set. Default to 512, but optionally allow other values, like 2048/0x800 for ISO CD-ROM images. Also updated the comments in .DSC and .DEC files.

Signed-off-by: andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11843 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoUefiCpuPkg/CpuDxe: Put CPU to sleep during Idle events
jljusten [Thu, 16 Jun 2011 23:28:16 +0000 (23:28 +0000)]
UefiCpuPkg/CpuDxe: Put CPU to sleep during Idle events

When the MdeModulePkg gCoreEventIdleGuid event is signaled,
CpuSleep is called.  This will cause the CPU to sleep until
the next interrupt occurs.

Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11842 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoMdeModulePkg DXE Core: Add Idle event during BootServices WaitForEvent
jljusten [Thu, 16 Jun 2011 23:28:02 +0000 (23:28 +0000)]
MdeModulePkg DXE Core: Add Idle event during BootServices WaitForEvent

Signal an Idle event during BootServices WaitForEvent.

Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11841 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoIntelFrameworkModulePkg GenericBdsLib: Remove unwanted assert condition
jljusten [Thu, 16 Jun 2011 22:44:27 +0000 (22:44 +0000)]
IntelFrameworkModulePkg GenericBdsLib: Remove unwanted assert condition

If the call to SetVariable is to delete the variable,
but the variable was not found, then we return EFI_SUCCESS
rather than EFI_NOT_FOUND.

Signed-off-by: jljusten
Reviewed-by: jcarsey
Reviewed-by: geekboy15a
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11840 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoInOsEmuPkg: Clean up coding standards.
andrewfish [Thu, 16 Jun 2011 18:28:12 +0000 (18:28 +0000)]
InOsEmuPkg: Clean up coding standards.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11839 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg/Documentation: Update the instructions to build ARM Versatile Express...
oliviermartin [Thu, 16 Jun 2011 15:38:27 +0000 (15:38 +0000)]
ArmPlatformPkg/Documentation: Update the instructions to build ARM Versatile Express CTA9x4

The default build instructions are for the Open Source Toolchain (ARMGCC) on Linux.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11838 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoUpdate prototype name of Get()/Set() to EFI_AUTHENTICATION_INFO_PROTOCOL_GET/ EFI_AUT...
lzeng14 [Thu, 16 Jun 2011 10:09:38 +0000 (10:09 +0000)]
Update prototype name of Get()/Set() to EFI_AUTHENTICATION_INFO_PROTOCOL_GET/ EFI_AUTHENTICATION_INFO_PROTOCOL_SET,
remove star before ControllerHandle for Get()/Set() and add star before Buffer for Get().

Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11834 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoCorrect ExtendedSize’s type to UINT32.
lzeng14 [Thu, 16 Jun 2011 07:07:12 +0000 (07:07 +0000)]
Correct ExtendedSize’s type to UINT32.

Signed-off-by: lzeng14
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11833 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRemove the unused TimerLib from PeiCore.
lgao4 [Thu, 16 Jun 2011 06:44:21 +0000 (06:44 +0000)]
Remove the unused TimerLib from PeiCore.

Signed-off-by: lgao4
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11832 6f19259b-4bc3-4df7-8a09-765794883524

12 years agorestore original information when redirection fails inside a command using the split...
jcarsey [Wed, 15 Jun 2011 22:25:14 +0000 (22:25 +0000)]
restore original information when redirection fails inside a command using the split operator (|).

Signed-off-by: jcarsey
Reviewed-by: darylm503
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11831 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg/Bds: Fix various bugs in the new BDS
oliviermartin [Wed, 15 Jun 2011 19:56:50 +0000 (19:56 +0000)]
ArmPlatformPkg/Bds: Fix various bugs in the new BDS

The errors were:
- uncaught returned error
- used of uninitialized variables

ArmPlatformPkg/Bds: Implement the update of MemMap Boot Device

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11830 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPkg: Fix warnings raised by ARMGCC
oliviermartin [Wed, 15 Jun 2011 19:53:15 +0000 (19:53 +0000)]
ArmPkg: Fix warnings raised by ARMGCC

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11829 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoInOsEmuPkg: Update code to support BerkeleyPacketFilter, and add a template for Linux...
andrewfish [Wed, 15 Jun 2011 18:51:30 +0000 (18:51 +0000)]
InOsEmuPkg: Update code to support BerkeleyPacketFilter, and add a template for LinuxPacketFilter.

BerkelyPacketFilter seems to work. Some one else will need to use the BerkeleyPacketFilter as a template and implement the LinuxPacketFilter. I don't think it will be that hard, as they are simular.

Signed-off-by: andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11828 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoInOsEmuPkg: Update DevicePathTextLib to the latest MdeModulePkg patch on the mailing...
andrewfish [Wed, 15 Jun 2011 18:46:15 +0000 (18:46 +0000)]
InOsEmuPkg: Update DevicePathTextLib to the latest MdeModulePkg patch on the mailing list.

This library is not currently used as it requires pending updates to the MdeModulePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11827 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoUpdates old formset info before exit to avoid old change lost.
ydong10 [Wed, 15 Jun 2011 08:40:08 +0000 (08:40 +0000)]
Updates old formset info before exit to avoid old change lost.

Signed-off-by:ydong10
Reviewed-by:lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11826 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFor BaseLib IsNull() function , update retval value comment to match its function...
lgao4 [Wed, 15 Jun 2011 02:45:58 +0000 (02:45 +0000)]
For BaseLib IsNull() function , update retval value comment to match its function description.

Signed-off-by: lgao4
Reviewed-by: rni2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11825 6f19259b-4bc3-4df7-8a09-765794883524

12 years ago1. In IPv4 and IPv6 driver, before calling IPsec, a new NET_FRAGMENT structure is...
qianouyang [Tue, 14 Jun 2011 09:45:59 +0000 (09:45 +0000)]
1. In IPv4 and IPv6 driver, before calling IPsec, a new NET_FRAGMENT structure is allocated and then passed to IPsec, it should be released after it is done to avoid the memory leak.
2. In IPsec driver it wrongly use the HeadLen to calculate the IP header length after the IPsec process. Correct this mistake.

Signed-off-by: qianouyang
Reviewed-by: jjin9
Reviewed-by: ZhangCaoIntel
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11824 6f19259b-4bc3-4df7-8a09-765794883524

12 years agofix file name lowercase/uppercase inconsistent issue.
erictian [Tue, 14 Jun 2011 03:44:16 +0000 (03:44 +0000)]
fix file name lowercase/uppercase inconsistent issue.

Signed-off-by:erictian
Reviewed-by:niruiyu

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11823 6f19259b-4bc3-4df7-8a09-765794883524

12 years agofix file name lowercase/uppercase inconsistent issue.
erictian [Tue, 14 Jun 2011 03:42:28 +0000 (03:42 +0000)]
fix file name lowercase/uppercase inconsistent issue.

Signed-off-by:erictian
Reviewed-by:niruiyu

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11822 6f19259b-4bc3-4df7-8a09-765794883524

12 years agofix file name lowercase/uppercase inconsistent issue.
erictian [Tue, 14 Jun 2011 03:39:23 +0000 (03:39 +0000)]
fix file name lowercase/uppercase inconsistent issue.

Signed-off-by:erictian
Reviewed-by:niruiyu

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11821 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoScsiBus/ScsiDisk enhancement for no_media state.
erictian [Tue, 14 Jun 2011 02:11:34 +0000 (02:11 +0000)]
ScsiBus/ScsiDisk enhancement for no_media state.
Ahci enumeration logic tuning for boot performance.

Signed-off-by:erictian
Reviewed-by:qianouyang, hhuan13

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11820 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd ABS() macro (Absolute Value) to Base.h in MdePkg
mdkinney [Mon, 13 Jun 2011 20:26:03 +0000 (20:26 +0000)]
Add ABS() macro (Absolute Value) to Base.h in MdePkg

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11819 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd ABS() macro (Absolute Value) to Base.h in MdePkg
mdkinney [Mon, 13 Jun 2011 20:25:36 +0000 (20:25 +0000)]
Add ABS() macro (Absolute Value) to Base.h in MdePkg

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11818 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoProduce DiskInfo for usb mass storage device
erictian [Mon, 13 Jun 2011 05:27:23 +0000 (05:27 +0000)]
Produce DiskInfo for usb mass storage device

Signed-off-by:erictian
Reviewed-by:niruiyu

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11817 6f19259b-4bc3-4df7-8a09-765794883524

12 years ago1. When get value from AltCfg data, check the varstore type first.
ydong10 [Mon, 13 Jun 2011 05:20:23 +0000 (05:20 +0000)]
1. When get value from AltCfg data, check the varstore type first.
2. Check the pointer's validation before using it.

Signed-off-by:ydong10
Reviewed-by:lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11816 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix the issue that the GOP produced by ConSplitter requires SetMode before GetMode...
niruiyu [Mon, 13 Jun 2011 05:16:02 +0000 (05:16 +0000)]
Fix the issue that the GOP produced by ConSplitter requires SetMode before GetMode, otherwise EFI_NOT_STARTED is returned from GetMode.

Signed-off-by: niruiyu
Reviewed-by: xdu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11815 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix incorrect comments in SimpleFileSystem.h.
niruiyu [Mon, 13 Jun 2011 05:14:21 +0000 (05:14 +0000)]
Fix incorrect comments in SimpleFileSystem.h.

Signed-off-by: niruiyu
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11814 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd the missing default definition of EFIAPI in Ia32/ProcessorBind.h.
lgao4 [Mon, 13 Jun 2011 03:58:18 +0000 (03:58 +0000)]
Add the missing default definition of EFIAPI in Ia32/ProcessorBind.h.

Signed-off-by: lgao4
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11813 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix GCC build fail
ydong10 [Mon, 13 Jun 2011 01:55:28 +0000 (01:55 +0000)]
Fix GCC build fail

Signed-off-by:ydong10
Reviewed-by:lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11812 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoCheck the buffer allocation result before using it.
ydong10 [Mon, 13 Jun 2011 01:44:03 +0000 (01:44 +0000)]
Check the buffer allocation result before using it.

Signed-off-by:ydong10
Reviewed-by:jljusten

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11811 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg/ArmVExpressLib: Move Secure code into a separate file
oliviermartin [Sat, 11 Jun 2011 12:12:49 +0000 (12:12 +0000)]
ArmPlatformPkg/ArmVExpressLib: Move Secure code into a separate file

The code specific to the secure intialization has been moved into a
separate file that is not linked with the Normal world version of the
library.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11810 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg/ArmRealViewEbPkg: Fix some register definitions
oliviermartin [Sat, 11 Jun 2011 12:11:29 +0000 (12:11 +0000)]
ArmPlatformPkg/ArmRealViewEbPkg: Fix some register definitions

Some registers were not correctly set. Some other registers do not
exist on ARM RealView EB.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11809 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg: Code cleaning
oliviermartin [Sat, 11 Jun 2011 12:10:19 +0000 (12:10 +0000)]
ArmPlatformPkg: Code cleaning

- Fix coding style to follow EDK2 coding convention
- Remove deprecated function
- Remove unused PCDs

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11808 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg/ArmVExpressPkg: Introduce the PcdNorFlashRemapping feature PCD
oliviermartin [Sat, 11 Jun 2011 12:08:36 +0000 (12:08 +0000)]
ArmPlatformPkg/ArmVExpressPkg: Introduce the PcdNorFlashRemapping feature PCD

Platform designers can decide to not remap the DRAM at 0x0 on the VExpress motherboard.
This PCD can be used to set this feature.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11807 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg: Unify the Secure and Normal FD and FV PCD naming
oliviermartin [Sat, 11 Jun 2011 12:06:59 +0000 (12:06 +0000)]
ArmPlatformPkg: Unify the Secure and Normal FD and FV PCD naming

With this change, we now have these following PCDs values to define the
location of the Secure and Normal firmwares:
- gArmTokenSpaceGuid.PcdSecureFd(BaseAddress|Size)
- gArmTokenSpaceGuid.PcdSecureFv(BaseAddress|Size)
- gArmTokenSpaceGuid.PcdNormalFd(BaseAddress|Size)
- gArmTokenSpaceGuid.PcdNormalFv(BaseAddress|Size)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11806 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg: Clean DSC files
oliviermartin [Sat, 11 Jun 2011 12:04:41 +0000 (12:04 +0000)]
ArmPlatformPkg: Clean DSC files

Remove unused or duplicated libraries declarations

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11805 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg/ArmRealViewEbPkg: Fixed General Interrupt Controller Base Address
oliviermartin [Sat, 11 Jun 2011 12:03:48 +0000 (12:03 +0000)]
ArmPlatformPkg/ArmRealViewEbPkg: Fixed General Interrupt Controller Base Address

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11804 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg/PrePeiCore: Reserve some memory on the top of the stack for Global...
oliviermartin [Sat, 11 Jun 2011 12:03:00 +0000 (12:03 +0000)]
ArmPlatformPkg/PrePeiCore: Reserve some memory on the top of the stack for Global Variables in XIP code

The size of this memory is controlled by a PCD. The Global Variable in this regsion are defined by their offset.

This memory region can be use to store the PEI Services Table Pointer.
Update the PeiServicesTablePointerLib to use this region instead of PcdPeiServicePtrAddr.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11803 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg: Enable console splitter for all ARM platforms
oliviermartin [Sat, 11 Jun 2011 12:00:58 +0000 (12:00 +0000)]
ArmPlatformPkg: Enable console splitter for all ARM platforms

The Graphics Output Protocol is enable by default.

Note: ArmRealViewEb RTSM supports the LCD controller as well.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11802 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg/EblCmdLib: Add the 'devicepaths' EBL command
oliviermartin [Sat, 11 Jun 2011 11:59:31 +0000 (11:59 +0000)]
ArmPlatformPkg/EblCmdLib: Add the 'devicepaths' EBL command

This command start alls the available drivers and prints out all the
device paths of the platform.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11801 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg/Bds: Upgrade the BDS to be more conformed to the UEFI Specification
oliviermartin [Sat, 11 Jun 2011 11:58:23 +0000 (11:58 +0000)]
ArmPlatformPkg/Bds: Upgrade the BDS to be more conformed to the UEFI Specification

The UEFI Specification defines some requirement related to the Boot Manager.
This new version of the BDS support most of the features:
- TimeOut, BootNext, BootOrder, Boot### environment variable for boot device selection
- ConOut. ConIn, ConErr environment variables for console intialization
- Boot EFI application defined by a Device Path
- Support removable devices
- Support FileSystem, MemMap, PXE and TFTP boot devices

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11800 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPkg/BdsLib: Upgrade the library to use natively the Device Path
oliviermartin [Sat, 11 Jun 2011 11:56:30 +0000 (11:56 +0000)]
ArmPkg/BdsLib: Upgrade the library to use natively the Device Path

The previous version was using the string representation of the Device Path.
This new version takes as paramater the binary representation of the Device Path

It also tries to detect which kind of device support it refers by using the remaining
part of the Device Path after it has been loaded by gBS->ConnectController()

Lots of bug have been fixed as well in this new version.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11799 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoEmbeddedPkg/Ebl: Move the flag string %a for the path from the PCD to the function...
oliviermartin [Sat, 11 Jun 2011 11:28:59 +0000 (11:28 +0000)]
EmbeddedPkg/Ebl: Move the flag string %a for the path from the PCD to the function call

The UEFI platform designer had to add '%a' to their EBL prompt PCD to print out the path
in the shell.
This change makes the addition of the path automatically after the platform specific value
in the EBL shell.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11798 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPkg/PL35xSmc: Split the SMC initialization in multiple Chip Select initialization...
oliviermartin [Sat, 11 Jun 2011 11:26:42 +0000 (11:26 +0000)]
ArmPkg/PL35xSmc: Split the SMC initialization in multiple Chip Select initialization functions

Some ArmVExpress-based tiles do not map all the ArmVExpress Chips into their memory map.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11797 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg/ArmRealViewEb: Add SysConfigLib support
oliviermartin [Sat, 11 Jun 2011 11:25:03 +0000 (11:25 +0000)]
ArmPlatformPkg/ArmRealViewEb: Add SysConfigLib support

The ARM RealViewEB tiles could have their microcontrollers mapped into the
ARM RealView EB motherboard memory map

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11796 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg: Add PL061 GPIO driver
oliviermartin [Sat, 11 Jun 2011 11:23:39 +0000 (11:23 +0000)]
ArmPlatformPkg: Add PL061 GPIO driver

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11795 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg: Add SP805 Watchdog support
oliviermartin [Sat, 11 Jun 2011 11:22:05 +0000 (11:22 +0000)]
ArmPlatformPkg: Add SP805 Watchdog support

- Create SP805 Watchdog timer
- Enable this new driver on VExpress Cortex-A9x4 Core tile

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11794 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg/PL031RealTimeClockLib: Implement PL031 RTC drive
oliviermartin [Sat, 11 Jun 2011 11:20:27 +0000 (11:20 +0000)]
ArmPlatformPkg/PL031RealTimeClockLib: Implement PL031 RTC drive

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11793 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg/ArmVExpressPkg: Use SysConfigLib in ResetSystemLib
oliviermartin [Sat, 11 Jun 2011 11:18:40 +0000 (11:18 +0000)]
ArmPlatformPkg/ArmVExpressPkg: Use SysConfigLib in ResetSystemLib

On ARM Versatile Express, the microcontroller can reset the entire platform.
The micro-controller can be accessed by the SysConfigLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11792 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg/SP804TimerDxe: Replaced Interrupt number #define by a PCD
oliviermartin [Sat, 11 Jun 2011 11:17:41 +0000 (11:17 +0000)]
ArmPlatformPkg/SP804TimerDxe: Replaced Interrupt number #define by a PCD

The PcdSP804Timer0InterruptNum defines the interrupt number attached to SP804 Timer0.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11791 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg/NorFlashDxe: Update copyright date
oliviermartin [Sat, 11 Jun 2011 11:16:50 +0000 (11:16 +0000)]
ArmPlatformPkg/NorFlashDxe: Update copyright date

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11790 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPkg: Fix coding style to follow EDK2 coding convention
oliviermartin [Sat, 11 Jun 2011 11:15:55 +0000 (11:15 +0000)]
ArmPkg: Fix coding style to follow EDK2 coding convention

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11789 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPkg/PL180MciDxe: Replace VenHw Device Path GUID by EFI_CALLER_ID_GUID
oliviermartin [Sat, 11 Jun 2011 11:14:51 +0000 (11:14 +0000)]
ArmPkg/PL180MciDxe: Replace VenHw Device Path GUID by EFI_CALLER_ID_GUID

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11788 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg/ArmRealViewEb: Add support for PL111 Lcd controller
oliviermartin [Sat, 11 Jun 2011 11:14:06 +0000 (11:14 +0000)]
ArmPlatformPkg/ArmRealViewEb: Add support for PL111 Lcd controller

- Add the LcdGraphicsOutputDxe driver to DSC and FDF file.
- Implement LcdPlatformLib for the platform.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11787 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg: Add support for PL111 Lcd driver
oliviermartin [Sat, 11 Jun 2011 11:12:38 +0000 (11:12 +0000)]
ArmPlatformPkg: Add support for PL111 Lcd driver

This driver implements the interface for the PL111 Lcd controller.
The LcdPlatformLib allows to set the platform specific requirements
needed by the platform for setting the LCD (oscillators, etc).

ArmPlatformPkg/ArmVExpressPkg: Implement LcdPlatformLib

This library exports the supported resolutions. It also allocates the
memory for the framebuffer and send the correct settings to the VExpress
motherboard microcontroller.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11786 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPlatformPkg: Introduce ArmPlatformSysConfigLib
oliviermartin [Sat, 11 Jun 2011 11:08:34 +0000 (11:08 +0000)]
ArmPlatformPkg: Introduce ArmPlatformSysConfigLib

The purpose of this library is to create an interface to communicate
with the platform micro-controller.
It abstracts the communication protocol (eg: SPI, UART, etc) between
the application processor and the micro-controller.

ArmPlatformPkg/ArmVExpressPkg: Implement ArmPlaformSysConfigLib

This implementation allows to communicate with the microcontroller of the
Versatile Express motherboard.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11785 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd ESAL support libraries to MdePkg
mdkinney [Fri, 10 Jun 2011 18:58:08 +0000 (18:58 +0000)]
Add ESAL support libraries to MdePkg

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11784 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoSet *ImageHandle to NULL when LoadImage() returns EFI_ACCESS_DENIED.
niruiyu [Fri, 10 Jun 2011 03:05:40 +0000 (03:05 +0000)]
Set *ImageHandle to NULL when LoadImage() returns EFI_ACCESS_DENIED.

Signed-off-by: niruiyu
Reviewed-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11783 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd the missing logic in HiiConfigRouting ExtractConfig() to retrieves FALSE as defau...
lgao4 [Fri, 10 Jun 2011 02:11:52 +0000 (02:11 +0000)]
Add the missing logic in HiiConfigRouting ExtractConfig() to retrieves FALSE as default value for CheckBox without default flag.

Signed-off-by: lgao4
Reviewed-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11782 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoInOsEmuPkg: Add the EFI parts of the Simple Network Protocol
andrewfish [Thu, 9 Jun 2011 19:31:56 +0000 (19:31 +0000)]
InOsEmuPkg: Add the EFI parts of the Simple Network Protocol

This only adds the EFI parts and not the OS specific implementation. Since the EFI parts no longer use system include files this is safe to do. Also fix two minor typos.

Signed-off-by:andrewfish

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11781 6f19259b-4bc3-4df7-8a09-765794883524

12 years ago1. Fix PXE performance issue : enhance EfiPxeBcSetIpFilter() to eliminate unnecessary...
hhuan13 [Thu, 9 Jun 2011 09:25:48 +0000 (09:25 +0000)]
1. Fix PXE performance issue : enhance EfiPxeBcSetIpFilter() to eliminate unnecessary re-configure UdpRead operation.

Reviewed-by: xdu2
Signed-off-by: hhuan13
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11780 6f19259b-4bc3-4df7-8a09-765794883524