]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
12 years agoMdeModulePkg: Add Capsule PEIM
jljusten [Tue, 12 Jul 2011 20:35:46 +0000 (20:35 +0000)]
MdeModulePkg: Add Capsule PEIM

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

12 years agoCorrect the status code value to EFI_SW_PC_INIT_END after PEIM returns control to...
lgao4 [Tue, 12 Jul 2011 09:03:36 +0000 (09:03 +0000)]
Correct the status code value to EFI_SW_PC_INIT_END after PEIM returns control to PeiCore.
Signed-off-by: lgao4
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12010 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoChange the HiiDataBase and browser codes to support new efi varstore data structure.
ydong10 [Tue, 12 Jul 2011 07:24:36 +0000 (07:24 +0000)]
Change the HiiDataBase and browser codes to support new efi varstore data structure.

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

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

12 years agoUpdate structure EFI_IFR_VARSTORE_EFI to follow UEFI spec 2.3.1
ydong10 [Tue, 12 Jul 2011 07:15:42 +0000 (07:15 +0000)]
Update structure EFI_IFR_VARSTORE_EFI to follow UEFI spec 2.3.1

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

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

12 years agoMdePkg: Fix X64 clang compile issues.
andrewfish [Tue, 12 Jul 2011 03:01:34 +0000 (03:01 +0000)]
MdePkg: Fix X64 clang compile issues.

Fixed issues with X64 clang, and also make StackSwitch push a zero on the new stack to prevent a stack unwind into memory that is no longer valid.

signed-off-by: andrewfish
reviewed-by: lgao4
reviewed-by: mdkinney

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

12 years agoEdkCompatabilityPkg: Fix build issues with X64 clang
andrewfish [Tue, 12 Jul 2011 02:57:30 +0000 (02:57 +0000)]
EdkCompatabilityPkg: Fix build issues with X64 clang

Removed passing VA_LIST and some assembly language compatability issues. Did not fix ReportStatusCode passing VA_LIST (non-ANSI C Code), and some of the assembler was not not ported and int 3 was inserted, as it likely is not needed.

signed-off-by: andrewfish
reviewed-by: lgao4

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

12 years agoOvmfPkg: Add PathLib class mapping when building the UEFI shell
jljusten [Mon, 11 Jul 2011 21:20:40 +0000 (21:20 +0000)]
OvmfPkg: Add PathLib class mapping when building the UEFI shell

When building the UEFI shell into OVMF, the PathLib class
mapping is required.

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

12 years agoArmPlatformPkg/Documentation: Add diagram to the documentation
oliviermartin [Mon, 11 Jul 2011 15:45:33 +0000 (15:45 +0000)]
ArmPlatformPkg/Documentation: Add diagram to the documentation

- Give an overview of the different possible boot phases on ARM platforms (using
EDK2 for the full boot story or limiting its use to the last boot sequence)
- Show which functions to implement in ArmPlatformLib following the the boot phases

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

12 years agofix issue about slashes on end of comment line.
jcarsey [Mon, 11 Jul 2011 14:32:34 +0000 (14:32 +0000)]
fix issue about slashes on end of comment line.

signed-off-by:jcarsey

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

12 years agoFix typo that breaks the build.
niruiyu [Fri, 8 Jul 2011 06:51:30 +0000 (06:51 +0000)]
Fix typo that breaks the build.

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

12 years agoArmPlatformPkg: Fix warnings
oliviermartin [Thu, 7 Jul 2011 10:52:07 +0000 (10:52 +0000)]
ArmPlatformPkg: Fix warnings

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

12 years agoMove the 2 functions associated with reading whole lines at a single time from the...
jcarsey [Wed, 6 Jul 2011 22:28:36 +0000 (22:28 +0000)]
Move the 2 functions associated with reading whole lines at a single time from the shell command (internal) library to the ShellLib (external) library.

signed-off-by: jcarsey
reviewed-by: lgrosenb

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

12 years agoBeagleBoardPkg: Renamed ArmPlatform.h into BeagleBoard.h
oliviermartin [Wed, 6 Jul 2011 20:18:02 +0000 (20:18 +0000)]
BeagleBoardPkg: Renamed ArmPlatform.h into BeagleBoard.h

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

