10 years agoUpdate applications to display correct error for gethostbyaddr and gethostbyname...
lpleahy [Tue, 4 Oct 2011 18:31:40 +0000 (18:31 +0000)]
Update applications to display correct error for gethostbyaddr and gethostbyname.  These APIs use h_errno instead of errno, see documentation at: linuxhowtos.org/manpages/3p/gethostbyaddr.htm

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

10 years agoArm Packages: Fix builds for XCODE32 toolchain
oliviermartin [Tue, 4 Oct 2011 13:58:28 +0000 (13:58 +0000)]
Arm Packages: Fix builds for XCODE32 toolchain

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

10 years agoStdLib: Improve robustness of stat() and make basename() a public function.
darylm503 [Mon, 3 Oct 2011 18:54:12 +0000 (18:54 +0000)]
StdLib: Improve robustness of stat() and make basename() a public function.
AppPkg: Refinements to pyconfig.h and port of getpath.c to EDK II.

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

10 years agoFix compilation errors detected with GCC 4.4
lpleahy [Fri, 30 Sep 2011 23:52:45 +0000 (23:52 +0000)]
Fix compilation errors detected with GCC 4.4

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

10 years agoUpdate the sockets applications
lpleahy [Fri, 30 Sep 2011 23:04:13 +0000 (23:04 +0000)]
Update the sockets applications
* Builds with GCC 4.4 compiler.

Signed-off by: lpleahy

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

10 years agoUpdate the sockets library code
lpleahy [Fri, 30 Sep 2011 23:02:35 +0000 (23:02 +0000)]
Update the sockets library code
* Passes conformance and functional tests.
* Builds with GCC 4.4 compiler.

Signed-off by: lpleahy

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

10 years ago1. Add Partial Keystroke Support in Nt32 WinNTGopDxe driver. See the Uefi2.3.1a chapt...
qianouyang [Fri, 30 Sep 2011 07:30:20 +0000 (07:30 +0000)]
1. Add Partial Keystroke Support in Nt32 WinNTGopDxe driver. See the Uefi2.3.1a chapter 11.2
2. Fix the bug of "NT32 Keyboard driver don't support the ALT+ValueKey".

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

10 years ago1. Add Partial Keystroke Support in Ps2Kb drivers. See the Uefi2.3.1a chapter 11.2
qianouyang [Fri, 30 Sep 2011 07:29:42 +0000 (07:29 +0000)]
1. Add Partial Keystroke Support in Ps2Kb drivers. See the Uefi2.3.1a chapter 11.2
2. Fix the bug of "In Ps2Keyboard the CAPs LOCK's LED should NOT be light when user press the SysReq key".
3. Fix the bug of "The PS2Keyboard driver outputs wrong EFI_INPUT_KEY value for PrintScr/SysRq keystroke"

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

10 years ago1. Add Partial Keystroke Support in UsbKb drivers. See the Uefi2.3.1a chapter 11.2
qianouyang [Fri, 30 Sep 2011 07:28:16 +0000 (07:28 +0000)]
1. Add Partial Keystroke Support in UsbKb drivers. See the Uefi2.3.1a chapter 11.2

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

10 years ago1. Add Partial Keystroke Support definition in SimpleTextInputEx.h See the Uefi2...
qianouyang [Fri, 30 Sep 2011 07:26:07 +0000 (07:26 +0000)]
1. Add Partial Keystroke Support definition in SimpleTextInputEx.h See the Uefi2.3.1a chapter 11.2

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

10 years ago1. Move Capsule variable name definition to Capsule variable GUID header file.
lgao4 [Fri, 30 Sep 2011 05:57:44 +0000 (05:57 +0000)]
1. Move Capsule variable name definition to Capsule variable GUID header file.
2. Align EFI_CAPSULE_LONG_MODE_BUFFER structure to MdeModulePkg definition.

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

