summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* ArmPlatformPkg/patches: Update the pending patches with the updated ARMGCC ↵oliviermartin2011-09-236-329/+796
| | | | | | 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
* error handling enhancement for possible null pointer dereferencevanjeff2011-09-232-10/+18
| | | | | | | 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
* Roll back r12434.vanjeff2011-09-232-18/+10
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12436 6f19259b-4bc3-4df7-8a09-765794883524
* Sync BaseTools Branch (version r2324) to EDKII main trunk. lgao42011-09-231-19/+19
| | | | | | Signed-off-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12435 6f19259b-4bc3-4df7-8a09-765794883524
* error handling enhancement for possible null pointer dereferenceerictian2011-09-232-10/+18
| | | | | | | | 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
* BeagleBoardPkg: The FDF file does not reserve any more the area for the ↵oliviermartin2011-09-224-32/+9
| | | | | | | | | | | | | 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
* BeagleBoardPkg: Add Display Driver support to the BeagleBoardoliviermartin2011-09-228-8/+1103
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12432 6f19259b-4bc3-4df7-8a09-765794883524
* BeagleBoardPkg: Set paddings following the BeagleBoard revision (A, B, xM, etc)oliviermartin2011-09-225-20/+116
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12431 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Bds: Add an option in the Boot Manager to edit the Device ↵oliviermartin2011-09-221-0/+44
| | | | | | Path of the Platform Device Tree git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12430 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmVExpressPkg: Add support for ARM Versatile Express A9x4 Modeloliviermartin2011-09-2211-5/+1336
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12429 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmiVExpressPkg: Introduce 'ArmVExpress.dsc.inc' to avoid ↵oliviermartin2011-09-227-270/+357
| | | | | | 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
* ArmPlatformPkg/ArmRealViewEbPkg: Introduce 'ArmRealViewEb.dsc.inc' to avoid ↵oliviermartin2011-09-229-638/+349
| | | | | | 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
* ArmPkg/ArmV7: Move the MMU specific macros into 'Chipset/ArmV7Mmu.holiviermartin2011-09-221-0/+219
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12426 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmRealViewEbPkg: Removed unused 'Pei' moduleoliviermartin2011-09-228-711/+0
| | | | | | | | | 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
* ArmPkg: Removed deprecated 'ArmMPCoreMailBoxLib'oliviermartin2011-09-2210-127/+0
| | | | | | | | 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
* ArmPkg: Create MpCoreInfo PPI and HOB to describe CPU Cores on a MPCore platformoliviermartin2011-09-2223-32/+496
| | | | | | | | | | 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
* ArmPlatformPkg: Add ArmPlatformGetPlatformPpiList()oliviermartin2011-09-227-12/+104
| | | | | | | | | 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
* ArmPlatformPkg/PrePeiCore: Reverse Stack & PeiTemporaryoliviermartin2011-09-223-14/+29
| | | | | | | | 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
* ArmPlatformPkg: Introduce ArmPlatformGlobalVariableLiboliviermartin2011-09-2230-48/+738
| | | | | | | | | | | | | | 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
* ArmPlatformPkg/Sec: Clean and Move all declaration into 'SecInternal.h' (2)oliviermartin2011-09-221-0/+65
| | | | | | | | Missed header file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12419 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/PrePi: Removed the dependency on 'PcdCPUCoresNonSecStackBase'oliviermartin2011-09-227-21/+35
| | | | | | | | | 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
* ArmPlatformPkg/Sec: Clean and Move all declaration into 'SecInternal.h'oliviermartin2011-09-222-51/+17
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12417 6f19259b-4bc3-4df7-8a09-765794883524
* ARM Packages: Rename PcdNormal* into Pcd* PCDsoliviermartin2011-09-2232-84/+84
| | | | | | | | | | | | | | 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
* ArmPlatformPkg: Changed memory model for the stacksoliviermartin2011-09-2221-209/+447
| | | | | | | | | | | | | | | | | | | | | | | | 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
* ArmPlatformPkg/ArmPlatformLib: Removed 'ArmPlatformIsMemoryInitialized' functionoliviermartin2011-09-2211-220/+2
| | | | | | | | | '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
* ArmPlatformPkg/ArmPlatformLib: Introduce ArmPlatformSecBootAction functionoliviermartin2011-09-227-8/+82
| | | | | | | | | 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
* ArmPlatformPkg: Introduce Primary core macrosoliviermartin2011-09-2224-60/+95
| | | | | | | | | | | | | | | | 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
* ArmPkg: Renamed library 'PL390GicLib' into 'ArmGicLib'oliviermartin2011-09-2221-327/+292
| | | | | | | | | | | 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
* ArmPkg/Application/LinuxLoader: Create a Linux Loader EFI applicationoliviermartin2011-09-226-0/+692
| | | | | | | | | | | | | | | 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
* ArmPkg/BdsLib: Move the code specific to the Atag preparation into a ↵oliviermartin2011-09-224-147/+175
| | | | | | separate file git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12409 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/BdsLib: Use two distinct functions to boot Linux either by Atag or Fdtoliviermartin2011-09-225-96/+160
| | | | | | | | | | 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
* Arm Packages: Fixed coding style/Line endings to follow EDK2 coding conventionoliviermartin2011-09-2239-2448/+2305
| | | | | | | | | | | 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
* EmbeddedPkg/Ebl: Fix EBL copy file commandoliviermartin2011-09-221-3/+53
| | | | | | | | | | | | 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
* ArmPlatformPkg/Bds: Fix menu when no boot entry are present for deletion or ↵oliviermartin2011-09-221-5/+13
| | | | | | | | | | | | 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
* ArmPlatformPkg/Bds: Fixed initialization of default Boot Entry with an initrdoliviermartin2011-09-221-1/+1
| | | | | | | | | | 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
* Return empty string when END device path is passed in to align the original ↵niruiyu2011-09-221-1/+6
| | | | | | | | | 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
* fix build error.erictian2011-09-211-2/+9
| | | | | | | 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
* Add PCD for 1G page tablejyao12011-09-211-4/+3
| | | | | | | 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
* 1. Enhance DxeImageVerificationLib to avoid some corrupted input.hhuan132011-09-211-35/+105
| | | | | | | | 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
* 1. Enhance AuthVar driver to avoid process corrupted certificate input.hhuan132011-09-213-19/+49
| | | | | | | 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
* Add PCD for 1G page tablejyao12011-09-219-20/+42
| | | | | | | 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
* Coding style refinement.erictian2011-09-212-1/+4
| | | | | | | | 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
* Remove EFI_USER_INFO_ACCESS_SETUP_ADMIN_GUID definition from MdeModulePkg, ↵lgao42011-09-213-5/+3
| | | | | | | | | | | 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
* Clean up the private GUID definition in module Level.lgao42011-09-2126-50/+109
| | | | | | | 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
* ShellPkg: Verify DevicePathToText was successful before using the resultant ↵jcarsey2011-09-201-6/+13
| | | | | | | | | 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
* ShellPkg: fix support for "\" (or "\.") meaning root of drive.jcarsey2011-09-203-12/+28
| | | | | | | | | | 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
* ArmPlatformPkg/patches: Updated list of Pending patches after latest ↵oliviermartin2011-09-202-59/+22
| | | | | | | | | | 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
* MdeModulePkg PeiMain: Enhance the PEI Core to convert GUID/PPI pointers ↵rsun32011-09-201-9/+44
| | | | | | | | | | 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
* Fix the issue that null pointer may be dereferenced at SourceLevelDebugPkgerictian2011-09-201-5/+7
| | | | | | | 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
* UefiCpuPkg MTRR Library: enhance MTRR Library.rsun32011-09-201-4/+12
| | | | | | | | | | 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