12 years agoBeagleBoardPkg: Implement ArmPlatformLib and the ARM PCDs to reuse ARM common compone...
oliviermartin [Wed, 6 Jul 2011 20:08:28 +0000 (20:08 +0000)]
BeagleBoardPkg: Implement ArmPlatformLib and the ARM PCDs to reuse ARM common components on the BeagleBoard.

To build the UEFI BeagleBoard firmware using this ARM framework either use ./build-next.sh
or directly call the EDK2 BaseTools with BeagleBoardPkg-next.dsc.

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

12 years agoBeagleBoard: Update documentation
oliviermartin [Wed, 6 Jul 2011 18:25:47 +0000 (18:25 +0000)]
BeagleBoard: Update documentation

- Update build instructions
- Add instructions to test UEFI on qEmu either using the NOR flash or the SD card

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

12 years agoUefiCpuPkg: Fix X64 clang compiler/assembler warnings.
andrewfish [Wed, 6 Jul 2011 18:12:29 +0000 (18:12 +0000)]
UefiCpuPkg: Fix X64 clang compiler/assembler warnings.

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

12 years agoBeagleBoardPkg: Introduce macro EDK2_SECOND_STAGE_BOOTOLADER
oliviermartin [Wed, 6 Jul 2011 16:46:44 +0000 (16:46 +0000)]
BeagleBoardPkg: Introduce macro EDK2_SECOND_STAGE_BOOTOLADER

By setting this macro, the OMAP353x header is stripped from the UEFI firmware.
Some boot loader (eg: x-loader) loads the second stage boot loader (u-boot or
uefi) to a specific address and start the firmware from this address.
This macro ensures the reset vector is located at the beginning of the image.

To build the BeagleBoard with ./build.sh to enable this feature:
./build.sh -D EDK2_SECOND_STAGE_BOOTOLADER=1

Note: in this case, you must use BEAGLEBOARD_EFI.fd (and not
BeagleBoard_EFI_flashboot.fd)

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

12 years agoArmPlatformPkg/Documentation: Update ArmPLatformPkg documentation with PCD descriptio...
oliviermartin [Wed, 6 Jul 2011 16:37:37 +0000 (16:37 +0000)]
ArmPlatformPkg/Documentation: Update ArmPLatformPkg documentation with PCD descriptions and explain how to port UEFI to new ARM platforms

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

12 years agoArmPkg: Minor coding style changes
oliviermartin [Wed, 6 Jul 2011 16:35:30 +0000 (16:35 +0000)]
ArmPkg: Minor coding style changes

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

12 years agoArmPlatformPkg: Change the memory model for the ARM Platform components
oliviermartin [Wed, 6 Jul 2011 16:27:21 +0000 (16:27 +0000)]
ArmPlatformPkg: Change the memory model for the ARM Platform components

In the former memory model, the UEFI firmware was expected to be located
at the top of the system memory. Stacks & Pi memory regions were set below
the firmware.
On some platform, the UEFI firmware could be shadowed by the ROM firmware
(case of the BeagleBoard) and in some cases the firmware is copied at the
beginning of the system memory.

With this new memory model, stack and Pi/DXE memory regions are set at the
top of the system memory wherever the UEFI firmware is located in the memory
map.
Because DXE core does not support shadowed firmwares, the system memory covered
by the UEFI firmware is marked as 'Non Present' to avoid to be overlapped by
DXE allocations.

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

12 years agoArmPlatformPkg: Remove PcdStandalone from Sec module and Introduce ArmPlatformSecExtr...
oliviermartin [Wed, 6 Jul 2011 16:07:54 +0000 (16:07 +0000)]
ArmPlatformPkg: Remove PcdStandalone from Sec module and Introduce ArmPlatformSecExtraAction()

The PcdStandalone is a PCD ARM Ltd uses to make the difference between a standalone UEFI (boot
from cold boot to Boot Manager without user intervention) and a Debug UEFI firmware (the firmware
engineer has to copy the Normale World image into the DRAM to enable his/her firmware).

By coping the firmware into DRAM in the non standalone version it is much faster than reflashing
the NOR Flash after each build.

ArmPlatformSecExtraAction() function is called just before the Sec module jump to normal world.
The platform firmware can run extra actions at this stage.
The 'ARM Standalone' concept has moved to the implementation of ArmPlatformSecExtraAction() for
the ARM development boards (in ArmPlatformPkg/Library/DebugSecExtraActionLib).

ArmPlatformPkg: Enable DebugAgentLib in Sec and PrePeiCore

