mirror_edk2.git
11 years agoAdd pointer check for NULL before dereference it.
sfu5 [Fri, 14 Oct 2011 05:19:25 +0000 (05:19 +0000)]
Add pointer check for NULL before dereference it.

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

11 years agoShellPkg: Set CRC value whenever changing a system table.
jcarsey [Thu, 13 Oct 2011 23:05:08 +0000 (23:05 +0000)]
ShellPkg: Set CRC value whenever changing a system table.

This adds a function (from DxeMain.c) that calculates and sets a CRC into a system table header and then calls the function in the 2 places where the shell changes the system table.

signed-off-by: jcarsey
reviewed-by: geekboy15a

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

11 years agoSShellPkg: updating order of cast and addressing of a pointer (2 identical places).
jcarsey [Thu, 13 Oct 2011 16:08:18 +0000 (16:08 +0000)]
SShellPkg: updating order of cast and addressing of a pointer (2 identical places).

GCC build didn't like the original version.

sighed-off-by: jcarsey
reviewed-by: lgrosenb

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

11 years agoCheck in the new EBC Fat binary to have correct file alignment and section alignment...
niruiyu [Thu, 13 Oct 2011 05:17:37 +0000 (05:17 +0000)]
Check in the new EBC Fat binary to have correct file alignment and section alignment(32-byte alignment).

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

11 years agoCheck the pointer before use it to avoid potential access violation.
ydong10 [Thu, 13 Oct 2011 02:37:35 +0000 (02:37 +0000)]
Check the pointer before use it to avoid potential access violation.
Signed-off-by: ydong10
Reviewed-by: jcarsey
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12533 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoRefine code and check null pointer error.
ydong10 [Thu, 13 Oct 2011 02:31:58 +0000 (02:31 +0000)]
Refine code and check null pointer error.
Signed-off-by: ydong10
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12532 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix build failure with MS ASL compiler.
gdong1 [Wed, 12 Oct 2011 03:48:06 +0000 (03:48 +0000)]
Fix build failure with MS ASL compiler.

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

11 years ago Update UID drivers to align with latest UEFI spec 2.3.1.
gdong1 [Wed, 12 Oct 2011 03:38:19 +0000 (03:38 +0000)]
 Update UID drivers to align with latest UEFI spec 2.3.1.
 Directly use ImageHandle instead of &ImageHandle for wrong usage in TCG physical presence library.

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

11 years ago Update UID drivers to align with latest UEFI spec 2.3.1.
gdong1 [Wed, 12 Oct 2011 03:27:15 +0000 (03:27 +0000)]
 Update UID drivers to align with latest UEFI spec 2.3.1.

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

11 years agoGrub4Dos copies the BPB of the first partition to the MBR. If the DriverBindingStart...
niruiyu [Wed, 12 Oct 2011 02:45:02 +0000 (02:45 +0000)]
Grub4Dos copies the BPB of the first partition to the MBR. If the DriverBindingStart() of the Fat driver gets run before that of Partition driver only the first partition can be recognized.
Let the driver binding version of Partition driver be higher than that of Fat driver to make sure the DriverBindingStart() of the Partition driver gets run before that of Fat driver so that all the partitions can be recognized.

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

11 years agoFix Smbios table checksum error, by zero IntermediateChecksum and EntryPointStructure...
jyao1 [Tue, 11 Oct 2011 13:25:18 +0000 (13:25 +0000)]
Fix Smbios table checksum error, by zero IntermediateChecksum and EntryPointStructureChecksum before checksum calculation.

signed-off-by: jyao1
reviewed-by: elvinli

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

11 years agoAsciiSPrint returns The number of ASCII characters in the produced output buffer...
li-elvin [Tue, 11 Oct 2011 03:45:24 +0000 (03:45 +0000)]
AsciiSPrint returns The number of ASCII characters in the produced output buffer not including the Null-terminator, but SerialStatusCodeWorker has bug which overwrites the last character, which causes there is a missing character in serial log output. The fix is to resolve this issue.

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

