]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
12 years agoCorrect inconsistent information in IpsecConfig.efi help report.
qianouyang [Thu, 29 Sep 2011 06:49:17 +0000 (06:49 +0000)]
Correct inconsistent information in IpsecConfig.efi help report.

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

12 years agoAdd pointer check for NULL before dereference it.
ydong10 [Thu, 29 Sep 2011 06:38:55 +0000 (06:38 +0000)]
Add pointer check for NULL before dereference it.

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

12 years agoAdd RomImage pointer NULL check.
li-elvin [Thu, 29 Sep 2011 06:35:51 +0000 (06:35 +0000)]
Add RomImage pointer NULL check.

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

12 years agoAdd pointer check for NULL before dereference it.
ydong10 [Thu, 29 Sep 2011 06:33:23 +0000 (06:33 +0000)]
Add pointer check for NULL before dereference it.

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

12 years agoAdd more check to avoid access violation.
ydong10 [Thu, 29 Sep 2011 01:10:20 +0000 (01:10 +0000)]
Add more check to avoid access violation.

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

12 years agoArmPlatformPkg/Bds: Fix GetConsoleDevicePathFromVariable() when SetVariable has failed
oliviermartin [Wed, 28 Sep 2011 19:05:54 +0000 (19:05 +0000)]
ArmPlatformPkg/Bds: Fix GetConsoleDevicePathFromVariable() when SetVariable has failed

Return the Default Device Path even when SetVariable has failed.

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

12 years agoBeagleBoardPkg: Replaced the original DSC/FDF files by their new versions that use...
oliviermartin [Wed, 28 Sep 2011 18:59:32 +0000 (18:59 +0000)]
BeagleBoardPkg: Replaced the original DSC/FDF files by their new versions that use the ARM Platform Framework

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

12 years agoBeagleBoardPkg: Removed 'SimpleTextInOutSerial' driver
oliviermartin [Wed, 28 Sep 2011 18:55:40 +0000 (18:55 +0000)]
BeagleBoardPkg: Removed 'SimpleTextInOutSerial' driver

The BeagleBoard is now using ConSplitter.
Update the Console DevicePaths to point to the Console Splitter driver.

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

12 years agoEdkCompatibilityPkg SmmBaseHelper: Fix PageFaultHandlerHook assembly code to use...
rsun3 [Wed, 28 Sep 2011 09:00:06 +0000 (09:00 +0000)]
EdkCompatibilityPkg SmmBaseHelper: Fix PageFaultHandlerHook assembly code to use AL register for return value from PageFaultHandler().

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

12 years agoMdeModulePkg PCI Bus Driver: Add more checks before dispatching an EFI PCI Option...
rsun3 [Wed, 28 Sep 2011 07:50:58 +0000 (07:50 +0000)]
MdeModulePkg PCI Bus Driver: Add more checks before dispatching an EFI PCI Option ROM image.

* Check if the machine type of the image is supported by the current UEFI system.
* Ignore the image if it is an EFI application as required by the UEFI spec.

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

12 years agoBefore decrypting the packet, Ipsec will check if the inbound protected packet is...
qianouyang [Wed, 28 Sep 2011 03:20:22 +0000 (03:20 +0000)]
Before decrypting the packet, Ipsec will check if the inbound protected packet is mal-format. If yes, discard it.

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

12 years agoUefiCpuPkg VTF0: Fix support for finding SEC image of type TE.
rsun3 [Wed, 28 Sep 2011 01:36:33 +0000 (01:36 +0000)]
UefiCpuPkg VTF0: Fix support for finding SEC image of type TE.

Update Flat32SearchForSecEntryPoint assembly code to support finding an SEC image using the TE image format.

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

12 years agoArmPkg/BdsLib: Fix incorrect pointer casting
oliviermartin [Tue, 27 Sep 2011 18:27:20 +0000 (18:27 +0000)]
ArmPkg/BdsLib: Fix incorrect pointer casting

A physical address (64bit) was cast to a 32bit pointer.

Signed-off-by: Eugene Cohen (HP)
Reviewed-by: oliviermartin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12460 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoArmPkg/CompilerIntrinsicsLib: Fix __aeabi_memclr and __aeabi_memclr4
oliviermartin [Tue, 27 Sep 2011 18:13:26 +0000 (18:13 +0000)]
ArmPkg/CompilerIntrinsicsLib: Fix __aeabi_memclr and __aeabi_memclr4

The passed arguments did not match the __aeabi_memset prototype.

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