ArmPlatformPkg: Fix line endings in some source files

Use CR+LF line endings as defined by the EDK2 coding convention

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

12 years agoArmPlatformPkg/Bds: Catch the key pressed to escape the count doan
oliviermartin [Wed, 6 Jul 2011 13:52:29 +0000 (13:52 +0000)]
ArmPlatformPkg/Bds: Catch the key pressed to escape the count doan

Catch the pressed key used to not start the default boot device.
Otherwise this key would appear in the menu user input.

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

12 years agoArmPlatformPkg/SP804TimerLib: Fixed the performance timer
oliviermartin [Wed, 6 Jul 2011 13:43:50 +0000 (13:43 +0000)]
ArmPlatformPkg/SP804TimerLib: Fixed the performance timer

The SP804 timer counts down. Change GetPerformanceCounterProperties ()
to declare this property.

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

12 years agoOmap35xxPkg/Omap35xxTimerLib: Create a TimerConstructor in the TimerLib
oliviermartin [Wed, 6 Jul 2011 12:52:01 +0000 (12:52 +0000)]
Omap35xxPkg/Omap35xxTimerLib: Create a TimerConstructor in the TimerLib

This constructor should be explicitely called by the Sec or PrePi phase
to initialize the OMAP353x timers.

This function is a copy of the Timer initialization function in BeagleBoardPkg/Sec.

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

12 years agoFix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is valid...
niruiyu [Wed, 6 Jul 2011 03:55:36 +0000 (03:55 +0000)]
Fix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is valid/invalid.

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

12 years agoFix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is valid...
niruiyu [Wed, 6 Jul 2011 03:47:08 +0000 (03:47 +0000)]
Fix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is valid/invalid.

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

12 years agoFix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is valid...
niruiyu [Wed, 6 Jul 2011 03:44:35 +0000 (03:44 +0000)]
Fix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is valid/invalid.

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

12 years agoFix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is valid...
niruiyu [Wed, 6 Jul 2011 03:44:19 +0000 (03:44 +0000)]
Fix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is valid/invalid.

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

12 years agoEnhance BDS to avoid the additional reset when the platform pre-allocated memory...
niruiyu [Wed, 6 Jul 2011 03:23:15 +0000 (03:23 +0000)]
Enhance BDS to avoid the additional reset when the platform pre-allocated memory is large enough.

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

12 years agocorrect leap year calculate method.
ydong10 [Tue, 5 Jul 2011 09:30:49 +0000 (09:30 +0000)]
correct leap year calculate method.

Signed-off-by:ydong10
Reviewed-by:hhtian

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

12 years agoFix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is valid...
niruiyu [Tue, 5 Jul 2011 09:22:57 +0000 (09:22 +0000)]
Fix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is valid/invalid.

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

12 years agoFix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is valid...
niruiyu [Tue, 5 Jul 2011 09:21:58 +0000 (09:21 +0000)]
Fix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is valid/invalid.

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

12 years agoFix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is valid...
niruiyu [Tue, 5 Jul 2011 09:21:22 +0000 (09:21 +0000)]
Fix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is valid/invalid.

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

12 years agoRefine name definition for better user experience.
ydong10 [Tue, 5 Jul 2011 08:49:55 +0000 (08:49 +0000)]
Refine name definition for better user experience.

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

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

12 years agoEnable value roll over when hit max or min.
ydong10 [Tue, 5 Jul 2011 08:28:23 +0000 (08:28 +0000)]
Enable value roll over when hit max or min.
Update the maximum value when input day field in date opcode.

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

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

12 years agoRefine code to avoid potential access violation.
ydong10 [Tue, 5 Jul 2011 08:24:22 +0000 (08:24 +0000)]
Refine code to avoid potential access violation.

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

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

12 years agoKeep the highlight field after user changes the value for time/date opcode
ydong10 [Tue, 5 Jul 2011 08:20:43 +0000 (08:20 +0000)]
Keep the highlight field after user changes the value for time/date opcode

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

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

12 years agoFix the BDS to show UEFI hard drive boot option as "EFI Hard Drive" instead of "EFI...
niruiyu [Tue, 5 Jul 2011 07:55:45 +0000 (07:55 +0000)]
Fix the BDS to show UEFI hard drive boot option as "EFI Hard Drive" instead of "EFI DVD/CDROM"

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