11 years agoSync BaseTools Branch (version r2362) to EDKII main trunk.
lgao4 [Tue, 11 Oct 2011 02:49:48 +0000 (02:49 +0000)]
Sync BaseTools Branch (version r2362) to EDKII main trunk.
Signed-off-by: lgao4
Reviewed-by: jsu1
Reviewed-by: ydliu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12525 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoShellPkg: Add checks for NULL pointers.
jcarsey [Mon, 10 Oct 2011 20:36:44 +0000 (20:36 +0000)]
ShellPkg: Add checks for NULL pointers.

This adds lots of pointer verification with ASSERTs only used when the condition should be impossible and never for memory allocation.

signed-off-by: jcarsey
reviewed-by: geekboy15a

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

11 years agoShellPkg: Add checks for NULL pointers.
jcarsey [Mon, 10 Oct 2011 20:32:17 +0000 (20:32 +0000)]
ShellPkg: Add checks for NULL pointers.

This adds lots of pointer verification with ASSERTs only used when the condition should be impossible and never for memory allocation.

signed-off-by: jcarsey
reviewed-by: geekboy15a

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

11 years agoShellPkg: Verify memory allocations without ASSERT.
jcarsey [Mon, 10 Oct 2011 17:26:25 +0000 (17:26 +0000)]
ShellPkg: Verify memory allocations without ASSERT.

signed-off-by: jcarsey
reviewed-by: geekboy15a

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

11 years agoInstallOpROM in CSM driver could be enhanced to start video when RomImage is passed...
li-elvin [Mon, 10 Oct 2011 07:54:47 +0000 (07:54 +0000)]
InstallOpROM in CSM driver could be enhanced to start video when RomImage is passed in directly.
Signed-off-by: li-elvin
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12521 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoEnhance op-code EFI_IFR_TO_BOOLEAN to case insensitive.
ydong10 [Mon, 10 Oct 2011 03:17:46 +0000 (03:17 +0000)]
Enhance op-code EFI_IFR_TO_BOOLEAN to case insensitive.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12520 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUse PCD for PMM size and EndOpromShadowAddress to remove hard code value in CSM module.
li-elvin [Mon, 10 Oct 2011 01:43:13 +0000 (01:43 +0000)]
Use PCD for PMM size and EndOpromShadowAddress to remove hard code value in CSM module.

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

11 years agoWhen the CONFIG_ACCESS_PROTOCOL.CallBack function return error, the question should...
ydong10 [Sun, 9 Oct 2011 10:52:54 +0000 (10:52 +0000)]
When the CONFIG_ACCESS_PROTOCOL.CallBack function return error, the question should restore to old value

Signed-off-by:ydong10
Reviewed-by:lgao4

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

11 years agoUpdate code to make get string case insensitive about language
ydong10 [Sun, 9 Oct 2011 10:44:05 +0000 (10:44 +0000)]
Update code to make get string case insensitive about language

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

11 years agoAdd a GUIDed HOB to init Debug Print error level earlier in DXE. Add NULL PEIM librar...
andrewfish [Sat, 8 Oct 2011 21:00:13 +0000 (21:00 +0000)]
Add a GUIDed HOB to init Debug Print error level earlier in DXE. Add NULL PEIM library to init HOB.

Debug Print Error level can be controled by an EFI variable. Update the DXE version of the library to use a HOB if the variable services are not yet availilbe. This allows the variable to be used early in the DXE phase.

approved-by: andrewfish
reviewed-by: lgao4

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

11 years agoFix Xcode link failure. Relocations are not supported in .text sections.
andrewfish [Sat, 8 Oct 2011 20:51:17 +0000 (20:51 +0000)]
Fix Xcode link failure. Relocations are not supported in .text sections.

Per Rui's review of the patch _16GdtrBase is a label that is patched by C code so it does require initialization.