12 years agoARM Packages: Fixed Build failings/warnings/EDK2 coding convention
oliviermartin [Tue, 27 Sep 2011 16:42:47 +0000 (16:42 +0000)]
ARM Packages: Fixed Build failings/warnings/EDK2 coding convention

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

12 years agoArmPlatformPkg: Create an ARM Platform DSC / FDF / ArmPlatformLib template
oliviermartin [Tue, 27 Sep 2011 16:40:46 +0000 (16:40 +0000)]
ArmPlatformPkg: Create an ARM Platform DSC / FDF / ArmPlatformLib template

By copying these templates, it should make easier to port EDK2 to new ARM
Platforms.

- ArmPlatformPkg.(dsc|fdf): For EDK2 firmwares which support the full boot
story from cold boot to OS loading
- ArmPlatformPkg-2ndstage.(dsc|fdf): For EDK2 as a second stage boot loader
(either started after a proprietary ROM firmware or x-loader)

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

12 years agoArmPlatformPkg: Add support for ARM RTSM Versatile Express A15x1 and A15x4
oliviermartin [Tue, 27 Sep 2011 16:37:01 +0000 (16:37 +0000)]
ArmPlatformPkg: Add support for ARM RTSM Versatile Express A15x1 and A15x4

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

12 years agoArmPkg: Add ARM Architectural Timer support
oliviermartin [Tue, 27 Sep 2011 16:35:16 +0000 (16:35 +0000)]
ArmPkg: Add ARM Architectural Timer support

ARM Architectural Timer support is defined by the ARM Generic Timer Specification.

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

12 years agoArmPkg/ArmLib: Update Arm11 port
oliviermartin [Tue, 27 Sep 2011 16:33:20 +0000 (16:33 +0000)]
ArmPkg/ArmLib: Update Arm11 port

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

12 years agoArmPkg/ArmLib: Clean ArmV7Lib
oliviermartin [Tue, 27 Sep 2011 16:31:20 +0000 (16:31 +0000)]
ArmPkg/ArmLib: Clean ArmV7Lib

- Move the non specific ArmV7 functions to ArmLib.
- Clean the ARM Platform common components to not depend on ArmV7 if not required

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

12 years agoArmPlatformPkg: Replaced 'ArmPlatformTrustzoneSupported' by the fixed Pcd gArmTokenSp...
oliviermartin [Tue, 27 Sep 2011 16:29:07 +0000 (16:29 +0000)]
ArmPlatformPkg: Replaced 'ArmPlatformTrustzoneSupported' by the fixed Pcd gArmTokenSpaceGuid.PcdTrustzoneSupport

This change does not make possible to disable Trustzone from the firmware.
The firmware has to be built for Trustzone support enabled or disabled.

The memory page table are now defined as 'Normal Memory' in any case.
Except for RTSM Device Memory which as to be Secure Device Memory due
to a RTSM bug.

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

12 years agoArmPlatformPkg: Replaced '!if' conditions by more appropriate '!ifdef' conditions
oliviermartin [Tue, 27 Sep 2011 16:27:05 +0000 (16:27 +0000)]
ArmPlatformPkg: Replaced '!if' conditions by more appropriate '!ifdef' conditions

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

12 years agoArmPkg: Introduce ArmCpuLib to abstract ARM Cpu specific initialization (2)
oliviermartin [Tue, 27 Sep 2011 16:26:03 +0000 (16:26 +0000)]
ArmPkg: Introduce ArmCpuLib to abstract ARM Cpu specific initialization (2)

Missed new files.

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

12 years agoArmPkg: Removed 'ArmV7/ArmV7MPCore*' files
oliviermartin [Tue, 27 Sep 2011 16:24:30 +0000 (16:24 +0000)]
ArmPkg: Removed 'ArmV7/ArmV7MPCore*' files

These files were Cortex A9 specific. The A9 specific functions have
moved to ArmCpuLib/ArmCortexA9Lib.

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

12 years agoArmPkg: Introduce ArmCpuLib to abstract ARM Cpu specific initialization
oliviermartin [Tue, 27 Sep 2011 16:22:09 +0000 (16:22 +0000)]
ArmPkg: Introduce ArmCpuLib to abstract ARM Cpu specific initialization

Every CPUs have their own initialization requirements.
This library allows to allows to abstract these initialization requirements
into the ARM Platform common components.

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

12 years agoImplement Tcg physical presence as a library instead of DXE driver in order that...
gdong1 [Tue, 27 Sep 2011 08:44:33 +0000 (08:44 +0000)]
Implement Tcg physical presence as a library instead of DXE driver in order that TPM can be locked as early as possible.

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