12 years agoReturn the correct status at the last of UnregisterAtaDevice.
li-elvin [Tue, 5 Jul 2011 04:34:03 +0000 (04:34 +0000)]
Return the correct status at the last of UnregisterAtaDevice.

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

12 years agoAdd the support for Boot Option with all 0xff USB class Device Path.
qianouyang [Tue, 5 Jul 2011 02:08:21 +0000 (02:08 +0000)]
Add the support for Boot Option with all 0xff USB class Device Path.

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

12 years agoBeagleBoardPkg: Fix build
oliviermartin [Mon, 4 Jul 2011 13:43:58 +0000 (13:43 +0000)]
BeagleBoardPkg: Fix build

BeagleBoardPkg: Switch to ArmPLatformPkg/Bds

The ArmPlatformPkg/Bds is able to boot Linux. Set the default boot device
for the BeagleBoardc to the SD card.

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

12 years agoArmPlatformPkg: Fix build issues
oliviermartin [Mon, 4 Jul 2011 10:18:18 +0000 (10:18 +0000)]
ArmPlatformPkg: Fix build issues

Other compiler version ... other warnings

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

12 years agoOmap35xxPkg/InterruptDxe: Fix dependency chain with the Arch Cpu Dxe
oliviermartin [Mon, 4 Jul 2011 10:09:04 +0000 (10:09 +0000)]
Omap35xxPkg/InterruptDxe: Fix dependency chain with the Arch Cpu Dxe

The CPU Dxe should be loaded before the Interrupt Dxe.

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

12 years agoArmPkg/BdsLib: Linux kernel supports either FDT or ATAG
oliviermartin [Mon, 4 Jul 2011 10:02:49 +0000 (10:02 +0000)]
ArmPkg/BdsLib: Linux kernel supports either FDT or ATAG

If a FDT blob is passed to the kernel it is required we can load it.
If we fail to load the binary then we must abort the Linux booting
process.

ArmPkg/CpuDxe: Ensure the reset vector passed to the CP15 VBAR register is aligned on the right boundary

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

12 years agoMdeModulePkg: Add unload support for SnpDxe and fix NULL ImageHandle in EfiLibInstall...
xdu2 [Mon, 4 Jul 2011 07:33:34 +0000 (07:33 +0000)]
MdeModulePkg: Add unload support for SnpDxe and fix NULL ImageHandle in EfiLibInstallDriverBindingComponentName2() in driver entry point.

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

12 years agoArmPlatformPkg: Update the list of the BaseTools pending patches and the documentation
oliviermartin [Fri, 1 Jul 2011 20:26:17 +0000 (20:26 +0000)]
ArmPlatformPkg: Update the list of the BaseTools pending patches and the documentation

To make the life easier for the user, I compiled the patches into a single patch
'BaseTools-Pending-Patches.patch'.

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

12 years agoArmPkg/CpuDxe: ZeroMem the gExceptionHandlers[] array
oliviermartin [Fri, 1 Jul 2011 20:02:14 +0000 (20:02 +0000)]
ArmPkg/CpuDxe: ZeroMem the gExceptionHandlers[] array

Prevent an IRQ (or any other exceptions) to make a call to an undefined
handler when the interrupt handler has not been registered yet.

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

12 years agoArmPlatformPkg: Fix builds
oliviermartin [Fri, 1 Jul 2011 19:51:48 +0000 (19:51 +0000)]
ArmPlatformPkg: Fix builds

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

12 years agoArmPlatformPkg: Set an empty value to the argument of the default boot entry
oliviermartin [Fri, 1 Jul 2011 17:01:37 +0000 (17:01 +0000)]
ArmPlatformPkg: Set an empty value to the argument of the default boot entry

Set gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument with the empty string
in DSC files.

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

12 years agoEmulatorPkg: update New Shell build for new PathLib. Turn off GuardMalloc library...
andrewfish [Fri, 1 Jul 2011 16:58:47 +0000 (16:58 +0000)]
EmulatorPkg: update New Shell build for new PathLib. Turn off GuardMalloc library as the default for the Shell.

signed-off-by: andrewfish

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

12 years agoArmPlatformPkg: Replace the macro $(BUILD_TARGETS) by $(TARGET) in DSC file
oliviermartin [Fri, 1 Jul 2011 16:58:28 +0000 (16:58 +0000)]
ArmPlatformPkg: Replace the macro $(BUILD_TARGETS) by $(TARGET) in DSC file