approved-by: andrewfish
reviewed-by: jljusten
reviewed-by: rsun3

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

11 years agoAdd pointer check for NULL before dereference it.
sfu5 [Sat, 8 Oct 2011 02:55:30 +0000 (02:55 +0000)]
Add pointer check for NULL before dereference it.

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

11 years agoMdeModulePkg: TerminalDxe driver code clean up
niruiyu [Sat, 8 Oct 2011 02:44:59 +0000 (02:44 +0000)]
MdeModulePkg: TerminalDxe driver code clean up

Roll back the EOL change wrongly made by last patch.
Adjust the space to align to the EDKII coding style.

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

11 years agoMdeModulePkg: Fix TerminalDxe FIFO Data Loss
niruiyu [Sat, 8 Oct 2011 02:09:50 +0000 (02:09 +0000)]
MdeModulePkg: Fix TerminalDxe FIFO Data Loss

Fixes a Terminal FIFO full issue that caused data to be lost. The Unicode and EFI Key FIFOs are now checked to make sure they have spaces before pushing another entry.

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

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

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

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

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

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

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

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

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

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

Signed-off by: lpleahy

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

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

Signed-off by: lpleahy

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Change __aeabi_uread4 from:
    ldrb    r2, [r0, #1]
    ldrb    r1, [r0]
    (...)
to:
    ldrb    r1, [r0]
    ldrb    r2, [r0, #1]
    (...)

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

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

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

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

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

UefiHiiServicesLib requires an implementation of gEfiHiiDatabaseProtocolGuid.

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

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

Was still pointing to the former FDF filename.

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

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

signed-off-by:andrewfish

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

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

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

11 years agoCorrect inconsistent information in IpsecConfig.efi help report.
qianouyang [Thu, 29 Sep 2011 06:49:17 +0000 (06:49 +0000)]
Correct inconsistent information in IpsecConfig.efi help report.

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

11 years agoAdd pointer check for NULL before dereference it.
ydong10 [Thu, 29 Sep 2011 06:38:55 +0000 (06:38 +0000)]
Add pointer check for NULL before dereference it.

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

11 years agoAdd RomImage pointer NULL check.
li-elvin [Thu, 29 Sep 2011 06:35:51 +0000 (06:35 +0000)]
Add RomImage pointer NULL check.

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

11 years agoAdd pointer check for NULL before dereference it.
ydong10 [Thu, 29 Sep 2011 06:33:23 +0000 (06:33 +0000)]
Add pointer check for NULL before dereference it.

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

11 years agoAdd more check to avoid access violation.
ydong10 [Thu, 29 Sep 2011 01:10:20 +0000 (01:10 +0000)]
Add more check to avoid access violation.

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

11 years agoArmPlatformPkg/Bds: Fix GetConsoleDevicePathFromVariable() when SetVariable has failed
oliviermartin [Wed, 28 Sep 2011 19:05:54 +0000 (19:05 +0000)]
ArmPlatformPkg/Bds: Fix GetConsoleDevicePathFromVariable() when SetVariable has failed

Return the Default Device Path even when SetVariable has failed.

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

11 years agoBeagleBoardPkg: Replaced the original DSC/FDF files by their new versions that use...
oliviermartin [Wed, 28 Sep 2011 18:59:32 +0000 (18:59 +0000)]
BeagleBoardPkg: Replaced the original DSC/FDF files by their new versions that use the ARM Platform Framework

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

11 years agoBeagleBoardPkg: Removed 'SimpleTextInOutSerial' driver
oliviermartin [Wed, 28 Sep 2011 18:55:40 +0000 (18:55 +0000)]
BeagleBoardPkg: Removed 'SimpleTextInOutSerial' driver

The BeagleBoard is now using ConSplitter.
Update the Console DevicePaths to point to the Console Splitter driver.

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

11 years agoEdkCompatibilityPkg SmmBaseHelper: Fix PageFaultHandlerHook assembly code to use...
rsun3 [Wed, 28 Sep 2011 09:00:06 +0000 (09:00 +0000)]
EdkCompatibilityPkg SmmBaseHelper: Fix PageFaultHandlerHook assembly code to use AL register for return value from PageFaultHandler().

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

11 years agoMdeModulePkg PCI Bus Driver: Add more checks before dispatching an EFI PCI Option...
rsun3 [Wed, 28 Sep 2011 07:50:58 +0000 (07:50 +0000)]
MdeModulePkg PCI Bus Driver: Add more checks before dispatching an EFI PCI Option ROM image.

* Check if the machine type of the image is supported by the current UEFI system.
* Ignore the image if it is an EFI application as required by the UEFI spec.

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

11 years agoBefore decrypting the packet, Ipsec will check if the inbound protected packet is...
qianouyang [Wed, 28 Sep 2011 03:20:22 +0000 (03:20 +0000)]
Before decrypting the packet, Ipsec will check if the inbound protected packet is mal-format. If yes, discard it.

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

11 years agoUefiCpuPkg VTF0: Fix support for finding SEC image of type TE.
rsun3 [Wed, 28 Sep 2011 01:36:33 +0000 (01:36 +0000)]
UefiCpuPkg VTF0: Fix support for finding SEC image of type TE.

Update Flat32SearchForSecEntryPoint assembly code to support finding an SEC image using the TE image format.

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

11 years agoArmPkg/BdsLib: Fix incorrect pointer casting
oliviermartin [Tue, 27 Sep 2011 18:27:20 +0000 (18:27 +0000)]
ArmPkg/BdsLib: Fix incorrect pointer casting

A physical address (64bit) was cast to a 32bit pointer.

Signed-off-by: Eugene Cohen (HP)
Reviewed-by: oliviermartin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12460 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoArmPkg/CompilerIntrinsicsLib: Fix __aeabi_memclr and __aeabi_memclr4
oliviermartin [Tue, 27 Sep 2011 18:13:26 +0000 (18:13 +0000)]
ArmPkg/CompilerIntrinsicsLib: Fix __aeabi_memclr and __aeabi_memclr4

The passed arguments did not match the __aeabi_memset prototype.

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

11 years agoARM Packages: Fixed Build failings/warnings/EDK2 coding convention
oliviermartin [Tue, 27 Sep 2011 16:42:47 +0000 (16:42 +0000)]
ARM Packages: Fixed Build failings/warnings/EDK2 coding convention

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

11 years agoArmPlatformPkg: Create an ARM Platform DSC / FDF / ArmPlatformLib template
oliviermartin [Tue, 27 Sep 2011 16:40:46 +0000 (16:40 +0000)]
ArmPlatformPkg: Create an ARM Platform DSC / FDF / ArmPlatformLib template

By copying these templates, it should make easier to port EDK2 to new ARM
Platforms.

- ArmPlatformPkg.(dsc|fdf): For EDK2 firmwares which support the full boot
story from cold boot to OS loading
- ArmPlatformPkg-2ndstage.(dsc|fdf): For EDK2 as a second stage boot loader
(either started after a proprietary ROM firmware or x-loader)

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

11 years agoArmPlatformPkg: Add support for ARM RTSM Versatile Express A15x1 and A15x4
oliviermartin [Tue, 27 Sep 2011 16:37:01 +0000 (16:37 +0000)]
ArmPlatformPkg: Add support for ARM RTSM Versatile Express A15x1 and A15x4

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

11 years agoArmPkg: Add ARM Architectural Timer support
oliviermartin [Tue, 27 Sep 2011 16:35:16 +0000 (16:35 +0000)]
ArmPkg: Add ARM Architectural Timer support

ARM Architectural Timer support is defined by the ARM Generic Timer Specification.

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

11 years agoArmPkg/ArmLib: Update Arm11 port
oliviermartin [Tue, 27 Sep 2011 16:33:20 +0000 (16:33 +0000)]
ArmPkg/ArmLib: Update Arm11 port

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

11 years agoArmPkg/ArmLib: Clean ArmV7Lib
oliviermartin [Tue, 27 Sep 2011 16:31:20 +0000 (16:31 +0000)]
ArmPkg/ArmLib: Clean ArmV7Lib

- Move the non specific ArmV7 functions to ArmLib.
- Clean the ARM Platform common components to not depend on ArmV7 if not required

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

11 years agoArmPlatformPkg: Replaced 'ArmPlatformTrustzoneSupported' by the fixed Pcd gArmTokenSp...
oliviermartin [Tue, 27 Sep 2011 16:29:07 +0000 (16:29 +0000)]
ArmPlatformPkg: Replaced 'ArmPlatformTrustzoneSupported' by the fixed Pcd gArmTokenSpaceGuid.PcdTrustzoneSupport

This change does not make possible to disable Trustzone from the firmware.
The firmware has to be built for Trustzone support enabled or disabled.

The memory page table are now defined as 'Normal Memory' in any case.
Except for RTSM Device Memory which as to be Secure Device Memory due
to a RTSM bug.

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

11 years agoArmPlatformPkg: Replaced '!if' conditions by more appropriate '!ifdef' conditions
oliviermartin [Tue, 27 Sep 2011 16:27:05 +0000 (16:27 +0000)]
ArmPlatformPkg: Replaced '!if' conditions by more appropriate '!ifdef' conditions

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

11 years agoArmPkg: Introduce ArmCpuLib to abstract ARM Cpu specific initialization (2)
oliviermartin [Tue, 27 Sep 2011 16:26:03 +0000 (16:26 +0000)]
ArmPkg: Introduce ArmCpuLib to abstract ARM Cpu specific initialization (2)

Missed new files.

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

11 years agoArmPkg: Removed 'ArmV7/ArmV7MPCore*' files
oliviermartin [Tue, 27 Sep 2011 16:24:30 +0000 (16:24 +0000)]
ArmPkg: Removed 'ArmV7/ArmV7MPCore*' files

These files were Cortex A9 specific. The A9 specific functions have
moved to ArmCpuLib/ArmCortexA9Lib.

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

11 years agoArmPkg: Introduce ArmCpuLib to abstract ARM Cpu specific initialization
oliviermartin [Tue, 27 Sep 2011 16:22:09 +0000 (16:22 +0000)]
ArmPkg: Introduce ArmCpuLib to abstract ARM Cpu specific initialization

Every CPUs have their own initialization requirements.
This library allows to allows to abstract these initialization requirements
into the ARM Platform common components.

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

11 years agoImplement Tcg physical presence as a library instead of DXE driver in order that...
gdong1 [Tue, 27 Sep 2011 08:44:33 +0000 (08:44 +0000)]
Implement Tcg physical presence as a library instead of DXE driver in order that TPM can be locked as early as possible.

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

11 years agoFix ICC9 build break.
lgao4 [Tue, 27 Sep 2011 03:46:25 +0000 (03:46 +0000)]
Fix ICC9 build break.
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12446 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoRemove ASSERT (EFI_IMAGE_MACHINE_TYPE_SUPPORTED (Image->Machine)) in StartImage.
lgao4 [Mon, 26 Sep 2011 09:32:30 +0000 (09:32 +0000)]
Remove ASSERT (EFI_IMAGE_MACHINE_TYPE_SUPPORTED (Image->Machine)) in StartImage.
Signed-off-by: lgao4
Reviewed-by: jyao1 rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12443 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoEdkCompatibilityPkg MpServicesOnFrameworkMpServicesThunk: Check for x2APIC mode befor...
rsun3 [Mon, 26 Sep 2011 07:36:15 +0000 (07:36 +0000)]
EdkCompatibilityPkg MpServicesOnFrameworkMpServicesThunk: Check for x2APIC mode before accessing the APIC ID register in RendezvousFunnelProc().

Contributed by Bruce Losure.

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

11 years agoThe ParentDevicePath is not initialized when error happened and went to Done. So...
li-elvin [Mon, 26 Sep 2011 06:01:07 +0000 (06:01 +0000)]
The ParentDevicePath is not initialized when error happened and went to Done. So the ParentDevicePath is moved to the beginning of Start ().

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

11 years agoArmPlatformPkg/patches: Update the pending patches with the updated ARMGCC and RVCT...
oliviermartin [Fri, 23 Sep 2011 09:05:36 +0000 (09:05 +0000)]
ArmPlatformPkg/patches: Update the pending patches with the updated ARMGCC and RVCT toolchains and the new ARMLINUXGCC toolchain patches.

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

11 years agoerror handling enhancement for possible null pointer dereference
vanjeff [Fri, 23 Sep 2011 07:44:49 +0000 (07:44 +0000)]
error handling enhancement for possible null pointer dereference

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

11 years agoRoll back r12434.
vanjeff [Fri, 23 Sep 2011 06:45:16 +0000 (06:45 +0000)]
Roll back r12434.

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

11 years agoSync BaseTools Branch (version r2324) to EDKII main trunk.
lgao4 [Fri, 23 Sep 2011 06:03:45 +0000 (06:03 +0000)]
Sync BaseTools Branch (version r2324) to EDKII main trunk.
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12435 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoerror handling enhancement for possible null pointer dereference
erictian [Fri, 23 Sep 2011 05:17:31 +0000 (05:17 +0000)]
error handling enhancement for possible null pointer dereference

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

11 years agoBeagleBoardPkg: The FDF file does not reserve any more the area for the OMAP35xxx...
oliviermartin [Thu, 22 Sep 2011 23:25:39 +0000 (23:25 +0000)]
BeagleBoardPkg: The FDF file does not reserve any more the area for the OMAP35xxx header

It is the tool BeagleBoardPkg/Tools/generate_image which will add a CH header to a the
BeagleBoard FD file.

The build macro EDK2_SECOND_STAGE_BOOTOLADER is not required any more.

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

11 years agoBeagleBoardPkg: Add Display Driver support to the BeagleBoard
oliviermartin [Thu, 22 Sep 2011 23:24:54 +0000 (23:24 +0000)]
BeagleBoardPkg: Add Display Driver support to the BeagleBoard

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

11 years agoBeagleBoardPkg: Set paddings following the BeagleBoard revision (A, B, xM, etc)
oliviermartin [Thu, 22 Sep 2011 23:23:54 +0000 (23:23 +0000)]
BeagleBoardPkg: Set paddings following the BeagleBoard revision (A, B, xM, etc)

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

11 years agoArmPlatformPkg/Bds: Add an option in the Boot Manager to edit the Device Path of...
oliviermartin [Thu, 22 Sep 2011 23:23:19 +0000 (23:23 +0000)]
ArmPlatformPkg/Bds: Add an option in the Boot Manager to edit the Device Path of the Platform Device Tree

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

11 years agoArmPlatformPkg/ArmVExpressPkg: Add support for ARM Versatile Express A9x4 Model
oliviermartin [Thu, 22 Sep 2011 23:22:31 +0000 (23:22 +0000)]
ArmPlatformPkg/ArmVExpressPkg: Add support for ARM Versatile Express A9x4 Model

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

11 years agoArmPlatformPkg/ArmiVExpressPkg: Introduce 'ArmVExpress.dsc.inc' to avoid duplication...
oliviermartin [Thu, 22 Sep 2011 23:21:02 +0000 (23:21 +0000)]
ArmPlatformPkg/ArmiVExpressPkg: Introduce 'ArmVExpress.dsc.inc' to avoid duplication of library and PCD defintions around ARM Versatile Express Boards

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

11 years agoArmPlatformPkg/ArmRealViewEbPkg: Introduce 'ArmRealViewEb.dsc.inc' to avoid duplicati...
oliviermartin [Thu, 22 Sep 2011 23:19:23 +0000 (23:19 +0000)]
ArmPlatformPkg/ArmRealViewEbPkg: Introduce 'ArmRealViewEb.dsc.inc' to avoid duplication of library and PCD defintions around ARM RealView Emulation Boards

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

11 years agoArmPkg/ArmV7: Move the MMU specific macros into 'Chipset/ArmV7Mmu.h
oliviermartin [Thu, 22 Sep 2011 23:18:09 +0000 (23:18 +0000)]
ArmPkg/ArmV7: Move the MMU specific macros into 'Chipset/ArmV7Mmu.h

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

11 years agoArmPlatformPkg/ArmRealViewEbPkg: Removed unused 'Pei' module
oliviermartin [Thu, 22 Sep 2011 23:16:56 +0000 (23:16 +0000)]
ArmPlatformPkg/ArmRealViewEbPkg: Removed unused 'Pei' module

ArmRealViewEbPkg is now using the ArmPlatform Common modules (ArmPlatformPkg/Sec
and ArmPlatformPkg/PrePeiCore).

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

11 years agoArmPkg: Removed deprecated 'ArmMPCoreMailBoxLib'
oliviermartin [Thu, 22 Sep 2011 23:16:04 +0000 (23:16 +0000)]
ArmPkg: Removed deprecated 'ArmMPCoreMailBoxLib'

This library has been replaced by ArmMpCoreInfo PPI and HOBs.

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

11 years agoArmPkg: Create MpCoreInfo PPI and HOB to describe CPU Cores on a MPCore platform
oliviermartin [Thu, 22 Sep 2011 23:14:01 +0000 (23:14 +0000)]
ArmPkg: Create MpCoreInfo PPI and HOB to describe CPU Cores on a MPCore platform

These info are:
- ClusterId, CoreId
- MailBox Set/Get/Clear address

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

11 years agoArmPlatformPkg: Add ArmPlatformGetPlatformPpiList()
oliviermartin [Thu, 22 Sep 2011 23:12:23 +0000 (23:12 +0000)]
ArmPlatformPkg: Add ArmPlatformGetPlatformPpiList()

This function exposes the Platform Specific PPIs. They can be used by
any PrePi modules or passed to the PeiCore by PrePeiCore

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

11 years agoArmPlatformPkg/PrePeiCore: Reverse Stack & PeiTemporary
oliviermartin [Thu, 22 Sep 2011 23:11:34 +0000 (23:11 +0000)]
ArmPlatformPkg/PrePeiCore: Reverse Stack & PeiTemporary

To get the global variable at top of the Primary Stack such as in the Pei module.

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

11 years agoArmPlatformPkg: Introduce ArmPlatformGlobalVariableLib
oliviermartin [Thu, 22 Sep 2011 23:11:03 +0000 (23:11 +0000)]
ArmPlatformPkg: Introduce ArmPlatformGlobalVariableLib

This library hides where the 'XIP' Global Variable are located in the memory.
It is expected the Sec/PrePi modules define the Global Variable area through
the GlobalVariable HOB.

The ArmPlatformGlobalVariableLib library allows access to global variables by
their offsets in this region.

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

11 years agoArmPlatformPkg/Sec: Clean and Move all declaration into 'SecInternal.h' (2)
oliviermartin [Thu, 22 Sep 2011 23:08:40 +0000 (23:08 +0000)]
ArmPlatformPkg/Sec: Clean and Move all declaration into 'SecInternal.h' (2)

Missed header file.

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

11 years agoArmPlatformPkg/PrePi: Removed the dependency on 'PcdCPUCoresNonSecStackBase'
oliviermartin [Thu, 22 Sep 2011 23:07:55 +0000 (23:07 +0000)]
ArmPlatformPkg/PrePi: Removed the dependency on 'PcdCPUCoresNonSecStackBase'

In PrePi the StackBase is automatically calculated from the top of the memory.
The information is now passed from the assembly files to the C code.

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