12 years agoFix ICC9 build break.
lgao4 [Tue, 27 Sep 2011 03:46:25 +0000 (03:46 +0000)]
Fix ICC9 build break.
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12446 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRemove ASSERT (EFI_IMAGE_MACHINE_TYPE_SUPPORTED (Image->Machine)) in StartImage.
lgao4 [Mon, 26 Sep 2011 09:32:30 +0000 (09:32 +0000)]
Remove ASSERT (EFI_IMAGE_MACHINE_TYPE_SUPPORTED (Image->Machine)) in StartImage.
Signed-off-by: lgao4
Reviewed-by: jyao1 rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12443 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoEdkCompatibilityPkg MpServicesOnFrameworkMpServicesThunk: Check for x2APIC mode befor...
rsun3 [Mon, 26 Sep 2011 07:36:15 +0000 (07:36 +0000)]
EdkCompatibilityPkg MpServicesOnFrameworkMpServicesThunk: Check for x2APIC mode before accessing the APIC ID register in RendezvousFunnelProc().

Contributed by Bruce Losure.

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

12 years agoThe ParentDevicePath is not initialized when error happened and went to Done. So...
li-elvin [Mon, 26 Sep 2011 06:01:07 +0000 (06:01 +0000)]
The ParentDevicePath is not initialized when error happened and went to Done. So the ParentDevicePath is moved to the beginning of Start ().

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

12 years agoArmPlatformPkg/patches: Update the pending patches with the updated ARMGCC and RVCT...
oliviermartin [Fri, 23 Sep 2011 09:05:36 +0000 (09:05 +0000)]
ArmPlatformPkg/patches: Update the pending patches with the updated ARMGCC and RVCT toolchains and the new ARMLINUXGCC toolchain patches.

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

12 years agoerror handling enhancement for possible null pointer dereference
vanjeff [Fri, 23 Sep 2011 07:44:49 +0000 (07:44 +0000)]
error handling enhancement for possible null pointer dereference

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

12 years agoRoll back r12434.
vanjeff [Fri, 23 Sep 2011 06:45:16 +0000 (06:45 +0000)]
Roll back r12434.

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

12 years agoSync BaseTools Branch (version r2324) to EDKII main trunk.
lgao4 [Fri, 23 Sep 2011 06:03:45 +0000 (06:03 +0000)]
Sync BaseTools Branch (version r2324) to EDKII main trunk.
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12435 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoerror handling enhancement for possible null pointer dereference
erictian [Fri, 23 Sep 2011 05:17:31 +0000 (05:17 +0000)]
error handling enhancement for possible null pointer dereference

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

12 years agoBeagleBoardPkg: The FDF file does not reserve any more the area for the OMAP35xxx...
oliviermartin [Thu, 22 Sep 2011 23:25:39 +0000 (23:25 +0000)]
BeagleBoardPkg: The FDF file does not reserve any more the area for the OMAP35xxx header

It is the tool BeagleBoardPkg/Tools/generate_image which will add a CH header to a the
BeagleBoard FD file.

The build macro EDK2_SECOND_STAGE_BOOTOLADER is not required any more.

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

12 years agoBeagleBoardPkg: Add Display Driver support to the BeagleBoard
oliviermartin [Thu, 22 Sep 2011 23:24:54 +0000 (23:24 +0000)]
BeagleBoardPkg: Add Display Driver support to the BeagleBoard

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

12 years agoBeagleBoardPkg: Set paddings following the BeagleBoard revision (A, B, xM, etc)
oliviermartin [Thu, 22 Sep 2011 23:23:54 +0000 (23:23 +0000)]
BeagleBoardPkg: Set paddings following the BeagleBoard revision (A, B, xM, etc)

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

12 years agoArmPlatformPkg/Bds: Add an option in the Boot Manager to edit the Device Path of...
oliviermartin [Thu, 22 Sep 2011 23:23:19 +0000 (23:23 +0000)]
ArmPlatformPkg/Bds: Add an option in the Boot Manager to edit the Device Path of the Platform Device Tree

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

12 years agoArmPlatformPkg/ArmVExpressPkg: Add support for ARM Versatile Express A9x4 Model
oliviermartin [Thu, 22 Sep 2011 23:22:31 +0000 (23:22 +0000)]
ArmPlatformPkg/ArmVExpressPkg: Add support for ARM Versatile Express A9x4 Model

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

12 years agoArmPlatformPkg/ArmiVExpressPkg: Introduce 'ArmVExpress.dsc.inc' to avoid duplication...
oliviermartin [Thu, 22 Sep 2011 23:21:02 +0000 (23:21 +0000)]
ArmPlatformPkg/ArmiVExpressPkg: Introduce 'ArmVExpress.dsc.inc' to avoid duplication of library and PCD defintions around ARM Versatile Express Boards

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