The $(BUILD_TARGETS) macro was used to make the difference between DEBUG and
RELEASE builds. The $(TARGET) macro should be used instead.

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

12 years agoArmPlatformPkg/PL34xDmc: Remove DMC base address from the DMC configuration
oliviermartin [Fri, 1 Jul 2011 16:50:59 +0000 (16:50 +0000)]
ArmPlatformPkg/PL34xDmc: Remove DMC base address from the DMC configuration

By removing the DMC Base Address from the structure, we can reuse the same DMC
configuration for two similar DMC controllers.

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

12 years agoArmPlatformPkg/PL35xSmc: Clean SMC driver to replace hardcoded Chip Select into the...
oliviermartin [Fri, 1 Jul 2011 16:33:22 +0000 (16:33 +0000)]
ArmPlatformPkg/PL35xSmc: Clean SMC driver to replace hardcoded Chip Select into the driver itself by passing SMC configuration to the driver

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

12 years agoArmPlatformPkg/PrePiHobListPointerLib: Get the HobListPointer from the stop of the...
oliviermartin [Fri, 1 Jul 2011 15:45:52 +0000 (15:45 +0000)]
ArmPlatformPkg/PrePiHobListPointerLib: Get the HobListPointer from the stop of the stack

When using ArmPlatformPkg/PrePeiCore or ArmPlatformPkg/PrePi, the global variable during
the XIP phase are stored on the top of the stack.
Global variables are defined by their PCD offset from the top of this stack.

For example, the HobListPtr is defined at the offset PcdHobListPtrGlobalOffset.

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

12 years agoArmPkg: Move ARM Platform drivers from ArmPkg/Drivers/ to ArmPlatformPkg/Drivers...
oliviermartin [Fri, 1 Jul 2011 15:40:16 +0000 (15:40 +0000)]
ArmPkg: Move ARM Platform drivers from ArmPkg/Drivers/ to ArmPlatformPkg/Drivers/ (2)

... svn did not like my way to move folder from one directory to another one :-/

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

12 years agoArmPkg: Move ARM Platform drivers from ArmPkg/Drivers/ to ArmPlatformPkg/Drivers/
oliviermartin [Fri, 1 Jul 2011 15:30:01 +0000 (15:30 +0000)]
ArmPkg: Move ARM Platform drivers from ArmPkg/Drivers/ to ArmPlatformPkg/Drivers/

The idea is to keep ArmPkg responsible for the ARM architectural modules and ArmPlatformPkg
the ARM development platform packages (with their respective drivers).

ArmPlatformPkg: Reduce driver dependency on ArmPlatform.h

- Move some driver definitions from C-Macro to PCD values
- Unify PCD driver namespace

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

12 years agoEmbeddedPkg: Removed unused PCD values
oliviermartin [Fri, 1 Jul 2011 14:41:25 +0000 (14:41 +0000)]
EmbeddedPkg: Removed unused PCD values

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

12 years agoEmbeddedPkg/Ebl: Check if gST->ConOut has been initialized
oliviermartin [Fri, 1 Jul 2011 14:37:16 +0000 (14:37 +0000)]
EmbeddedPkg/Ebl: Check if gST->ConOut has been initialized

An exception error occured in EBL when gST->ConOut had not been intialized.

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

12 years agoArmPlatformPkg: Add support for PrePi module
oliviermartin [Fri, 1 Jul 2011 14:33:26 +0000 (14:33 +0000)]
ArmPlatformPkg: Add support for PrePi module

This module is enabled for ArmRealViewEb and ArmvExpress builds
when the macro EDK2_SKIP_PEICORE is passed to the build system.

The PrePi module can be used when the DRAM has already been initialized
by the SEC phase/1st stage boot loader and no call to external PEIM is
required.

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

12 years agoArmPlatformPkg: Move PcdStandalone from Feature PCD to Fixed PCD
oliviermartin [Fri, 1 Jul 2011 14:21:12 +0000 (14:21 +0000)]
ArmPlatformPkg: Move PcdStandalone from Feature PCD to Fixed PCD

Feature PCDs cannot be used in assembly files.
The PcdStandalone PCD is needed in one of the assembly file of the
ArmPlatformPkg/PrePi module.

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

