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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 years agoUpdate the Ip6Dxe and IScsiDxe to keep the old behaviors after add exit action when...
ydong10 [Fri, 16 Sep 2011 06:11:13 +0000 (06:11 +0000)]
Update the Ip6Dxe and IScsiDxe to keep the old behaviors after add exit action when Config_Access_Protocol.CallBack function returns Submit or Reset which is follow UEFI spec 2.3.1.

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

10 years agoUpdate the UserProfileManagerDxe to keep the old behaviors after add exit action...
ydong10 [Fri, 16 Sep 2011 06:08:00 +0000 (06:08 +0000)]
Update the UserProfileManagerDxe to keep the old behaviors after add exit action when Config_Access_Protocol.CallBack function returns Submit or Reset which is follow UEFI spec 2.3.1.

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

10 years agoUpdate the BDS UI to keep the old behaviors after add exit action when Config_Access_...
ydong10 [Fri, 16 Sep 2011 06:01:11 +0000 (06:01 +0000)]
Update the BDS UI to keep the old behaviors after add exit action when Config_Access_Protocol.CallBack function returns Submit or Reset which is follow UEFI spec 2.3.1.

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

10 years agoFix Ps2KeyboardDxe driver to return correct key data when Shift/Ctrl/Alt and PrtSc...
niruiyu [Fri, 16 Sep 2011 05:37:08 +0000 (05:37 +0000)]
Fix Ps2KeyboardDxe driver to return correct key data when Shift/Ctrl/Alt and PrtSc/SysRq are both pressed, when Ctrl and Pause/Break are both pressed.

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

10 years agoRefine the logic about getting Value info to avoid check data error.
ydong10 [Fri, 16 Sep 2011 01:22:39 +0000 (01:22 +0000)]
Refine the logic about getting Value info to avoid check data error.

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

10 years agoShellPkg: Update revision info.
jcarsey [Thu, 15 Sep 2011 22:24:09 +0000 (22:24 +0000)]
ShellPkg: Update revision info.

signed-off-by: jcarsey

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

10 years agoShellPkg: Fix concatenation on full device paths.
jcarsey [Thu, 15 Sep 2011 20:18:58 +0000 (20:18 +0000)]
ShellPkg: Fix concatenation on full device paths.

submitted-by: jcarsey
reviewed-by:  geekboy15a

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

10 years agoShellPkg: Eliminate loss of high bits in return value from exit command on 64 bit...
jcarsey [Thu, 15 Sep 2011 20:10:39 +0000 (20:10 +0000)]
ShellPkg: Eliminate loss of high bits in return value from exit command on 64 bit platform.

submitted-by: jcarsey
reviewed-by:  gookboy15a
reviewed-by:  niruiyu

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

10 years agoUefiCpuPkg VTF0: Add README, remove Makefile
jljusten [Thu, 15 Sep 2011 17:25:17 +0000 (17:25 +0000)]
UefiCpuPkg VTF0: Add README, remove Makefile

* Remove Makefile which is no longer used to build VTF0

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

10 years agoEnhance the PEI Core to convert pointers pointing to PPI descriptors on the temporary...
rsun3 [Thu, 15 Sep 2011 06:48:20 +0000 (06:48 +0000)]
Enhance the PEI Core to convert pointers pointing to PPI descriptors on the temporary stack.

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

10 years ago1) remove wrong global variable usage because it will bring data corrupt if there...
erictian [Wed, 14 Sep 2011 12:13:03 +0000 (12:13 +0000)]
1) remove wrong global variable usage because it will bring data corrupt if there are multiple XHCI host controllers.
2) coding style clean up.

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

10 years agoReplace SHA1 with SHA256 digest algorithm.
tye1 [Wed, 14 Sep 2011 11:12:08 +0000 (11:12 +0000)]
Replace SHA1 with SHA256 digest algorithm.

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

10 years ago1. Adjust SignedData to comply with latest UEFI spec: 1) remove SignerInfo.authentica...
tye1 [Wed, 14 Sep 2011 10:20:53 +0000 (10:20 +0000)]
1. Adjust SignedData to comply with latest UEFI spec: 1) remove SignerInfo.authenticatedAttributes; 2) remove SignedData.contentInfo.content;
2. Fix some coding style problems.

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

10 years agoRemove useless pointer check.
ydong10 [Wed, 14 Sep 2011 09:55:31 +0000 (09:55 +0000)]
Remove useless pointer check.

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

10 years agoFix build error.
jyao1 [Wed, 14 Sep 2011 07:11:45 +0000 (07:11 +0000)]
Fix build error.

sign of by: jyao1
reviewed by: li-elvin

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

10 years agoRefine code to follow coding style.
ydong10 [Wed, 14 Sep 2011 05:30:53 +0000 (05:30 +0000)]
Refine code to follow coding style.

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

10 years agoUpdate UID drivers to align with latest UEFI spec 2.3.1 errata A.
gdong1 [Wed, 14 Sep 2011 02:28:51 +0000 (02:28 +0000)]
Update UID drivers to align with latest UEFI spec 2.3.1 errata A.

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