12 years agoArmPlatformPkg/ArmRealViewEbPkg: Introduce 'ArmRealViewEb.dsc.inc' to avoid duplicati...
oliviermartin [Thu, 22 Sep 2011 23:19:23 +0000 (23:19 +0000)]
ArmPlatformPkg/ArmRealViewEbPkg: Introduce 'ArmRealViewEb.dsc.inc' to avoid duplication of library and PCD defintions around ARM RealView Emulation Boards

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

12 years agoArmPkg/ArmV7: Move the MMU specific macros into 'Chipset/ArmV7Mmu.h
oliviermartin [Thu, 22 Sep 2011 23:18:09 +0000 (23:18 +0000)]
ArmPkg/ArmV7: Move the MMU specific macros into 'Chipset/ArmV7Mmu.h

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

12 years agoArmPlatformPkg/ArmRealViewEbPkg: Removed unused 'Pei' module
oliviermartin [Thu, 22 Sep 2011 23:16:56 +0000 (23:16 +0000)]
ArmPlatformPkg/ArmRealViewEbPkg: Removed unused 'Pei' module

ArmRealViewEbPkg is now using the ArmPlatform Common modules (ArmPlatformPkg/Sec
and ArmPlatformPkg/PrePeiCore).

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

12 years agoArmPkg: Removed deprecated 'ArmMPCoreMailBoxLib'
oliviermartin [Thu, 22 Sep 2011 23:16:04 +0000 (23:16 +0000)]
ArmPkg: Removed deprecated 'ArmMPCoreMailBoxLib'

This library has been replaced by ArmMpCoreInfo PPI and HOBs.

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

12 years agoArmPkg: Create MpCoreInfo PPI and HOB to describe CPU Cores on a MPCore platform
oliviermartin [Thu, 22 Sep 2011 23:14:01 +0000 (23:14 +0000)]
ArmPkg: Create MpCoreInfo PPI and HOB to describe CPU Cores on a MPCore platform

These info are:
- ClusterId, CoreId
- MailBox Set/Get/Clear address

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

12 years agoArmPlatformPkg: Add ArmPlatformGetPlatformPpiList()
oliviermartin [Thu, 22 Sep 2011 23:12:23 +0000 (23:12 +0000)]
ArmPlatformPkg: Add ArmPlatformGetPlatformPpiList()

This function exposes the Platform Specific PPIs. They can be used by
any PrePi modules or passed to the PeiCore by PrePeiCore

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

12 years agoArmPlatformPkg/PrePeiCore: Reverse Stack & PeiTemporary
oliviermartin [Thu, 22 Sep 2011 23:11:34 +0000 (23:11 +0000)]
ArmPlatformPkg/PrePeiCore: Reverse Stack & PeiTemporary

To get the global variable at top of the Primary Stack such as in the Pei module.

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

12 years agoArmPlatformPkg: Introduce ArmPlatformGlobalVariableLib
oliviermartin [Thu, 22 Sep 2011 23:11:03 +0000 (23:11 +0000)]
ArmPlatformPkg: Introduce ArmPlatformGlobalVariableLib

This library hides where the 'XIP' Global Variable are located in the memory.
It is expected the Sec/PrePi modules define the Global Variable area through
the GlobalVariable HOB.

The ArmPlatformGlobalVariableLib library allows access to global variables by
their offsets in this region.

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

12 years agoArmPlatformPkg/Sec: Clean and Move all declaration into 'SecInternal.h' (2)
oliviermartin [Thu, 22 Sep 2011 23:08:40 +0000 (23:08 +0000)]
ArmPlatformPkg/Sec: Clean and Move all declaration into 'SecInternal.h' (2)

Missed header file.

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

12 years agoArmPlatformPkg/PrePi: Removed the dependency on 'PcdCPUCoresNonSecStackBase'
oliviermartin [Thu, 22 Sep 2011 23:07:55 +0000 (23:07 +0000)]
ArmPlatformPkg/PrePi: Removed the dependency on 'PcdCPUCoresNonSecStackBase'

In PrePi the StackBase is automatically calculated from the top of the memory.
The information is now passed from the assembly files to the C code.

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

12 years agoArmPlatformPkg/Sec: Clean and Move all declaration into 'SecInternal.h'
oliviermartin [Thu, 22 Sep 2011 23:07:06 +0000 (23:07 +0000)]
ArmPlatformPkg/Sec: Clean and Move all declaration into 'SecInternal.h'

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