12 years agoArmPlatformPkg/PlatformPei: Generate a library from the PEI Module
oliviermartin [Fri, 1 Jul 2011 11:45:32 +0000 (11:45 +0000)]
ArmPlatformPkg/PlatformPei: Generate a library from the PEI Module

In the aim to reuse the Platform Pei features in a PrePi module (use to
skip the PEI Core), this module has been divided into two files:
- PlatformPeiLib: declare the platform HOBs
- PlatformPeim: PEIM wrapper for the library

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

12 years agoArmPlatformPkg/MemoryInitPei: Generate a library from the PEI Module
oliviermartin [Fri, 1 Jul 2011 11:41:53 +0000 (11:41 +0000)]
ArmPlatformPkg/MemoryInitPei: Generate a library from the PEI Module

In the aim to reuse the memory init features in a PrePi module (use to
skip the PEI Core), this module has been divided into two files:
- MemoryInitPeiLib: declare the memory HOBs
- MemoryIniPeim: PEIM warpper for the library

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

12 years agoArmPlatformPkg/PrePi: Add support for PrePi module
oliviermartin [Fri, 1 Jul 2011 11:09:00 +0000 (11:09 +0000)]
ArmPlatformPkg/PrePi: Add support for PrePi module

This module should handle the Pre PI phase before the DXE core is
executed when there is no PEI Core support.
It declares the required information needed by the DXE core through HOBs.

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

12 years agoEmbeddedPkg/PrePiLib: Export HobConstructor()
oliviermartin [Fri, 1 Jul 2011 11:00:47 +0000 (11:00 +0000)]
EmbeddedPkg/PrePiLib: Export HobConstructor()

This function only create the HOB Handoff Info Table structure in memory.
In opposition to CreateHobList() that creates the structure and starts to
populate it with few HOBs.

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

12 years agoEmbeddedPkg/PrePiHobListPointerLib: New interface to abstract the HobListPointer...
oliviermartin [Fri, 1 Jul 2011 10:59:06 +0000 (10:59 +0000)]
EmbeddedPkg/PrePiHobListPointerLib: New interface to abstract the HobListPointer storage

This interface allows to use different mechanism to store the HobList Pointer.

EmbeddedPkg/PrePiHobListPointerLib: Implementation of PrePiHobListPointerLib using PCD

This library uses a PCD to store the location of the HobList Pointer.

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

12 years agoEmbeddedPkg/PrePiLib: Remove the performance measurements from the library
oliviermartin [Fri, 1 Jul 2011 10:57:38 +0000 (10:57 +0000)]
EmbeddedPkg/PrePiLib: Remove the performance measurements from the library

The PrePiLib should really be used for the PEI phase (not the SEC phase).
It is the DXE core that take the tick for the end of the PEI phase.

The Platform PrePi module should be responsible to take the tick when it
starts for the PEI phase.

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

12 years agoEmbeddedPkg/PrePiHobLib: Move Hob functions from PrePiLib to PrePiHobLib
oliviermartin [Fri, 1 Jul 2011 10:56:24 +0000 (10:56 +0000)]
EmbeddedPkg/PrePiHobLib: Move Hob functions from PrePiLib to PrePiHobLib

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

12 years agoEmbeddedPkg: Introduce PrePiMemoryAllocationLib (2)
oliviermartin [Fri, 1 Jul 2011 10:53:51 +0000 (10:53 +0000)]
EmbeddedPkg: Introduce PrePiMemoryAllocationLib (2)

Forgot the new files ...

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

12 years agoEmbeddedPkg: Introduce PrePiMemoryAllocationLib
oliviermartin [Fri, 1 Jul 2011 10:50:48 +0000 (10:50 +0000)]
EmbeddedPkg: Introduce PrePiMemoryAllocationLib

This Memory Allocation Library for PrePi is based on the memory
functions of PrePiLib.

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

12 years agoFix ICC build error.
lzeng14 [Fri, 1 Jul 2011 04:59:47 +0000 (04:59 +0000)]
Fix ICC build error.

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

12 years agoFix CreateBootDisk.bat not using config variables
niruiyu [Fri, 1 Jul 2011 04:48:45 +0000 (04:48 +0000)]
Fix CreateBootDisk.bat not using config variables

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

12 years agoFix ICC build error.
lzeng14 [Fri, 1 Jul 2011 03:56:19 +0000 (03:56 +0000)]
Fix ICC build error.

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