10 years agoRemove old COMPRESS keyword, has add new kewword PCI_COMPRESS.
ydong10 [Fri, 30 Sep 2011 05:55:38 +0000 (05:55 +0000)]
Remove old COMPRESS keyword, has add new kewword PCI_COMPRESS.

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

10 years agoRemove old COMPRESS keyword, has add new kewword PCI_COMPRESS.
ydong10 [Fri, 30 Sep 2011 05:54:52 +0000 (05:54 +0000)]
Remove old COMPRESS keyword, has add new kewword PCI_COMPRESS.

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

10 years agoDefine S3 Status code macros.
lgao4 [Fri, 30 Sep 2011 05:53:33 +0000 (05:53 +0000)]
Define S3 Status code macros.
Signed-off-by: lgao4
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12489 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUpdate comments to corrects SignatureSize for each SignatureType.
lgao4 [Fri, 30 Sep 2011 05:52:13 +0000 (05:52 +0000)]
Update comments to corrects SignatureSize for each SignatureType.
Signed-off-by: lgao4
Reviewed-by: vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12488 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdd the definitions of Common Platform Error Record (defined in Appendix N Common...
vanjeff [Fri, 30 Sep 2011 02:28:19 +0000 (02:28 +0000)]
Add the definitions of Common Platform Error Record (defined in Appendix N Common Platform Error Record, UEFI 2.3.1).

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

10 years ago1. Fixed issue that firmware cannot boot if no USB debug cable connection.
vanjeff [Fri, 30 Sep 2011 02:19:28 +0000 (02:19 +0000)]
1. Fixed issue that firmware cannot boot if no USB debug cable connection.
2. Fixed issue that Ovmf with debug agent cannot boot if HOST software was not connected.

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

10 years agoArmPkg/CompilerIntrinsicsLib: Reverse the order of the 'ldrb' instructions in __aeabi...
oliviermartin [Thu, 29 Sep 2011 20:55:10 +0000 (20:55 +0000)]
ArmPkg/CompilerIntrinsicsLib: Reverse the order of the 'ldrb' instructions in __aeabi_uread4

Change __aeabi_uread4 from:
    ldrb    r2, [r0, #1]
    ldrb    r1, [r0]
    ldrb    r1, [r0]
    ldrb    r2, [r0, #1]

This change is a workaround to handle correctly __aeabi_uread4 on ARM
Versatile Express RTSM.
It should not have any major consequence on the other ARM platforms.

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

10 years agoArmPlatformPkg/ArmVExpressPkg: The virtual memory must have the Secure attribute...
oliviermartin [Thu, 29 Sep 2011 20:48:36 +0000 (20:48 +0000)]
ArmPlatformPkg/ArmVExpressPkg: The virtual memory must have the Secure attribute when the platform does not make the transition in Normal World.

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

10 years agoArmPlatformPkg/ArmVExpressPkg: HiiDatabaseDxe driver was missing
oliviermartin [Thu, 29 Sep 2011 20:44:16 +0000 (20:44 +0000)]
ArmPlatformPkg/ArmVExpressPkg: HiiDatabaseDxe driver was missing

UefiHiiServicesLib requires an implementation of gEfiHiiDatabaseProtocolGuid.

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

10 years agoBeagleBoardPkg: Fix build
oliviermartin [Thu, 29 Sep 2011 20:40:00 +0000 (20:40 +0000)]
BeagleBoardPkg: Fix build

Was still pointing to the former FDF filename.

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

10 years agoRemove unused PCD entry that generates warning on a build.
andrewfish [Thu, 29 Sep 2011 18:51:06 +0000 (18:51 +0000)]
Remove unused PCD entry that generates warning on a build.


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

10 years agoremove unnecessary retry logic from usb mass storage driver.
erictian [Thu, 29 Sep 2011 09:14:30 +0000 (09:14 +0000)]
remove unnecessary retry logic from usb mass storage driver.

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

- 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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:




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

10 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

10 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

10 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),

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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