12 years agoARM Packages: Rename PcdNormal* into Pcd* PCDs
oliviermartin [Thu, 22 Sep 2011 23:06:31 +0000 (23:06 +0000)]
ARM Packages: Rename PcdNormal* into Pcd* PCDs

The denomination 'Normal' was used to make reference to the 'Normal'
or 'Non Secure' or 'Non Trusted' world.
To avoid confusion, this prefix has been removed from PCDs to define
the normal world.

The PCDs explicitely related to the Secure/Trusted World continue to
have the 'Sec' prefix.

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

12 years agoArmPlatformPkg: Changed memory model for the stacks
oliviermartin [Thu, 22 Sep 2011 23:05:20 +0000 (23:05 +0000)]
ArmPlatformPkg: Changed memory model for the stacks

In the previous version, every cores had the same stack size.
To avoid to waste memory with secondary core stacks, the primary core stack
size is now different from the secondary cores stack size.

These are the Stack PCDs and their default values:

gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0
gArmPlatformTokenSpaceGuid.PcdCPUCoreSecPrimaryStackSize|0x10000
gArmPlatformTokenSpaceGuid.PcdCPUCoreSecSecondaryStackSize|0x1000

gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0
gArmPlatformTokenSpaceGuid.PcdCPUCoreSecMonStackSize|0x1000

gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0
gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x10000
gArmPlatformTokenSpaceGuid.PcdCPUCoreSecondaryStackSize|0x1000

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

12 years agoArmPlatformPkg/ArmPlatformLib: Removed 'ArmPlatformIsMemoryInitialized' function
oliviermartin [Thu, 22 Sep 2011 23:04:06 +0000 (23:04 +0000)]
ArmPlatformPkg/ArmPlatformLib: Removed 'ArmPlatformIsMemoryInitialized' function

'ArmPlatformInitializeBootMemory' function can check if the memory has already
been initialized.

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

12 years agoArmPlatformPkg/ArmPlatformLib: Introduce ArmPlatformSecBootAction function
oliviermartin [Thu, 22 Sep 2011 23:02:13 +0000 (23:02 +0000)]
ArmPlatformPkg/ArmPlatformLib: Introduce ArmPlatformSecBootAction function

This function is called at the initial stage of the Secure boot process to allow
platform vendors to add early actions.

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

12 years agoArmPlatformPkg: Introduce Primary core macros
oliviermartin [Thu, 22 Sep 2011 23:01:13 +0000 (23:01 +0000)]
ArmPlatformPkg: Introduce Primary core macros

On MpCore system, the primary core can now be any core of the system.

To identify the primary core, you can use 'gArmTokenSpaceGuid.PcdArmPrimaryCoreMask'
and 'gArmTokenSpaceGuid.PcdArmPrimaryCore'.
These PCDs by default use the ClusterId and CoreId to identify the core. And the
primary core is defined as the ClusetrId=0 and CoreId=0.

The helper macros are: IS_PRIMARY_CORE(MpId), GET_CORE_ID(MpId), GET_CLUSTER_ID(MpId),
GET_CORE_POS(MpId), PRIMARY_CORE_ID.

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

12 years agoArmPkg: Renamed library 'PL390GicLib' into 'ArmGicLib'
oliviermartin [Thu, 22 Sep 2011 22:59:52 +0000 (22:59 +0000)]
ArmPkg: Renamed library 'PL390GicLib' into 'ArmGicLib'

This library is the interface for the ARM Generic Interrupt Controller
Architecture Specification.
ARM Platform can use any GIC controller (not necessary PL390 GIC).

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

12 years agoArmPkg/Application/LinuxLoader: Create a Linux Loader EFI application
oliviermartin [Thu, 22 Sep 2011 22:57:03 +0000 (22:57 +0000)]
ArmPkg/Application/LinuxLoader: Create a Linux Loader EFI application

There are two variants of the Linux Loader EFI application:
- the ATAG version 'LinuxAtagLoader.inf': expect to start an ATAG 'zImage'
in the same directory as the EFI application
- the FDT version 'LinuxFdtLoader.inf': load the FDT blob 'platform.dtb'
and the FDT 'zImage' from the same directory as the EFI application.

When these applications are started without any argument, a menu appears
to the user to create/update a boot entry.

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

12 years agoArmPkg/BdsLib: Move the code specific to the Atag preparation into a separate file
oliviermartin [Thu, 22 Sep 2011 22:55:54 +0000 (22:55 +0000)]
ArmPkg/BdsLib: Move the code specific to the Atag preparation into a separate file

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