12 years agoFix ICC build error.
lzeng14 [Fri, 1 Jul 2011 03:47:26 +0000 (03:47 +0000)]
Fix ICC build error.

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

12 years agoMdeModulePkg: Add ResetSystemRuntimeDxe driver
jljusten [Fri, 1 Jul 2011 00:40:46 +0000 (00:40 +0000)]
MdeModulePkg: Add ResetSystemRuntimeDxe driver

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

12 years agoMdeModulePkg: Add GenericMemoryTestDxe driver
jljusten [Fri, 1 Jul 2011 00:40:26 +0000 (00:40 +0000)]
MdeModulePkg: Add GenericMemoryTestDxe driver

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

12 years agoThis refactors 3 functions out of ShellCommandLib and puts them into a new library...
jcarsey [Thu, 30 Jun 2011 22:58:53 +0000 (22:58 +0000)]
This refactors 3 functions out of ShellCommandLib and puts them into a new library (but as 2 functions instead of 3).  This allows for users outside of the shell itself to have access to these functions.

1) Remove the 3 functions out of the shell's internal library (ShellCommandLib)
2) Add a new library class (PathLib)
3) Add an instance of this class (BasePathLib)
4) Change all internal shell callers to use this new library class.

signed-off-by: jcarsey
reviewed-by: jljusten

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

12 years agoadd fixes for code verification happyness.
jcarsey [Thu, 30 Jun 2011 22:25:46 +0000 (22:25 +0000)]
add fixes for code verification happyness.

signed-off-by: jcarsey
reviewed-by: jljusten

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

12 years agoIntelFrameworkModulePkg: Add PalLib library class mapping
jljusten [Thu, 30 Jun 2011 20:19:03 +0000 (20:19 +0000)]
IntelFrameworkModulePkg: Add PalLib library class mapping

This is required for Csm/LegacyBiosDxe on IPF.

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

12 years agoFix the comments in the core interface to follow the UEFI Spec regarding how to check...
niruiyu [Thu, 30 Jun 2011 03:34:42 +0000 (03:34 +0000)]
Fix the comments in the core interface to follow the UEFI Spec regarding how to check an EFI_HANDLE is valid/invalid.

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

12 years agoFix a potential memory free failure bug in AtaAtapiPassThru
erictian [Thu, 30 Jun 2011 03:32:00 +0000 (03:32 +0000)]
Fix a potential memory free failure bug in AtaAtapiPassThru

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

12 years agoFix DevPathToTextIPv6(): no comma between protocol and type string.
niruiyu [Thu, 30 Jun 2011 02:20:07 +0000 (02:20 +0000)]
Fix DevPathToTextIPv6(): no comma between protocol and type string.

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

12 years agoGive Python/PythonCore.inf its own GUID.
darylm503 [Wed, 29 Jun 2011 18:16:01 +0000 (18:16 +0000)]
Give Python/PythonCore.inf its own GUID.
Do not build Python by default since it requires manual preparation before it can be built.
Update ReadMe.pdf to include information on configuring and building Python.

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

12 years agoEmulatorPkg: Match paths/names for Xcode with new package naming scheme.
andrewfish [Wed, 29 Jun 2011 17:27:55 +0000 (17:27 +0000)]
EmulatorPkg: Match paths/names for Xcode with new package naming scheme.

signed-off-by:andrewfish

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

12 years agoEmulatorPkg: Add README file
jljusten [Wed, 29 Jun 2011 16:30:51 +0000 (16:30 +0000)]
EmulatorPkg: Add README file

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

12 years agoEmulatorPkg: Merge build*.sh into build.sh
jljusten [Wed, 29 Jun 2011 16:30:38 +0000 (16:30 +0000)]
EmulatorPkg: Merge build*.sh into build.sh

Merged OvmfPkg/build.sh changes to allow a single build script
for IA32 & X64 builds.

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

12 years agoadd (UINT8 *) type cast to fix ICC build failure.
niruiyu [Wed, 29 Jun 2011 07:15:58 +0000 (07:15 +0000)]
add (UINT8 *) type cast to fix ICC build failure.

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

12 years agoEmulatorPkg: Move Unix/UnixX64.* to EmulatorPkg.*
jljusten [Wed, 29 Jun 2011 05:13:54 +0000 (05:13 +0000)]
EmulatorPkg: Move Unix/UnixX64.* to EmulatorPkg.*

