]>
git.proxmox.com Git - mirror_edk2.git/log
Olivier Martin [Mon, 19 Aug 2013 17:36:16 +0000 (17:36 +0000)]
ArmPkg/ArmLib: Introduced TT_LAST_BLOCK_ADDRESS()
This macro return the address of the last entry of a translation table.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14565
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Mon, 19 Aug 2013 17:35:18 +0000 (17:35 +0000)]
ArmPlatformPkg/ArmVExpressPkg: Add System ID of FVP models to VE LCD driver.
- Setting DVI fails on VE models. The FVP models behave the same.
These have updated SYS ID numbers and they need to be added to the
driver.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14564
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Mon, 19 Aug 2013 17:34:17 +0000 (17:34 +0000)]
ArmPlatformPkg/ArmVExpress.dsc.inc: Added DEBUG_GCD & DEBUG_CACHE values to the list of DEBUG_*
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14563
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Mon, 19 Aug 2013 17:33:31 +0000 (17:33 +0000)]
ArmPkg/CpuDxe: Fixed AArch64 MMU/GCD synchronization
- Fix the length used to set the GCD Memory Space attribute
- Print a warning message if the given length of a memory space region is not 4KB-aligned
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14562
6f19259b -4bc3-4df7-8a09-
765794883524
Girish K S [Mon, 19 Aug 2013 13:49:09 +0000 (13:49 +0000)]
ArmPkg/CpuDxe: AArch64: Fix wrong comparison of exception type
During the interrupt registration comparison is made against
max value of exception types for ARMV7, but in the common handling
function the check is made against max value of exceptions types
for ARMV8. This can lead to undefined behaviour during registration
of interrupts.
This patch modifies the registration function to handle only AArch64
exceptions.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Girish K S <ks.giri@samsung.com>
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14561
6f19259b -4bc3-4df7-8a09-
765794883524
Star Zeng [Mon, 19 Aug 2013 05:16:45 +0000 (05:16 +0000)]
MdePkg/MdeModulePkg/SecurityPkg Variable: Forbid creation of non-spec variables in EFI_GLOBAL_VARIABLE namespace.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14560
6f19259b -4bc3-4df7-8a09-
765794883524
Star Zeng [Mon, 19 Aug 2013 04:28:15 +0000 (04:28 +0000)]
Nt32Pkg: Forbid creation of non-spec variables in EFI_GLOBAL_VARIABLE namespace.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14559
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Mon, 19 Aug 2013 04:15:36 +0000 (04:15 +0000)]
OvmfPkg: Use the new DevicePathLib for all platforms
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <Ruiyu.ni@Intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14558
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Mon, 19 Aug 2013 04:15:26 +0000 (04:15 +0000)]
OvmfPkg ResetSystemLib: Fix VS build error
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <Ruiyu.ni@Intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14557
6f19259b -4bc3-4df7-8a09-
765794883524
Gary Ching-Pang Lin [Sun, 18 Aug 2013 07:04:02 +0000 (07:04 +0000)]
OvmfPkg/SecureBootConfigDxe: Avoid illegal access
When enrolling the certificate from a file, the suffix check function
check the last 4 characters to filter out non-DER files. However,
if the length of the file name is less than 4, the address prior to
the file name will be accessed while it shouldn't. This commit checks
the length of the file name to avoid illegal access.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Ching-Pang Lin <glin@suse.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Guo Dong <guo.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14556
6f19259b -4bc3-4df7-8a09-
765794883524
Laszlo Ersek [Sun, 18 Aug 2013 07:03:51 +0000 (07:03 +0000)]
OvmfPkg: allocate the EFI memory map for Linux as Loader Data
In Linux, efi_memblock_x86_reserve_range() and efi_reserve_boot_services()
expect that whoever allocates the EFI memmap allocates it in Loader Data
type memory. Linux's own exit_boot()-->low_alloc() complies, but
SetupLinuxMemmap() in LoadLinuxLib doesn't.
The memory type discrepancy leads to efi_memblock_x86_reserve_range() and
efi_reserve_boot_services() both trying to reserve the range backing the
memmap, resulting in memmap entry truncation in
efi_reserve_boot_services().
This fix also makes this allocation consistent with all other persistent
allocations in "OvmfPkg/Library/LoadLinuxLib/Linux.c".
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reported-and-tested-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14555
6f19259b -4bc3-4df7-8a09-
765794883524
Feng Tian [Fri, 16 Aug 2013 14:30:11 +0000 (14:30 +0000)]
MdePkg/IndustryStandard: Update Atapi.h to comply with latest ATA8-ACS spec (d2015r7)
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Elvin Li <elvin.li@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14554
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Fri, 16 Aug 2013 09:20:58 +0000 (09:20 +0000)]
Change the PciBusDxe driver to install the PCI enumeration complete GUID in the PCI host bridge handle to follow PI Spec 1.3.
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Elvin Li <elvin.li@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14553
6f19259b -4bc3-4df7-8a09-
765794883524
Star Zeng [Fri, 16 Aug 2013 03:19:45 +0000 (03:19 +0000)]
MdeModulePkg/SecurityPkg Variable: If a preexisting variable is rewritten with different attributes, SetVariable() shall not modify the variable and shall return EFI_INVALID_PARAMETER.
Two exceptions to this rule:
1. No access attributes specified
2. The only attribute differing is EFI_VARIABLE_APPEND_WRITE
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14552
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Thu, 15 Aug 2013 01:18:05 +0000 (01:18 +0000)]
Add the AArch64 FAT binary to the EDK2 repository.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14551
6f19259b -4bc3-4df7-8a09-
765794883524
Laszlo Ersek [Thu, 15 Aug 2013 01:04:46 +0000 (01:04 +0000)]
Supplement EFIAPI for UefiDevicePathLibCatPrint(), otherwise gcc-4.4
builds of edk2 format garbage text representations of device paths.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14550
6f19259b -4bc3-4df7-8a09-
765794883524
Elvin Li [Wed, 14 Aug 2013 01:16:06 +0000 (01:16 +0000)]
Add I2C bus DXE driver and I2C host DXE driver following PI 1.3 spec.
Signed-off-by: Elvin Li <elvin.li@intel.com>
Reviewed-by: Leahy Leroy P <leroy.p.leahy@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14549
6f19259b -4bc3-4df7-8a09-
765794883524
Elvin Li [Wed, 14 Aug 2013 01:14:53 +0000 (01:14 +0000)]
Add I2C related definition in PI 1.3 spec.
Signed-off-by: Elvin Li <elvin.li@intel.com>
Reviewed-by: Leahy Leroy P <leroy.p.leahy@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14548
6f19259b -4bc3-4df7-8a09-
765794883524
Liming Gao [Tue, 13 Aug 2013 08:45:45 +0000 (08:45 +0000)]
Add defines for MAX values for EBC arch.
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: michael.d.kinney@intel.com
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14547
6f19259b -4bc3-4df7-8a09-
765794883524
Elvin Li [Mon, 12 Aug 2013 08:51:55 +0000 (08:51 +0000)]
Update XHCI driver to use PCI IO AllocateBuffer/Map/Unmap to do DMA operation.
Signed-off-by: Elvin Li <elvin.li@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14546
6f19259b -4bc3-4df7-8a09-
765794883524
Feng Tian [Mon, 12 Aug 2013 06:13:54 +0000 (06:13 +0000)]
MdeMdeModulePkg/NvmExpressDxe: Add NVM Express support.
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14545
6f19259b -4bc3-4df7-8a09-
765794883524
Feng Tian [Mon, 12 Aug 2013 06:12:44 +0000 (06:12 +0000)]
Add NVM Express related definition.
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14544
6f19259b -4bc3-4df7-8a09-
765794883524
Eric Dong [Mon, 12 Aug 2013 04:49:48 +0000 (04:49 +0000)]
Refine the code logic for browser and display engine.
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14543
6f19259b -4bc3-4df7-8a09-
765794883524
Eric Dong [Mon, 12 Aug 2013 02:25:59 +0000 (02:25 +0000)]
Update NT32/Duet platform to use new display engine and browser.
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14542
6f19259b -4bc3-4df7-8a09-
765794883524
Eric Dong [Mon, 12 Aug 2013 02:24:32 +0000 (02:24 +0000)]
Update OVMF platform to use new display engine and browser.
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14541
6f19259b -4bc3-4df7-8a09-
765794883524
Eric Dong [Mon, 12 Aug 2013 02:19:56 +0000 (02:19 +0000)]
Update Browser to provide the customization possibilities.
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14540
6f19259b -4bc3-4df7-8a09-
765794883524
Eric Dong [Mon, 12 Aug 2013 02:03:10 +0000 (02:03 +0000)]
Rollback patch 14537 & 14538, because patch 14537 is not tested by Laszlo Ersek, but i wrote it.
Signed-off-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14539
6f19259b -4bc3-4df7-8a09-
765794883524
Eric Dong [Fri, 9 Aug 2013 08:07:26 +0000 (08:07 +0000)]
Check in the missing code.
Signed-off-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14538
6f19259b -4bc3-4df7-8a09-
765794883524
Eric Dong [Fri, 9 Aug 2013 05:26:47 +0000 (05:26 +0000)]
Update Browser to provide the customization possibilities.
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdeModulePkg Patch
Tested-by: Laszlo Ersek <lersek@redhat.com>
OvmfPkg Patch
Tested-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14537
6f19259b -4bc3-4df7-8a09-
765794883524
Shumin Qiu [Fri, 9 Aug 2013 05:23:22 +0000 (05:23 +0000)]
Change EFI_TCG_EVENT_HOB_GUID value to avoid the duplicated GUID value with EFI_LEGACY_BIOS_GUID.
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14536
6f19259b -4bc3-4df7-8a09-
765794883524
Elvin Li [Fri, 9 Aug 2013 03:39:37 +0000 (03:39 +0000)]
Add new adding ATA related status code in PI 1.3 to definition and ATA modules.
Signed-off-by: Elvin Li <elvin.li@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14535
6f19259b -4bc3-4df7-8a09-
765794883524
Eugene Cohen [Thu, 8 Aug 2013 22:31:54 +0000 (22:31 +0000)]
ShellPkg: increase available size for PcdShellFileOperationSize
Some storage subsystems benefit by having shell file operation sizes (affecting copy and type commands right now) larger than 2^16. This patch changes the PcdShellFileOperationSize type to 32-bits.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eugene Cohen <eugene@hp.com>
reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14534
6f19259b -4bc3-4df7-8a09-
765794883524
Harry Liebel [Thu, 8 Aug 2013 08:55:02 +0000 (08:55 +0000)]
Add Aarch64 support to EdkCompatibilityPkg.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Harry Liebel <Harry.Liebel@arm.com>
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14533
6f19259b -4bc3-4df7-8a09-
765794883524
Shumin Qiu [Thu, 8 Aug 2013 03:35:09 +0000 (03:35 +0000)]
Match the comments with the implementation for Baselib::GetFirstNode.
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14532
6f19259b -4bc3-4df7-8a09-
765794883524
Gary Ching-Pang Lin [Thu, 8 Aug 2013 02:41:37 +0000 (02:41 +0000)]
Checks the length of the file name to avoid illegal access.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Ching-Pang Lin <glin@suse.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Guo Dong <guo.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14531
6f19259b -4bc3-4df7-8a09-
765794883524
Harry Liebel [Wed, 7 Aug 2013 11:28:15 +0000 (11:28 +0000)]
MdeModulePkg: Added ARM Aarch64 architecture support
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Harry Liebel <Harry.Liebel@arm.com>
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14530
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Wed, 7 Aug 2013 09:23:23 +0000 (09:23 +0000)]
MdePkg/BasePeCoffLib: Fixed coding style
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14529
6f19259b -4bc3-4df7-8a09-
765794883524
Ye Ting [Wed, 7 Aug 2013 08:11:14 +0000 (08:11 +0000)]
Enhance error handling code after calling BIO_new in BaseCryptLib.
Signed-off-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Long Qin <qin.long@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14528
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Tue, 6 Aug 2013 17:41:53 +0000 (17:41 +0000)]
ArmPlatformPkg: PrePei Cache disable and invalidate.
- Disable data cache on all cores.
- Do not clean caches as there might be junk in them, invalidate only.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14527
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Tue, 6 Aug 2013 12:11:13 +0000 (12:11 +0000)]
ArmPlatformPkg/PL180MciDxe: Increased the TPL at the highest priority to disable interrupts
This change prevent any interrupt to disturb the PL180 data transfer.
If the data transfer is not fast enough, we get UNDERRUN error.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14526
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Tue, 6 Aug 2013 12:10:25 +0000 (12:10 +0000)]
EmbeddedPkg/MmcDxe: Removed redundant CMD12 calls from MMC
Command 12 - Stop transmission (ends read or write).
Normally only needed for streaming transfers or after error.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14525
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Tue, 6 Aug 2013 12:09:33 +0000 (12:09 +0000)]
EmbeddedPkg/MmcDxe: Update Mmc code to conform to coding standard
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14524
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Tue, 6 Aug 2013 11:00:15 +0000 (11:00 +0000)]
ArmPkg/ArmV7Mmu.h: Fixed XN bit conversion from section to small/large page format
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14523
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Tue, 6 Aug 2013 10:59:19 +0000 (10:59 +0000)]
ARM: Remove NSACR from the common code
NSACR (Non-Secure Access Control Register) is AArch32 specific.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14522
6f19259b -4bc3-4df7-8a09-
765794883524
Feng Tian [Mon, 5 Aug 2013 01:50:11 +0000 (01:50 +0000)]
MdeMdeModulePkg/Scsi: Enlarge SCSI cmd timeout to a more reasonable experience value to cover more devices
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Elvin Li <elvin.li@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14521
6f19259b -4bc3-4df7-8a09-
765794883524
Star Zeng [Wed, 31 Jul 2013 01:09:38 +0000 (01:09 +0000)]
MdeModulePkg PartitionDxe: Ensure the NumberOfPartitionEntries * SizeOfPartitionEntry doesn't overflow.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14520
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Tue, 30 Jul 2013 06:41:43 +0000 (06:41 +0000)]
Fix GCC build failure.
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14519
6f19259b -4bc3-4df7-8a09-
765794883524
Jordan Justen [Mon, 29 Jul 2013 21:09:55 +0000 (21:09 +0000)]
UnixPkg: Remove UnixPkg files (It is replaced by EmulatorPkg)
For now the UnixPkg/Deprecated.txt file is retained to indicate
that EmulatorPkg should be used instead.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14518
6f19259b -4bc3-4df7-8a09-
765794883524
Harry Liebel [Mon, 29 Jul 2013 09:57:43 +0000 (09:57 +0000)]
MdePkg/BaseSynchronizationLib: Added ARM Aarch64 architecture support
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Harry Liebel <Harry.Liebel@arm.com>
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14517
6f19259b -4bc3-4df7-8a09-
765794883524
Harry Liebel [Mon, 29 Jul 2013 09:56:36 +0000 (09:56 +0000)]
MdePkg/BaseCpuLib: Added ARM Aarch64 architecture support
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Harry Liebel <Harry.Liebel@arm.com>
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14516
6f19259b -4bc3-4df7-8a09-
765794883524
Harry Liebel [Mon, 29 Jul 2013 09:55:38 +0000 (09:55 +0000)]
MdePkg/BaseLib: Added ARM Aarch64 architecture support
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Harry Liebel <Harry.Liebel@arm.com>
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14515
6f19259b -4bc3-4df7-8a09-
765794883524
Harry Liebel [Mon, 29 Jul 2013 09:53:22 +0000 (09:53 +0000)]
MdePkg/PxeBaseCode.h: Added PXE Client ID for Aarch64
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Harry Liebel <Harry.Liebel@arm.com>
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14514
6f19259b -4bc3-4df7-8a09-
765794883524
Harry Liebel [Mon, 29 Jul 2013 09:52:18 +0000 (09:52 +0000)]
MdePkg: Added ARM Aarch64 architecture support
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Harry Liebel <Harry.Liebel@arm.com>
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14513
6f19259b -4bc3-4df7-8a09-
765794883524
Harry Liebel [Mon, 29 Jul 2013 09:50:38 +0000 (09:50 +0000)]
MdePkg: Added ARM Aarch64 support to PE/COFF support
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Harry Liebel <Harry.Liebel@arm.com>
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14512
6f19259b -4bc3-4df7-8a09-
765794883524
Liming Gao [Mon, 29 Jul 2013 07:58:57 +0000 (07:58 +0000)]
Clarify PrintLib behavior on %d, %x, %l.
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Kinney, Michael D <michael.d.kinney@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14511
6f19259b -4bc3-4df7-8a09-
765794883524
Eric Dong [Mon, 29 Jul 2013 02:45:26 +0000 (02:45 +0000)]
Clean the flag before use it to avoid use old error value.
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14510
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Fri, 26 Jul 2013 17:14:07 +0000 (17:14 +0000)]
ArmPkg/ArmLib: Fixed TBLs invalidation in EL1
'tlb alle1' was used to invalidate the TLBs in EL1. Expect this instruction can only
be invoked from EL2.
The correct instruction to invalidate TLBs in EL1 is 'tlbi vmalle1' - it invalidates
the TLBs of the current VMID.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14509
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Fri, 26 Jul 2013 17:13:08 +0000 (17:13 +0000)]
ArmPkg/Library: AArch64 MMU EL1 support
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14508
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Fri, 26 Jul 2013 17:12:12 +0000 (17:12 +0000)]
ArmPkg,ArmPlatformPkg: Free memory allocated by Get.*SpaceMap()
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14507
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Fri, 26 Jul 2013 17:10:51 +0000 (17:10 +0000)]
ArmPkg/ArmLib/AArch64: Use the appropriate macros and update comments
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14506
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Fri, 26 Jul 2013 03:14:08 +0000 (03:14 +0000)]
Update all the code to consume the ConvertDevicePathToText, ConvertDevicePathNodeToText, ConvertTextToDevicePath and ConvertTextToDeviceNode APIs in DevicePathLib.
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Elvin Li <elvin.li@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Guo Dong <guo.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14505
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Fri, 26 Jul 2013 03:00:21 +0000 (03:00 +0000)]
Add 4 APIs to DevicePathLib: ConvertDeviceNodeToText, ConvertDevicePathToText, ConvertTextToDeviceNode and ConvertTextToDevicePath.
Add a new instance of DevicePathLib which tries to locate the protocol and if it's not found, it uses the internal functions.
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14504
6f19259b -4bc3-4df7-8a09-
765794883524
Fu Siyuan [Thu, 25 Jul 2013 05:55:09 +0000 (05:55 +0000)]
Roll back the changes in revision 14296 since it will cause iSCSI security authentication issue.
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ouyang Qian <qian.ouyang@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14503
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Wed, 24 Jul 2013 15:31:19 +0000 (15:31 +0000)]
ArmPkg: Update the AArch64 Image File Machine Type to match the PE/COFF spec
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14502
6f19259b -4bc3-4df7-8a09-
765794883524
Harry Liebel [Wed, 24 Jul 2013 11:54:02 +0000 (11:54 +0000)]
ArmPkg/BdsLib: AArch64 MPCore Linux 'spin-table' boot cache fix
Clean data cache after initialising mailboxes.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Harry Liebel <Harry.Liebel@arm.com>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14501
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Wed, 24 Jul 2013 11:50:31 +0000 (11:50 +0000)]
ArmPkg/ArmLib/AArch64: Fixed the calculation of the last entry in the Translation Table
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14500
6f19259b -4bc3-4df7-8a09-
765794883524
Harry Liebel [Tue, 23 Jul 2013 18:51:51 +0000 (18:51 +0000)]
StdLib: Add Aarch64 support.
Modifies StdLib/StdLib.inc to include the ARM CompilerIntrinsicsLib when building for Aarch64.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Harry Liebel <Harry.Liebel@arm.com>
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed by: Daryl McDaniel <daryl.mcdaniel@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14499
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Mon, 22 Jul 2013 07:35:51 +0000 (07:35 +0000)]
Fix PciHostBridge driver to return success for EfiPciHostBridgeEndEnumeration to fix OVMF boot no display issue.
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14498
6f19259b -4bc3-4df7-8a09-
765794883524
Liming Gao [Mon, 22 Jul 2013 06:41:52 +0000 (06:41 +0000)]
Correctly character in comments of BaseLib BitField.
Signed-off-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14497
6f19259b -4bc3-4df7-8a09-
765794883524
Liming Gao [Mon, 22 Jul 2013 06:35:48 +0000 (06:35 +0000)]
Fixed the issue that BitFieldWrite32, BitFieldAnd32, BitFieldOr32, BitFieldAndThenOr32 with StartBit==0 and EndBit== 31 will hang in debug tip.
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Ruiyu Ni <Ruiyu.Ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14496
6f19259b -4bc3-4df7-8a09-
765794883524
Harry Liebel [Fri, 19 Jul 2013 00:07:16 +0000 (00:07 +0000)]
ArmPlatformPkg: Added Aarch64 Foundation Model
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Harry Liebel <Harry.Liebel@arm.com>
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14495
6f19259b -4bc3-4df7-8a09-
765794883524
Jordan Justen [Thu, 18 Jul 2013 22:51:27 +0000 (22:51 +0000)]
OvmfPkg/Sec: Build identity mapped pages in RAM for X64
This is based on MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c.
Previously we would run using page tables built into the
firmware device.
If a flash memory is available, it is unsafe for the page
tables to be stored in memory since the processor may try
to write to the page table data structures.
Additionally, when KVM ROM support is enabled for the
firmware device, then PEI fails to boot when the page
tables are in the firmware device.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14494
6f19259b -4bc3-4df7-8a09-
765794883524
Jordan Justen [Thu, 18 Jul 2013 22:51:16 +0000 (22:51 +0000)]
OvmfPkg: Add IndustryStandard/X64Paging.h
Taken from MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.h.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14493
6f19259b -4bc3-4df7-8a09-
765794883524
Jordan Justen [Thu, 18 Jul 2013 22:51:10 +0000 (22:51 +0000)]
OvmfPkg ResetSystemLib: Fix shutdown via UEFI runtime services
When the PM base address was moved from 0x400 to 0xb000, this
code was missed. This prevented shutdown's via the UEFI system
call from working. (For example, at the EFI shell prompt: reset -s)
We now use gUefiOvmfPkgTokenSpaceGuid.PcdAcpiPmBaseAddress
which is currently set at 0xb000.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14492
6f19259b -4bc3-4df7-8a09-
765794883524
Harry Liebel [Thu, 18 Jul 2013 21:32:43 +0000 (21:32 +0000)]
ArmPlatformPkg/Ds5: Added Aarch64 support
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Harry Liebel <Harry.Liebel@arm.com>
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14491
6f19259b -4bc3-4df7-8a09-
765794883524
Harry Liebel [Thu, 18 Jul 2013 19:53:43 +0000 (19:53 +0000)]
ArmPlatformPkg: Added support for Aarch64 AEM RTSM model
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Harry Liebel <Harry.Liebel@arm.com>
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14490
6f19259b -4bc3-4df7-8a09-
765794883524
Harry Liebel [Thu, 18 Jul 2013 19:06:52 +0000 (19:06 +0000)]
ArmPlatformPkg: Added Aarch64 support
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Harry Liebel <Harry.Liebel@arm.com>
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14489
6f19259b -4bc3-4df7-8a09-
765794883524
Harry Liebel [Thu, 18 Jul 2013 18:14:28 +0000 (18:14 +0000)]
ArmPkg: Added AArch64 support (missing files)
Some missing files from the initial AArch64 commit.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Harry Liebel <Harry.Liebel@arm.com>
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14488
6f19259b -4bc3-4df7-8a09-
765794883524
Harry Liebel [Thu, 18 Jul 2013 18:13:02 +0000 (18:13 +0000)]
ArmPkg/BdsLib: Added Aarch64 support for booting Linux
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Harry Liebel <Harry.Liebel@arm.com>
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14487
6f19259b -4bc3-4df7-8a09-
765794883524
Harry Liebel [Thu, 18 Jul 2013 18:07:46 +0000 (18:07 +0000)]
ArmPkg: Added Aarch64 support
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Harry Liebel <Harry.Liebel@arm.com>
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14486
6f19259b -4bc3-4df7-8a09-
765794883524
Harry Liebel [Thu, 18 Jul 2013 15:38:25 +0000 (15:38 +0000)]
ShellPkg: Added Aarch64 support
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Harry Liebel <Harry.Liebel@arm.com>
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14485
6f19259b -4bc3-4df7-8a09-
765794883524
Jaben Carsey [Thu, 18 Jul 2013 15:36:55 +0000 (15:36 +0000)]
ShellPkg: remove high bit to change a EFI_STATUS to a SHELL_STATUS
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14484
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Thu, 18 Jul 2013 07:21:35 +0000 (07:21 +0000)]
The PCI host bridge can signal failures in its initialization to
the PCI Bus driver through the function call NotifyPhase().
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14483
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Thu, 18 Jul 2013 06:20:33 +0000 (06:20 +0000)]
ArmPkg/CpuDxe: Moved memory mapping functions that are not architecture specific to 'CpuMmuCommon.c'
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14482
6f19259b -4bc3-4df7-8a09-
765794883524
Gary Ching-Pang Lin [Wed, 17 Jul 2013 07:53:04 +0000 (07:53 +0000)]
Per gmtime manpage, tm_mon is the number of months since January
while MonthNo is the month of the year, so tm_mon should be MonthNo-1.
Similarly, tm_mday is the day of the month, and DayNo is the number
of days since the first day of the month. Assigning DayNo+1 to
tm_mday to fit the definition.
This commit also corrected miscalculated MonthNo and DayNo for the
first day of the month. (Thanks to Laszlo Ersek!)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Ching-Pang Lin <glin@suse.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Long Qin <qin.long@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14481
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Wed, 17 Jul 2013 06:26:10 +0000 (06:26 +0000)]
ArmPkg: Removed the non-used PCD PcdGicPrimaryCoreId
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14480
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Wed, 17 Jul 2013 06:25:15 +0000 (06:25 +0000)]
ArmPkg/PL390Gic: Populate the GIC Distributor Target Register with the GIC CPU ID retrieved from the GIC
The GIC CPU Id (the GIC CPU interface the CPU is connected to) can be retrieved by reading the first
registers of the GIC CPU Target Registers.
The first GIC Distributor Target registers correspond to the SGIs.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14479
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Wed, 17 Jul 2013 06:24:15 +0000 (06:24 +0000)]
EmbeddedPkg/PrePiMemoryAllocationLib: Added dummy FreePages()
This function is exposed by the MemoryAllocationLib header.
A dummy FreePages() function has been added to fix modules depending on
this library and this function.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14478
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Wed, 17 Jul 2013 06:23:07 +0000 (06:23 +0000)]
ArmPlatformPkg: Removed the check on the CpuId to release the secondary cores from their mailbox spinning
The idea is to remove the PCD PcdGicPrimaryCoreId to make the port easier (and also to allow changing
the primary boot CPU without adding more platform specific code to UEFI).
There is a risk the mailboxes contain garbage at boot time. But it should be easy enough to clear the
mailboxes when starting UEFI to workaround this limitation.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14477
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Wed, 17 Jul 2013 02:21:58 +0000 (02:21 +0000)]
Expand the PcdSrIovSystemPageSize type to PcdsPatchableInModule.
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Kinney Michael <michael.d.kinney@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14476
6f19259b -4bc3-4df7-8a09-
765794883524
Gary Ching-Pang Lin [Tue, 16 Jul 2013 14:40:57 +0000 (14:40 +0000)]
ShellPkg: Update error to be SHELL_STATUS and not EFI_STATUS.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Ching-Pang Lin <glin@suse.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14475
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Tue, 16 Jul 2013 05:13:52 +0000 (05:13 +0000)]
Fixes the GCC build 'Unused variable' warning (raised an error when warnings are treated as errors).
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14474
6f19259b -4bc3-4df7-8a09-
765794883524
Eric Dong [Tue, 16 Jul 2013 05:09:47 +0000 (05:09 +0000)]
Rollback patch 14470, because it error check in some extra ending code.
Signed-off-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14473
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Tue, 16 Jul 2013 03:06:24 +0000 (03:06 +0000)]
Fix IA32 build failure.
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14472
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Tue, 16 Jul 2013 03:02:00 +0000 (03:02 +0000)]
Change the PcdSrIovSystemPageSize from type of [PcdFixedAtBuild] to [PcdFixedAtBuild, PcdDynamic, PcdDynamicEx] so that it’s runtime configurable.
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14471
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Tue, 16 Jul 2013 02:11:24 +0000 (02:11 +0000)]
Fixes the GCC build 'Unused variable' warning (raised an error when warnings are treated as errors).
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14470
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Tue, 16 Jul 2013 00:07:24 +0000 (00:07 +0000)]
ArmPkg/UncachedMemoryAllocationLib: Removed unused header (Protocol/Cpu.h)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14469
6f19259b -4bc3-4df7-8a09-
765794883524
Eugene Cohen [Mon, 15 Jul 2013 23:59:58 +0000 (23:59 +0000)]
ArmPkg: Fix UncachedFreeAlignedPages in UncachedMemoryAllocationLib
Route both the setting and restoring of cacheability through DXE Services/GCD
and stop using the CPU AP directly.
The patch also removes all references to the CPU AP which eliminates the need
for a library constructor.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eugene Cohen <eugene@hp.com>
Reviewed-by: Senthil Ramakrishnan <senthil.ramakrishnan@hp.com>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14468
6f19259b -4bc3-4df7-8a09-
765794883524
Eric Dong [Mon, 15 Jul 2013 07:47:02 +0000 (07:47 +0000)]
Refine the validation for the input attribute before return.
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14467
6f19259b -4bc3-4df7-8a09-
765794883524
Liming Gao [Fri, 12 Jul 2013 02:49:22 +0000 (02:49 +0000)]
Update PeiMemoryAllocationLib instance to support AllocateReservedPages() API.
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: michael.d.kinney@intel.com
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14466
6f19259b -4bc3-4df7-8a09-
765794883524