10 years agoAdd [LibraryClasses] definition for MdeModulePkg\Include\Library\LockBoxLib.h.
jyao1 [Wed, 14 Sep 2011 00:45:39 +0000 (00:45 +0000)]
Add [LibraryClasses] definition for MdeModulePkg\Include\Library\LockBoxLib.h.

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

10 years agoMdeModulePkg/HiiDatabaseDxe: Removed unused variables
oliviermartin [Tue, 13 Sep 2011 15:22:29 +0000 (15:22 +0000)]
MdeModulePkg/HiiDatabaseDxe: Removed unused variables

'VarDefaultName' and 'ResultSize' were set but not used.

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

10 years agoMdeModulePkg/UsbBusDxe: Removed unused variable
oliviermartin [Tue, 13 Sep 2011 15:21:32 +0000 (15:21 +0000)]
MdeModulePkg/UsbBusDxe: Removed unused variable

'SnString' is set but not used.

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

10 years agoArmPkg/ArmDisassemblerLib: Comment out unused variable
oliviermartin [Tue, 13 Sep 2011 09:55:01 +0000 (09:55 +0000)]
ArmPkg/ArmDisassemblerLib: Comment out unused variable

'ItFlag' is set but not used. Comment out this variable for future use.

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

10 years agoAdd comments for gEfiFormBrowserExProtocolGuid.
lgao4 [Tue, 13 Sep 2011 09:36:50 +0000 (09:36 +0000)]
Add comments for gEfiFormBrowserExProtocolGuid.
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12338 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmRealViewEbPkg: Delete the deprecated package 'ArmRealViewEbPkg'
oliviermartin [Tue, 13 Sep 2011 09:33:49 +0000 (09:33 +0000)]
ArmRealViewEbPkg: Delete the deprecated package 'ArmRealViewEbPkg'

ARM RealView Emulation Board is supporting by the package: ArmPlatformPkg/ArmRealViewEbPkg/

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

10 years agoEnhance EDKII Browser to support flexible HotKey setting.
lgao4 [Tue, 13 Sep 2011 09:32:54 +0000 (09:32 +0000)]
Enhance EDKII Browser to support flexible HotKey setting.
Signed-off-by: lgao4
Reviewed-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12336 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPlatformPkg/Bds: Fix the update of existing boot entries
oliviermartin [Tue, 13 Sep 2011 09:03:10 +0000 (09:03 +0000)]
ArmPlatformPkg/Bds: Fix the update of existing boot entries

Variables were not initialized in the right order in the boot entry update function.

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

10 years agoMinor copyright format update
hhtian [Tue, 13 Sep 2011 07:48:35 +0000 (07:48 +0000)]
Minor copyright format update

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

10 years agoAdd NULl check for pointer.
li-elvin [Tue, 13 Sep 2011 06:16:51 +0000 (06:16 +0000)]
Add NULl check for pointer.

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

10 years agoUse CPU_HOB to detect max address support from platform, and added 1G page table...
jyao1 [Tue, 13 Sep 2011 05:48:57 +0000 (05:48 +0000)]
Use CPU_HOB to detect max address support from platform, and added 1G page table support.

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

10 years agoFix ICC build failure.
niruiyu [Tue, 13 Sep 2011 05:10:33 +0000 (05:10 +0000)]
Fix ICC build failure.

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

10 years agoEnhance the MTRR lib to support the case where alignment of base address < length.
rsun3 [Tue, 13 Sep 2011 03:06:48 +0000 (03:06 +0000)]
Enhance the MTRR lib to support the case where alignment of base address < length.

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

10 years agoShellPkg: Add missing function descriptor comment.
jcarsey [Mon, 12 Sep 2011 15:34:11 +0000 (15:34 +0000)]
ShellPkg: Add missing function descriptor comment.

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

10 years agoArmPkg/BdsLib: Add missing BdsLoadOption.c file
oliviermartin [Mon, 12 Sep 2011 09:37:11 +0000 (09:37 +0000)]
ArmPkg/BdsLib: Add missing BdsLoadOption.c file

Missing from my commit "ArmPkg/BdsLib: Move some functions used to
create/update BDS Boot Entry from ArmPlatformPkg/Bds to

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

10 years agoStdLib/LibC: Fix transcription error from submitted patch.
darylm503 [Sun, 11 Sep 2011 20:21:43 +0000 (20:21 +0000)]
StdLib/LibC: Fix transcription error from submitted patch.

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

10 years agoStdLib|LibC: Implement the sleep() function.
darylm503 [Sun, 11 Sep 2011 20:09:02 +0000 (20:09 +0000)]
StdLib|LibC: Implement the sleep() function.

Implement the sleep() function and make both sleep() and usleep() public.  Required initially for Python, but these functions have general applicability.

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

10 years agoAppPkg|Python: Files from the Python 2.7.2 distribution that must be modified to...
darylm503 [Sun, 11 Sep 2011 20:04:18 +0000 (20:04 +0000)]
AppPkg|Python: Files from the Python 2.7.2 distribution that must be modified to build under EDK II.

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