EmulatorPkg/Unix/UnixX64.dsc => EmulatorPkg/EmulatorPkg.dsc
EmulatorPkg/Unix/UnixX64.fdf => EmulatorPkg/EmulatorPkg.fdf

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

12 years agoEmulatorPkg/Unix: Rename SecMain to Host
jljusten [Wed, 29 Jun 2011 05:13:33 +0000 (05:13 +0000)]
EmulatorPkg/Unix: Rename SecMain to Host

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

12 years agoIntelFrameworkModulePkg: Fix clang compielr warning.
andrewfish [Tue, 28 Jun 2011 23:11:25 +0000 (23:11 +0000)]
IntelFrameworkModulePkg: Fix clang compielr warning.

Clang complains about if (()) constructs as it thinks you may be doing a compare and assign in the same if structure.

signed-off-by: vanjeff

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

12 years agoMissing from previous check-in.
darylm503 [Tue, 28 Jun 2011 19:44:23 +0000 (19:44 +0000)]
Missing from previous check-in.

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

12 years agoEmulatorPkg: Fix build break.
andrewfish [Tue, 28 Jun 2011 18:12:41 +0000 (18:12 +0000)]
EmulatorPkg: Fix build break.

signed-off-by: andrewfish

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

12 years agoEmulatorPkg: Fix issue with ReadKeyStroke returning EFI_SUCCESS when only a modifier...
andrewfish [Tue, 28 Jun 2011 18:11:34 +0000 (18:11 +0000)]
EmulatorPkg: Fix issue with ReadKeyStroke returning EFI_SUCCESS when only a modifier key is pressed.

This should only happen for ReadKeyStrokeEx.

signed-off-by: andrewfish

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

12 years agoEmulatorPkg: Remove all trailing whitespace
jljusten [Tue, 28 Jun 2011 16:50:26 +0000 (16:50 +0000)]
EmulatorPkg: Remove all trailing whitespace

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

12 years agoInOsEmuPkg: Rename package to EmulatorPkg & Sec to Host
jljusten [Tue, 28 Jun 2011 16:47:23 +0000 (16:47 +0000)]
InOsEmuPkg: Rename package to EmulatorPkg & Sec to Host

* Rename InOsEmuPkg to EmulatorPkg
* Rename Unix/Sec to Unix/Host

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

12 years agoClarify the requirements for the Destination parameter of UnicodeStrToAsciiStr.
jcarsey [Tue, 28 Jun 2011 15:01:53 +0000 (15:01 +0000)]
Clarify the requirements for the Destination parameter of UnicodeStrToAsciiStr.

signed-off-by:jcarsey
Reviewed-by:lgao4

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

12 years agoArmPlatformPkg/Bds: Use unaligned read to access OptionalData in EFI_LOAD_OPTION
oliviermartin [Tue, 28 Jun 2011 11:55:11 +0000 (11:55 +0000)]
ArmPlatformPkg/Bds: Use unaligned read to access OptionalData in EFI_LOAD_OPTION

EFI_LOAD_OPTION is a packed structure. Accessing to the non aligned double word
requires to use ReadUnaligned32() function.

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

12 years agoArmPlatformPkg/Bds: Check if the assumed requirements are set before to use it
oliviermartin [Tue, 28 Jun 2011 11:50:32 +0000 (11:50 +0000)]
ArmPlatformPkg/Bds: Check if the assumed requirements are set before to use it

There were some assumptions that some PCDs and protocols were defined.
Check if these requirements are defined; either print a debug message
to inform the user or skip the statements that require these PCDs or protocol.

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

12 years agoArmPkg/BdsLib: Check if the performance timer is counting down or up in PrintPerforma...
oliviermartin [Tue, 28 Jun 2011 11:41:34 +0000 (11:41 +0000)]
ArmPkg/BdsLib: Check if the performance timer is counting down or up in PrintPerformance()

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

12 years agoEnable new "ref5" opcode in browser.
ydong10 [Tue, 28 Jun 2011 06:41:28 +0000 (06:41 +0000)]
Enable new "ref5" opcode in browser.

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

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

12 years agoAdd new "ref5" opcode data structure and ref data type structure.
ydong10 [Tue, 28 Jun 2011 06:39:26 +0000 (06:39 +0000)]
Add new "ref5" opcode data structure and ref data type structure.

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

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