]>
git.proxmox.com Git - mirror_edk2.git/log
Olivier Martin [Mon, 2 Sep 2013 13:12:17 +0000 (13:12 +0000)]
ArmPkg/CpuDxe: Fixed calculation of the Page Table Index (Level 2 Descriptor)
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@14617
6f19259b -4bc3-4df7-8a09-
765794883524
Roy Franz [Mon, 2 Sep 2013 09:10:17 +0000 (09:10 +0000)]
ArmPkg/ArmLib: Change comment to match code for setting of V bit in SCTLR register.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Roy Franz <roy.franz@linaro.org>
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14616
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Mon, 2 Sep 2013 09:02:16 +0000 (09:02 +0000)]
Add Memory fence for ARM Architecture (32 and 64 bit)
Contributed-under: TianoCore Contribution Agreement 1.0
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@14615
6f19259b -4bc3-4df7-8a09-
765794883524
Eric Dong [Mon, 2 Sep 2013 02:21:40 +0000 (02:21 +0000)]
Update sample code for date/time.
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@14614
6f19259b -4bc3-4df7-8a09-
765794883524
Jordan Justen [Fri, 30 Aug 2013 19:29:09 +0000 (19:29 +0000)]
OvmfPkg NvVarsFileLib: Set NvVars variable after writing vars file
The volatile 'NvVars' variable indicates that the variables do
not need to be loaded from the file again. After we write the
variables out to the file, there is clearly no need to load
them back from the file.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Michael Chang <mchang@suse.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14613
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Fri, 30 Aug 2013 11:51:51 +0000 (11:51 +0000)]
EmbeddedPkg/MmcDxe: Moved all the 'Print*()' functions to MmcDebug.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@14612
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Fri, 30 Aug 2013 11:50:36 +0000 (11:50 +0000)]
ARM Package: Increase FV file size for some EDK2 firmware
GCC47 generates bigger binaries in Debug build than GCC46.
This large increase is considered as a regression.
It will require some investigation to understand the reason
of this increase in size.
The size of the FV has been increased to allow developers to
build these images with the current BaseTools.
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@14611
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Thu, 29 Aug 2013 09:00:13 +0000 (09:00 +0000)]
MdePkg/AArch64: Fixed some definitions in ProcessorBind.h
- Fixed INT8 declaration
- Introduced MAX_INTN/MAX_UINTN
- Force the MAX_* to be 'unsigned long long' numbers
Change-Id: I1ad818559d051df9a880aa8e4ac090e76fdb27e0
Contributed-under: TianoCore Contribution Agreement 1.0
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@14610
6f19259b -4bc3-4df7-8a09-
765794883524
Shumin Qiu [Thu, 29 Aug 2013 05:37:52 +0000 (05:37 +0000)]
Update status code data structures according errata.
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@14609
6f19259b -4bc3-4df7-8a09-
765794883524
Robert Matthews [Wed, 28 Aug 2013 14:38:13 +0000 (14:38 +0000)]
ShellPkg: Fix LastError environment variable truncation
-Fixes LastError environment variable being truncated to 32 bits on 64 bit systems
-Fixes possible buffer overrun issue with LastError string value
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Robert Matthews <robert.matthews@hp.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14608
6f19259b -4bc3-4df7-8a09-
765794883524
Fu Siyuan [Wed, 28 Aug 2013 09:06:40 +0000 (09:06 +0000)]
1. Change default PCD in SecurityPkg to 4 (DENY_EXECUTE) in DEC file.
2. ASSERT if PCD value is set to 5 (QUERY_USER_ON_SECURITY_VIOLATION).
3. Update override PCD setting from 5 to 4 in platform DSC file.
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ni Ruiyu <ruiyu.ni@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14607
6f19259b -4bc3-4df7-8a09-
765794883524
Girish K S [Tue, 27 Aug 2013 09:17:20 +0000 (09:17 +0000)]
SCR_EL3 is the control register for setting the security state
modified the comment which can mislead.
The "ldr r0, [r1]" is overrided with a immediate "mov ro, #3"
instruction. This mov instruction will over write the contents
of the ro register. So replacing 'mov' by 'orr' instruction would
prevent to override the original value.
This patch assumes mov is the right instruction to be retained
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@14606
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Tue, 27 Aug 2013 09:01:54 +0000 (09:01 +0000)]
ShellPkg: Fixed build errors related to variable declarations
- variable "TempLocation" was set but never used
Contributed-under: TianoCore Contribution Agreement 1.0
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@14605
6f19259b -4bc3-4df7-8a09-
765794883524
Jeff Fan [Tue, 27 Aug 2013 07:29:45 +0000 (07:29 +0000)]
Removed the assumption on APIC timer initial Count is all 1s and updated it to handle the long delay that timer initial count.
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14604
6f19259b -4bc3-4df7-8a09-
765794883524
Jeff Fan [Tue, 27 Aug 2013 07:29:14 +0000 (07:29 +0000)]
Removed the assumption on APIC timer initial Count is all 1s and updated it to handle the long delay that timer initial count.
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14603
6f19259b -4bc3-4df7-8a09-
765794883524
Laszlo Ersek [Mon, 26 Aug 2013 02:47:41 +0000 (02:47 +0000)]
MdeModulePkg/DiskIoDxe: fix source/destination pointer of overrun transfer
DiskIoCreateSubtaskList() may split the transfer into three segments:
- a leading segment, called underrun, which is the fractional, trailing
subset of the first underlying block,
- a middle segment, which is an integral multiple of underlying blocks,
- a trailing segment, called overrun, which is the fractional, leading
subset of the last underlying block.
This is an example read from the /EFI/BOOT/BOOTX64.EFI file, on the
RHEL-6.4 installation ISO (debug log enabled with EFI_D_BLKIO). The
underlying block size is 2048 bytes (IDE CD-ROM).
DiskIo: Create subtasks for task: Offset/BufferSize/Buffer =
0000000000004600 /
00002000 /
BD890018
R:Lba/Offset/Length/WorkingBuffer/Buffer =
0000000000000008 /
00000600 /
00000200 /
BD90D000 /
BD890018
R:Lba/Offset/Length/WorkingBuffer/Buffer =
000000000000000C /
00000000 /
00000600 /
BD90D000 /
BD890218
R:Lba/Offset/Length/WorkingBuffer/Buffer =
0000000000000009 /
00000000 /
00001800 /
00000000 /
BD890218
The first line corresponds to the underrun.
The second line corresponds to the overrun.
The third line corresponds to the middle segment.
In decimal:
- task: read 8192 bytes from offset 17920, storing it at
BD890018
- underrun:
- read block 8 [16384..18432) into the transfer area,
- copy 512 bytes from offset 1536 of the transfer area to
BD890018
(target buffer offset 0, running total: 512)
- middle segment:
- read blocks 9, 10, 11 [18432..24576) into the transfer area,
- copy 6144 bytes from offset 0 of the transfer area to
BD890218
(target buffer offset 512, running total: 6656)
- overrun:
- read block 12 [24576..26624) into the transfer area,
- copy 1536 bytes from offset 0 of the transfer area to
BD890218 (!!!)
(target buffer offset 512 (!!!), running total 8192)
The values marked with (!!!) constitute the bug --
DiskIoCreateSubtaskList() doesn't take the size of the middle segment into
account when it calculates the destination (for reads) or source (for
writes) pointer for the overrun. This leads to data corruption.
When reading, data is copied form the transfer area to the target buffer
with
CopyMem (Subtask->Buffer, Subtask->WorkingBuffer + Subtask->Offset, Subtask->Length);
calls in DiskIo2OnReadWriteComplete() for nonblocking reads, and in
DiskIo2ReadWriteDisk() for blocking reads. Therefore it's enough to adjust
Subtask->Buffer when it is initialized. (See
BD891A18 below.)
DiskIo: Create subtasks for task: Offset/BufferSize/Buffer =
0000000000004600 /
00002000 /
BD890018
R:Lba/Offset/Length/WorkingBuffer/Buffer =
0000000000000008 /
00000600 /
00000200 /
BD90D000 /
BD890018
R:Lba/Offset/Length/WorkingBuffer/Buffer =
000000000000000C /
00000000 /
00000600 /
BD90D000 /
BD891A18
R:Lba/Offset/Length/WorkingBuffer/Buffer =
0000000000000009 /
00000000 /
00001800 /
00000000 /
BD890218
The patched call to DiskIoCreateSubtask() is also executed for write
requests. The changed Subtask->Buffer initialization fixes the "overrun
half writes" in DiskIo2ReadWriteDisk() too:
//
// A sub task before this one should be a block read operation, causing
// the WorkingBuffer filled with the entire one block data.
//
CopyMem (Subtask->WorkingBuffer + Subtask->Offset, Subtask->Buffer, Subtask->Length);
This code doubles for underrun and overrun half-writes. The patch doesn't
modify the underrun case.
If we're storing the overrun at the beginning of the pre-read last block
(which we're going to write out as a full block), then
- Subtask->Offset == 0,
- Subtask->Length == OverRun,
- the first byte *not* accessed in the source area is
((Buffer + UnderRunLength) + BufferSize) + OverRun.
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@14602
6f19259b -4bc3-4df7-8a09-
765794883524
Laszlo Ersek [Fri, 23 Aug 2013 18:46:03 +0000 (18:46 +0000)]
OvmfPkg: Virtio: load used ring element strictly after loading used index
Enforce in-order execution of these steps even on not sequentially
consistent architectures, as discussed in [1]. These changes should be
unnecessary on x86 (the only architecture OVMF currently supports), but
they align the OVMF virtio code with the virtio specification and could be
necessary for future OVMF ports.
[1] http://lists.linuxfoundation.org/pipermail/virtualization/2013-June/024547.html
Suggested-by: Stefan Hajnoczi <stefanha@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14601
6f19259b -4bc3-4df7-8a09-
765794883524
Jordan Justen [Fri, 23 Aug 2013 18:45:47 +0000 (18:45 +0000)]
OvmfPkg: Build and use the UEFI shell by default
Previously OVMF included the older EFI shell binary when building.
Now we will build and use the UEFI shell (ShellPkg) instead.
v2:
* Don't bother building UEFI shell when USE_OLD_SHELL is defined
* Fix errors in OvmfPkgIa32X64.fdf
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@14600
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Fri, 23 Aug 2013 18:21:46 +0000 (18:21 +0000)]
EmbeddedPkg/EmbeddedPkg.dsc: Fixed PCD settings
Invalid PCD syntax.
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@14599
6f19259b -4bc3-4df7-8a09-
765794883524
Jaben Carsey [Fri, 23 Aug 2013 15:21:16 +0000 (15:21 +0000)]
ShellPkg: Fix potentially uninitialized variable compiler warning
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14598
6f19259b -4bc3-4df7-8a09-
765794883524
Shumin Qiu [Fri, 23 Aug 2013 08:37:31 +0000 (08:37 +0000)]
Update SetVariable() function description for the clarification of requirements to update timestamp associated with authenticated variable.
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@14597
6f19259b -4bc3-4df7-8a09-
765794883524
Shumin Qiu [Fri, 23 Aug 2013 08:31:11 +0000 (08:31 +0000)]
Fix the typo in the description of EFI_PLATFORM_TO_DRIVER_CONFIGURATION_QUERY.
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@14596
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Fri, 23 Aug 2013 07:41:57 +0000 (07:41 +0000)]
Add new driver diagnostic type (EfiDriverDiagnosticTypeCancel) to follow UEFI Spec 2.4.
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@14595
6f19259b -4bc3-4df7-8a09-
765794883524
Eric Dong [Fri, 23 Aug 2013 05:54:33 +0000 (05:54 +0000)]
Add some comments, clear describe the efi varstore type.
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@14594
6f19259b -4bc3-4df7-8a09-
765794883524
Eric Dong [Fri, 23 Aug 2013 05:53:04 +0000 (05:53 +0000)]
Update comments for HiiConfigRoutine->ExtractConfig function, also update HiiConfigRoutine->ConfigToBlock/BlockToConfig to follow this new spec.
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@14593
6f19259b -4bc3-4df7-8a09-
765794883524
Eric Dong [Fri, 23 Aug 2013 05:49:50 +0000 (05:49 +0000)]
Update comments to follow new spec definition.
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@14592
6f19259b -4bc3-4df7-8a09-
765794883524
Liming Gao [Fri, 23 Aug 2013 02:18:16 +0000 (02:18 +0000)]
Sync BaseTool trunk (version r2599) into EDKII BaseTools.
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Heshen Chen <chen.heshen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14591
6f19259b -4bc3-4df7-8a09-
765794883524
Fu Siyuan [Thu, 22 Aug 2013 09:46:03 +0000 (09:46 +0000)]
Fix a bug in secure boot configuration driver: Enroll DB/KEK will disable Attempt Secure Boot option.
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14590
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Thu, 22 Aug 2013 05:55:29 +0000 (05:55 +0000)]
Fix DuetPkg build failure after adding the new reset type EfiResetPlatformSpecific.
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14589
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Thu, 22 Aug 2013 05:44:23 +0000 (05:44 +0000)]
Do not lock the volume when the volume maps to a file instead of a physical disk.
Otherwise WriteBlocks() on the volume which maps to a file will fail.
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14588
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Thu, 22 Aug 2013 05:15:05 +0000 (05:15 +0000)]
Fix DDK3790 build failure.
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14587
6f19259b -4bc3-4df7-8a09-
765794883524
Shumin Qiu [Thu, 22 Aug 2013 01:01:27 +0000 (01:01 +0000)]
Update firmware management protocol definition to expose the lowest supported firmware version.
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@14586
6f19259b -4bc3-4df7-8a09-
765794883524
Jaben Carsey [Wed, 21 Aug 2013 18:11:23 +0000 (18:11 +0000)]
ShellPkg: update behavior with undefined environment variables
Undefined environment variables are now removed during script execution.
Excepted environment variables are now correctly un-excepted right before processing continues
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
reviewed-by: Matthews, Robert <Robert.Matthews@hp.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14585
6f19259b -4bc3-4df7-8a09-
765794883524
Jaben Carsey [Wed, 21 Aug 2013 17:32:16 +0000 (17:32 +0000)]
ShellPkg: Fix file size error upon copy operation.
There was a case where an copy operation of a small file overwriting a larger file would not correctly remove the extra space in the old file. The resultant file would have the entire source file and then what remained of the original file.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
reviewed-by: El-Haj-Mahmoud, Samer <samer.el-haj-mahmoud@hp.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14584
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Wed, 21 Aug 2013 14:45:02 +0000 (14:45 +0000)]
ArmPlatformPkg/ArmVExpressPkg: Added 'EfiResetPlatformSpecific' to ResetSystemLib
This value was missing from the switch on 'ResetType'.
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@14583
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Wed, 21 Aug 2013 12:08:06 +0000 (12:08 +0000)]
ArmPkg/ArmGicLib.h: Added macro to retrieve the information from the ICCIDR
These macros are helper functions to get the information from the GIC CPU
Interface Identification register.
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@14582
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Wed, 21 Aug 2013 12:07:01 +0000 (12:07 +0000)]
ArmPlatformPkg/Sec: Removed SetupExceptionLevel3()
This function only does the GIC initialization that is always taken care by Sec.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@14581
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Wed, 21 Aug 2013 12:05:44 +0000 (12:05 +0000)]
ArmPlatformPkg/Sec: Remove SCR and CPTR initialization from SetupExceptionLevel3
This is already taken care by Sec when PcdTrustzoneSupport = TRUE.
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@14580
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Wed, 21 Aug 2013 12:04:57 +0000 (12:04 +0000)]
ArmPlatformPkg/ArmVExpressPkg: Set PcdTrustzoneSupport to TRUE on the AArch64 platforms
This PCD ensures the transition from EL3 to EL2 in ArmPlatformPkg/Sec.
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@14579
6f19259b -4bc3-4df7-8a09-
765794883524
Qian Ouyang [Wed, 21 Aug 2013 08:57:13 +0000 (08:57 +0000)]
Fix OptionRomPkg build failure.
Signed-off-by: Qian Ouyang <qian.ouyang@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14578
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Wed, 21 Aug 2013 08:35:44 +0000 (08:35 +0000)]
Fix function header comments for DiskIoDestroySubtask.
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14577
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Wed, 21 Aug 2013 08:19:22 +0000 (08:19 +0000)]
Add the new reset type (EfiResetPlatformSpecific) to UefiSpec.h to follow UEFI Spec 2.4.
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@14576
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Wed, 21 Aug 2013 06:49:25 +0000 (06:49 +0000)]
MdeModulePkg/DiskIoDxe: Fixed GCC build error
Error: Variable "Media" was set but never used.
Change-Id: I1297b3de797e436ed403375c801945b3202b532c
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@14575
6f19259b -4bc3-4df7-8a09-
765794883524
Elvin Li [Wed, 21 Aug 2013 03:46:01 +0000 (03:46 +0000)]
Remove several ASSERT in XhciDxe to allow error status happen then do error handling.
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@14574
6f19259b -4bc3-4df7-8a09-
765794883524
Eric Dong [Tue, 20 Aug 2013 07:13:28 +0000 (07:13 +0000)]
Refine the comments and code to follow spec.
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@14573
6f19259b -4bc3-4df7-8a09-
765794883524
Eric Dong [Tue, 20 Aug 2013 07:08:25 +0000 (07:08 +0000)]
Refine the comments to follow spec.
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@14572
6f19259b -4bc3-4df7-8a09-
765794883524
Shumin Qiu [Tue, 20 Aug 2013 05:03:30 +0000 (05:03 +0000)]
Add the missing status code in the returned table of InstallMultipleProtocolInterface().
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@14571
6f19259b -4bc3-4df7-8a09-
765794883524
Ruiyu Ni [Tue, 20 Aug 2013 03:14:30 +0000 (03:14 +0000)]
Add DiskIo2 protocol definition to MdePkg.
Change DiskIoDxe to produce DiskIo2 protocol when the BlockIo2 protocol is available.
Change PartitionDxe to produce BlockIo2 protocol based on DiskIo2 protocol instead of BlockIo2 protocol.
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@14570
6f19259b -4bc3-4df7-8a09-
765794883524
Qian Ouyang [Tue, 20 Aug 2013 02:22:00 +0000 (02:22 +0000)]
Update the structure of EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL, PXE_HW_UNDI, PXE_SW_UNDI to support greater than 256NICs in UNDI (Request by UEFI2.4 Mantis991).
Signed-off-by: Qian Ouyang <qian.ouyang@intel.com>
Reviewed-by: Ting Ye <ting.ye@intel.com>
Siyuan Fu <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14569
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Mon, 19 Aug 2013 17:38:39 +0000 (17:38 +0000)]
ArmPkg/CpuDxe: Added support to not set a memory region with the same attribute
Changing the attribute implies some cache management (clean & invalidate).
Preventing the cache management should improve the performance.
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@14568
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Mon, 19 Aug 2013 17:37:50 +0000 (17:37 +0000)]
ArmPkg/ArmLib: Added ConvertSectionAttributesToPageAttributes()
This helper function converts the section attributes into their page equivalents.
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@14567
6f19259b -4bc3-4df7-8a09-
765794883524
Olivier Martin [Mon, 19 Aug 2013 17:37:03 +0000 (17:37 +0000)]
ArmPkg/ArmV7Mmu.h: Added masks to extract attributes from Section and Page entries
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@14566
6f19259b -4bc3-4df7-8a09-
765794883524
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