12 years agoArmPkg/BdsLib: Use two distinct functions to boot Linux either by Atag or Fdt
oliviermartin [Thu, 22 Sep 2011 22:54:38 +0000 (22:54 +0000)]
ArmPkg/BdsLib: Use two distinct functions to boot Linux either by Atag or Fdt

Separate the BdsBootLinux() function into two functions for Atag and Fdt specific Linux booting
- BdsBootLinuxAtag ()
- BdsBootLinuxFdt ()

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

12 years agoArm Packages: Fixed coding style/Line endings to follow EDK2 coding convention
oliviermartin [Thu, 22 Sep 2011 22:53:54 +0000 (22:53 +0000)]
Arm Packages: Fixed coding style/Line endings to follow EDK2 coding convention

Arm Packages: Fixed mispelling

Arm Packages: Reduced warnings all over the code

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

12 years agoEmbeddedPkg/Ebl: Fix EBL copy file command
oliviermartin [Thu, 22 Sep 2011 22:52:16 +0000 (22:52 +0000)]
EmbeddedPkg/Ebl: Fix EBL copy file command

In the previous version, this command was not working:
cp fs0:\zImage fs1:\

This change uses the source filename is the destination
filename is not specified.

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

12 years agoArmPlatformPkg/Bds: Fix menu when no boot entry are present for deletion or update
oliviermartin [Thu, 22 Sep 2011 22:51:35 +0000 (22:51 +0000)]
ArmPlatformPkg/Bds: Fix menu when no boot entry are present for deletion or update

When there are no boot entries to delete, the boot manager was prompting the
user to select an entry to delete. This fix prints a message to let the
user know that he is trying delete boot entry when there are none.

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

12 years agoArmPlatformPkg/Bds: Fixed initialization of default Boot Entry with an initrd
oliviermartin [Thu, 22 Sep 2011 22:50:13 +0000 (22:50 +0000)]
ArmPlatformPkg/Bds: Fixed initialization of default Boot Entry with an initrd

The Boot CmdLine was used instead of the initrd Device Path.

Issue found by Sivasakthivel N (AMI India)

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

12 years agoReturn empty string when END device path is passed in to align the original behavior...
niruiyu [Thu, 22 Sep 2011 02:56:38 +0000 (02:56 +0000)]
Return empty string when END device path is passed in to align the original behavior in order to keep backward compatibility.

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

12 years agofix build error.
erictian [Wed, 21 Sep 2011 06:59:17 +0000 (06:59 +0000)]
fix build error.

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

12 years agoAdd PCD for 1G page table
jyao1 [Wed, 21 Sep 2011 05:59:21 +0000 (05:59 +0000)]
Add PCD for 1G page table

signed-off-by: jyao1
reviewed-by: lgao4

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

12 years ago1. Enhance DxeImageVerificationLib to avoid some corrupted input.
hhuan13 [Wed, 21 Sep 2011 05:23:55 +0000 (05:23 +0000)]
1. Enhance DxeImageVerificationLib to avoid some corrupted input.

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

12 years ago1. Enhance AuthVar driver to avoid process corrupted certificate input.
hhuan13 [Wed, 21 Sep 2011 05:17:50 +0000 (05:17 +0000)]
1. Enhance AuthVar driver to avoid process corrupted certificate input.

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

12 years agoAdd PCD for 1G page table
jyao1 [Wed, 21 Sep 2011 03:45:35 +0000 (03:45 +0000)]
Add PCD for 1G page table

signed off by: jyao1
reviewed by: jfan12

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

12 years agoCoding style refinement.
erictian [Wed, 21 Sep 2011 03:35:54 +0000 (03:35 +0000)]
Coding style refinement.

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

12 years agoRemove EFI_USER_INFO_ACCESS_SETUP_ADMIN_GUID definition from MdeModulePkg, because...
lgao4 [Wed, 21 Sep 2011 02:50:24 +0000 (02:50 +0000)]
Remove EFI_USER_INFO_ACCESS_SETUP_ADMIN_GUID definition from MdeModulePkg, because it has been defined in MdePkg.
And, keep its definition into MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr to let VFR file consume it.

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

12 years agoClean up the private GUID definition in module Level.
lgao4 [Wed, 21 Sep 2011 01:56:00 +0000 (01:56 +0000)]
Clean up the private GUID definition in module Level.
Signed-off-by: lgao4
Reviewed-by: jcarsey
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12394 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoShellPkg: Verify DevicePathToText was successful before using the resultant pointer.
jcarsey [Tue, 20 Sep 2011 23:06:23 +0000 (23:06 +0000)]
ShellPkg: Verify DevicePathToText was successful before using the resultant pointer.

signed-off-by: jcarsey
reviewed-by: darylm503

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