10 years agoNetworkPkg/UefiPxeBcDxe: Fix GCC build issue
jljusten [Sat, 10 Sep 2011 00:06:53 +0000 (00:06 +0000)]
NetworkPkg/UefiPxeBcDxe: Fix GCC build issue

The call to AsciiStrStr on line 330 requires a CHAR8*
input, and since strings are being parsed, CHAR8* is
more appropriate for BootFileName and BootFileNamePtr.

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

10 years agoShellPkg: Add 3 missing function declaration comments and change a function static...
jcarsey [Fri, 9 Sep 2011 16:57:26 +0000 (16:57 +0000)]
ShellPkg: Add 3 missing function declaration comments and change a function static variable to a file global variable.

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

10 years agoArmPlatformPkg/Bds: Minor fixes and coding style changes
oliviermartin [Fri, 9 Sep 2011 10:56:14 +0000 (10:56 +0000)]
ArmPlatformPkg/Bds: Minor fixes and coding style changes

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

10 years agoArmPkg/BdsLib: Fix MemMap Device Path node support
oliviermartin [Fri, 9 Sep 2011 10:55:26 +0000 (10:55 +0000)]
ArmPkg/BdsLib: Fix MemMap Device Path node support

The previous version was only checking if the Remaining Device Path node
was a MemMap DevicePath node.
This fix also checks if the Root DevicePath node is a MemMap DevicePath node.

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

10 years agoArmPkg/BdsLib: Move some functions used to create/update BDS Boot Entry from ArmPlatf...
oliviermartin [Fri, 9 Sep 2011 10:54:33 +0000 (10:54 +0000)]
ArmPkg/BdsLib: Move some functions used to create/update BDS Boot Entry from ArmPlatformPkg/Bds to ArmPkg/BdsLib

These functions can be reused by any EFI application to add/update a BDS Boot Entry.

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

10 years agoArmPkg/BdsLib: Add support to pass argument to a loaded EFI application
oliviermartin [Fri, 9 Sep 2011 10:53:42 +0000 (10:53 +0000)]
ArmPkg/BdsLib: Add support to pass argument to a loaded EFI application

OptionalData argument has to be set in the Loaded Image Protocol of the
new EFI application.

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

10 years agoArmPkg/BdsLib: Move the Generic BDS_LOAD_OPTION structure from Armplatform/Pkg to...
oliviermartin [Fri, 9 Sep 2011 10:52:31 +0000 (10:52 +0000)]
ArmPkg/BdsLib: Move the Generic BDS_LOAD_OPTION structure from Armplatform/Pkg to ArmPkg/Bds

This structure is defined by the UEFI specification and has a better location in BdsLib.

ArmPlatformPkg/Bds: Encapsulate the BDS_LOAD_OPTION into a list entry structure

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

10 years agoArmPlatformPkg/Bds: Add a signature in front of the Boot Argument propoer to this Bds
oliviermartin [Fri, 9 Sep 2011 10:51:13 +0000 (10:51 +0000)]
ArmPlatformPkg/Bds: Add a signature in front of the Boot Argument propoer to this Bds

Each application loader has its own OptionalData format. To avoid to start a Boot Entry
that has not been created by ArmPlatform/Bds a signature has been added to the

ArmPlatformPkg/Bds: Rename some internal structure from BDS_* to ARM_BDS_*

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

10 years agoArmPlatformPkg/Bds: Get User inputs in Unicode
oliviermartin [Fri, 9 Sep 2011 10:49:54 +0000 (10:49 +0000)]
ArmPlatformPkg/Bds: Get User inputs in Unicode

The user input was getting in Ascii and converted later to Unicode
when required.
In this change, the user inputs are caught in Unicode and converted
to Ascii only when needed.

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

10 years ago1. Fix bug in PXE driver UdpRead function to handle the IP fragmentation.
sfu5 [Fri, 9 Sep 2011 08:31:37 +0000 (08:31 +0000)]
1. Fix bug in PXE driver UdpRead function to handle the IP fragmentation.

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

10 years ago1. Support netboot6 tftp URL format like tftp://[aaaa::bbbb]/myfile.efi;mode=octet...
sfu5 [Fri, 9 Sep 2011 08:31:08 +0000 (08:31 +0000)]
1. Support netboot6 tftp URL format like tftp://[aaaa::bbbb]/myfile.efi;mode=octet, other mode is rejected.
2. Fix bug in PXE driver UdpRead function to handle the IP fragmentation.

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

10 years agoRename SMM_CPU_IO_Protocol to SMM_CPU_IO2_PROTOCOL in PiSmmDefintions.h of SmmScriptL...
hhtian [Fri, 9 Sep 2011 06:01:22 +0000 (06:01 +0000)]
Rename SMM_CPU_IO_Protocol to SMM_CPU_IO2_PROTOCOL in PiSmmDefintions.h of SmmScriptLib to keep consistent with SMM_CPU_IO2_PROTOCOL defined in MdePkg.

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

10 years agoStdLib: Replace some non-ASCII characters with ASCII equivalents.
darylm503 [Thu, 8 Sep 2011 22:41:36 +0000 (22:41 +0000)]
StdLib: Replace some non-ASCII characters with ASCII equivalents.

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