12 years agoShellPkg: fix support for "\" (or "\.") meaning root of drive.
jcarsey [Tue, 20 Sep 2011 21:01:34 +0000 (21:01 +0000)]
ShellPkg: fix support for "\" (or "\.") meaning root of drive.

Cp command fixed to allow for copying single or multiple files to the root of the drive with destination directory \.
Cd command fixed to allow for changing CWD to the root of the drive with destination directory \.

signed-off-by: jcarsey
reviewed-by: geekboy15a

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

12 years agoArmPlatformPkg/patches: Updated list of Pending patches after latest BaseTools sync
oliviermartin [Tue, 20 Sep 2011 16:09:47 +0000 (16:09 +0000)]
ArmPlatformPkg/patches: Updated list of Pending patches after latest BaseTools sync

BaseTools-GenC-Cast-Pcd-Types.patch changes are now part of the EDK2 Basetools mainline.

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

12 years agoMdeModulePkg PeiMain: Enhance the PEI Core to convert GUID/PPI pointers pointing...
rsun3 [Tue, 20 Sep 2011 09:17:48 +0000 (09:17 +0000)]
MdeModulePkg PeiMain: Enhance the PEI Core to convert GUID/PPI pointers pointing to somewhere in the temporary stack in PPI descriptors.

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

12 years agoFix the issue that null pointer may be dereferenced at SourceLevelDebugPkg
erictian [Tue, 20 Sep 2011 08:07:54 +0000 (08:07 +0000)]
Fix the issue that null pointer may be dereferenced at SourceLevelDebugPkg

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

12 years agoUefiCpuPkg MTRR Library: enhance MTRR Library.
rsun3 [Tue, 20 Sep 2011 07:36:11 +0000 (07:36 +0000)]
UefiCpuPkg MTRR Library: enhance MTRR Library.

When it finds that a request range is covered by an existing MTRR with same cache type, the MTRR library set a flag and continues to check other MTRRs and invalidate any MTRR of the same request range with a higher-priority cache type.

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

12 years agoCorrect Include style to pass GCC build.
lgao4 [Tue, 20 Sep 2011 06:15:21 +0000 (06:15 +0000)]
Correct Include style to pass GCC build.
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12387 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoClean up the private GUID definition in module Level.
lgao4 [Tue, 20 Sep 2011 02:15:00 +0000 (02:15 +0000)]
Clean up the private GUID definition in module Level.
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12386 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoClean up the private GUID definition in module Level.
lgao4 [Tue, 20 Sep 2011 02:12:45 +0000 (02:12 +0000)]
Clean up the private GUID definition in module Level.

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

12 years agoUefiCpuPkg VTF0: Rename README to ReadMe.txt, add nasm version
ydong10 [Tue, 20 Sep 2011 01:49:52 +0000 (01:49 +0000)]
UefiCpuPkg VTF0: Rename README to ReadMe.txt, add nasm version

* Rename README to ReadMe.txt
* Document that nasm 2.03 or newer is required for building VTF0

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

12 years agoRefine code to follow coding style.
ydong10 [Tue, 20 Sep 2011 01:34:39 +0000 (01:34 +0000)]
Refine code to follow coding style.

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

12 years agoShellBinPkg: Update binaries.
jcarsey [Mon, 19 Sep 2011 17:24:20 +0000 (17:24 +0000)]
ShellBinPkg: Update binaries.

signed-off-by: jcarsey
reviewed-by:   geekboy15a

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

12 years agoCorrect 1G page table generation.
jyao1 [Mon, 19 Sep 2011 13:02:05 +0000 (13:02 +0000)]
Correct 1G page table generation.

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

12 years agoSync BaseTools Branch (version r2323) to EDKII main trunk.
lgao4 [Mon, 19 Sep 2011 09:03:59 +0000 (09:03 +0000)]
Sync BaseTools Branch (version r2323) to EDKII main trunk.

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

12 years agoThe patch enhances the Partition driver to return the media status (EFI_NO_MEDIA...
niruiyu [Mon, 19 Sep 2011 06:24:50 +0000 (06:24 +0000)]
The patch enhances the Partition driver to return the media status (EFI_NO_MEDIA/EFI_MEDIA_CHANGED) even the other parameters are not valid for BlockIo2 interfaces.

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

12 years agoRevert the wrong patch that adds NOOPT target into MdeModulePkg.dsc.
lgao4 [Sun, 18 Sep 2011 12:28:22 +0000 (12:28 +0000)]
Revert the wrong patch that adds NOOPT target into MdeModulePkg.dsc.
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12377 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoClean up the private GUID definition in module Level.
lgao4 [Sun, 18 Sep 2011 12:27:49 +0000 (12:27 +0000)]
Clean up the private GUID definition in module Level.
0. Remove the unused private GUID from module source files.
1. Use gEfiCallerIdGuid replace of the private module GUID.
2. Add the public header files to define HII FormSet and PackageList GUID used in every HII driver.

Signed-off-by: lgao4
Reviewed-by: ydong10 gdong1 tye jfan12 wli12 rsun3 jyao1 ftian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12376 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoClean up the private GUID definition in module Level.
lgao4 [Sun, 18 Sep 2011 12:25:27 +0000 (12:25 +0000)]
Clean up the private GUID definition in module Level.
0. Remove the unused private GUID from module source files.
1. Use gEfiCallerIdGuid replace of the private module GUID.
2. Add the public header files to define HII FormSet and PackageList GUID used in every HII driver.

Signed-off-by: lgao4
Reviewed-by: ydong10 gdong1 tye jfan12 wli12 rsun3 jyao1 ftian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12375 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoClean up the private GUID definition in module Level.
lgao4 [Sun, 18 Sep 2011 12:23:27 +0000 (12:23 +0000)]
Clean up the private GUID definition in module Level.
0. Remove the unused private GUID from module source files.
1. Use gEfiCallerIdGuid replace of the private module GUID.
2. Add the public header files to define HII FormSet and PackageList GUID used in every HII driver.
3. Publish EFI_LEGACY_DEV_ORDER_VARIABLE_GUID from BdsDxe driver and EFI_UPDATE_DATA_FILE_GUID from UpdateDriverDxe to IntelFrameworkModulePkg Include directory.

Signed-off-by: lgao4
Reviewed-by: ydong10 gdong1 tye jfan12 wli12 rsun3 jyao1 ftian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12374 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoClean up the private GUID definition in module Level.
lgao4 [Sun, 18 Sep 2011 12:21:01 +0000 (12:21 +0000)]
Clean up the private GUID definition in module Level.
0. Remove the unused private GUID from module source files.
1. Use gEfiCallerIdGuid replace of the private module GUID.
2. Add the public header files to define HII FormSet and PackageList GUID used in every HII driver.
3. Move two EBC protocols for debug purpose from EBC driver to MdeModulePkg Include directory.

Signed-off-by: lgao4
Reviewed-by: ydong10 gdong1 tye jfan12 wli12 rsun3 jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12373 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoSync BaseTools Branch (version r2321) to EDKII main trunk.
lgao4 [Sun, 18 Sep 2011 12:17:25 +0000 (12:17 +0000)]
Sync BaseTools Branch (version r2321) to EDKII main trunk.

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

12 years agoFix Build fail for NT32 platform.
ydong10 [Sat, 17 Sep 2011 06:48:27 +0000 (06:48 +0000)]
Fix Build fail for NT32 platform.

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

12 years agoStdLib: Change the last argument of the ioctl helper functions to va_list* from void*.
darylm503 [Fri, 16 Sep 2011 23:16:56 +0000 (23:16 +0000)]
StdLib: Change the last argument of the ioctl helper functions to va_list* from void*.

Functions which call these helper functions always pass the last parameter as a va_list argument.
Add a conditional block around a MSFT-only pragma so that stringlist.c will compile with GCC.
Comment-out the Socket Library components within StdLib.dsc.  These components are still in development.

Signed-off-by: darylm503
Reviewed by:   geekboy15A

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

12 years agoStdLib: Patches and updates for ARM.
darylm503 [Fri, 16 Sep 2011 20:59:10 +0000 (20:59 +0000)]
StdLib: Patches and updates for ARM.

Add ARMGCC and RVCT toolchain support.
Update and Add ARM specific machine headers.
Set the empty macro for __warn_references().
Make __flt_rounds() return 'Round to nearest' by default on ARM.

Signed-off-by: Olivier Martin [olivier.martin@arm.com]
Reviewed-by: darylm503
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12367 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoCorrect comments for NULL return value of HiiLib HiiAddPackages().
lgao4 [Fri, 16 Sep 2011 08:53:03 +0000 (08:53 +0000)]
Correct comments for NULL return value of HiiLib HiiAddPackages().
Signed-off-by: lgao4
Reviewed-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12366 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd exit action when Config_Access_Protocol.CallBack function returns Submit or Reset...
ydong10 [Fri, 16 Sep 2011 06:13:52 +0000 (06:13 +0000)]
Add exit action when Config_Access_Protocol.CallBack function returns Submit or Reset which is follow UEFI spec 2.3.1.
Also update the impact drivers to keep the old behaviors.

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