mirror_edk2.git
10 years agoArmPkg: Fix warnings raised by ARMGCC
oliviermartin [Wed, 15 Jun 2011 19:53:15 +0000 (19:53 +0000)]
ArmPkg: Fix warnings raised by ARMGCC

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

10 years agoInOsEmuPkg: Update code to support BerkeleyPacketFilter, and add a template for Linux...
andrewfish [Wed, 15 Jun 2011 18:51:30 +0000 (18:51 +0000)]
InOsEmuPkg: Update code to support BerkeleyPacketFilter, and add a template for LinuxPacketFilter.

BerkelyPacketFilter seems to work. Some one else will need to use the BerkeleyPacketFilter as a template and implement the LinuxPacketFilter. I don't think it will be that hard, as they are simular.

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

10 years agoInOsEmuPkg: Update DevicePathTextLib to the latest MdeModulePkg patch on the mailing...
andrewfish [Wed, 15 Jun 2011 18:46:15 +0000 (18:46 +0000)]
InOsEmuPkg: Update DevicePathTextLib to the latest MdeModulePkg patch on the mailing list.

This library is not currently used as it requires pending updates to the MdeModulePkg.

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

10 years agoUpdates old formset info before exit to avoid old change lost.
ydong10 [Wed, 15 Jun 2011 08:40:08 +0000 (08:40 +0000)]
Updates old formset info before exit to avoid old change lost.

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

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

10 years agoFor BaseLib IsNull() function , update retval value comment to match its function...
lgao4 [Wed, 15 Jun 2011 02:45:58 +0000 (02:45 +0000)]
For BaseLib IsNull() function , update retval value comment to match its function description.

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

10 years ago1. In IPv4 and IPv6 driver, before calling IPsec, a new NET_FRAGMENT structure is...
qianouyang [Tue, 14 Jun 2011 09:45:59 +0000 (09:45 +0000)]
1. In IPv4 and IPv6 driver, before calling IPsec, a new NET_FRAGMENT structure is allocated and then passed to IPsec, it should be released after it is done to avoid the memory leak.
2. In IPsec driver it wrongly use the HeadLen to calculate the IP header length after the IPsec process. Correct this mistake.

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

10 years agofix file name lowercase/uppercase inconsistent issue.
erictian [Tue, 14 Jun 2011 03:44:16 +0000 (03:44 +0000)]
fix file name lowercase/uppercase inconsistent issue.

Signed-off-by:erictian
Reviewed-by:niruiyu

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

10 years agofix file name lowercase/uppercase inconsistent issue.
erictian [Tue, 14 Jun 2011 03:42:28 +0000 (03:42 +0000)]
fix file name lowercase/uppercase inconsistent issue.

Signed-off-by:erictian
Reviewed-by:niruiyu

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

10 years agofix file name lowercase/uppercase inconsistent issue.
erictian [Tue, 14 Jun 2011 03:39:23 +0000 (03:39 +0000)]
fix file name lowercase/uppercase inconsistent issue.

Signed-off-by:erictian
Reviewed-by:niruiyu

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

10 years agoScsiBus/ScsiDisk enhancement for no_media state.
erictian [Tue, 14 Jun 2011 02:11:34 +0000 (02:11 +0000)]
ScsiBus/ScsiDisk enhancement for no_media state.
Ahci enumeration logic tuning for boot performance.

Signed-off-by:erictian
Reviewed-by:qianouyang, hhuan13

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

10 years agoAdd ABS() macro (Absolute Value) to Base.h in MdePkg
mdkinney [Mon, 13 Jun 2011 20:26:03 +0000 (20:26 +0000)]
Add ABS() macro (Absolute Value) to Base.h in MdePkg

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

10 years agoAdd ABS() macro (Absolute Value) to Base.h in MdePkg
mdkinney [Mon, 13 Jun 2011 20:25:36 +0000 (20:25 +0000)]
Add ABS() macro (Absolute Value) to Base.h in MdePkg

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

10 years agoProduce DiskInfo for usb mass storage device
erictian [Mon, 13 Jun 2011 05:27:23 +0000 (05:27 +0000)]
Produce DiskInfo for usb mass storage device

Signed-off-by:erictian
Reviewed-by:niruiyu

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

10 years ago1. When get value from AltCfg data, check the varstore type first.
ydong10 [Mon, 13 Jun 2011 05:20:23 +0000 (05:20 +0000)]
1. When get value from AltCfg data, check the varstore type first.
2. Check the pointer's validation before using it.

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

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

10 years agoFix the issue that the GOP produced by ConSplitter requires SetMode before GetMode...
niruiyu [Mon, 13 Jun 2011 05:16:02 +0000 (05:16 +0000)]
Fix the issue that the GOP produced by ConSplitter requires SetMode before GetMode, otherwise EFI_NOT_STARTED is returned from GetMode.

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

10 years agoFix incorrect comments in SimpleFileSystem.h.
niruiyu [Mon, 13 Jun 2011 05:14:21 +0000 (05:14 +0000)]
Fix incorrect comments in SimpleFileSystem.h.

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

10 years agoAdd the missing default definition of EFIAPI in Ia32/ProcessorBind.h.
lgao4 [Mon, 13 Jun 2011 03:58:18 +0000 (03:58 +0000)]
Add the missing default definition of EFIAPI in Ia32/ProcessorBind.h.

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

10 years agoFix GCC build fail
ydong10 [Mon, 13 Jun 2011 01:55:28 +0000 (01:55 +0000)]
Fix GCC build fail

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

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

10 years agoCheck the buffer allocation result before using it.
ydong10 [Mon, 13 Jun 2011 01:44:03 +0000 (01:44 +0000)]
Check the buffer allocation result before using it.

Signed-off-by:ydong10
Reviewed-by:jljusten

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

10 years agoArmPlatformPkg/ArmVExpressLib: Move Secure code into a separate file
oliviermartin [Sat, 11 Jun 2011 12:12:49 +0000 (12:12 +0000)]
ArmPlatformPkg/ArmVExpressLib: Move Secure code into a separate file

The code specific to the secure intialization has been moved into a
separate file that is not linked with the Normal world version of the
library.

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

10 years agoArmPlatformPkg/ArmRealViewEbPkg: Fix some register definitions
oliviermartin [Sat, 11 Jun 2011 12:11:29 +0000 (12:11 +0000)]
ArmPlatformPkg/ArmRealViewEbPkg: Fix some register definitions

Some registers were not correctly set. Some other registers do not
exist on ARM RealView EB.

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

10 years agoArmPlatformPkg: Code cleaning
oliviermartin [Sat, 11 Jun 2011 12:10:19 +0000 (12:10 +0000)]
ArmPlatformPkg: Code cleaning

- Fix coding style to follow EDK2 coding convention
- Remove deprecated function
- Remove unused PCDs

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

10 years agoArmPlatformPkg/ArmVExpressPkg: Introduce the PcdNorFlashRemapping feature PCD
oliviermartin [Sat, 11 Jun 2011 12:08:36 +0000 (12:08 +0000)]
ArmPlatformPkg/ArmVExpressPkg: Introduce the PcdNorFlashRemapping feature PCD

Platform designers can decide to not remap the DRAM at 0x0 on the VExpress motherboard.
This PCD can be used to set this feature.

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

10 years agoArmPlatformPkg: Unify the Secure and Normal FD and FV PCD naming
oliviermartin [Sat, 11 Jun 2011 12:06:59 +0000 (12:06 +0000)]
ArmPlatformPkg: Unify the Secure and Normal FD and FV PCD naming

With this change, we now have these following PCDs values to define the
location of the Secure and Normal firmwares:
- gArmTokenSpaceGuid.PcdSecureFd(BaseAddress|Size)
- gArmTokenSpaceGuid.PcdSecureFv(BaseAddress|Size)
- gArmTokenSpaceGuid.PcdNormalFd(BaseAddress|Size)
- gArmTokenSpaceGuid.PcdNormalFv(BaseAddress|Size)

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

10 years agoArmPlatformPkg: Clean DSC files
oliviermartin [Sat, 11 Jun 2011 12:04:41 +0000 (12:04 +0000)]
ArmPlatformPkg: Clean DSC files

Remove unused or duplicated libraries declarations

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

10 years agoArmPlatformPkg/ArmRealViewEbPkg: Fixed General Interrupt Controller Base Address
oliviermartin [Sat, 11 Jun 2011 12:03:48 +0000 (12:03 +0000)]
ArmPlatformPkg/ArmRealViewEbPkg: Fixed General Interrupt Controller Base Address

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

10 years agoArmPlatformPkg/PrePeiCore: Reserve some memory on the top of the stack for Global...
oliviermartin [Sat, 11 Jun 2011 12:03:00 +0000 (12:03 +0000)]
ArmPlatformPkg/PrePeiCore: Reserve some memory on the top of the stack for Global Variables in XIP code

The size of this memory is controlled by a PCD. The Global Variable in this regsion are defined by their offset.

This memory region can be use to store the PEI Services Table Pointer.
Update the PeiServicesTablePointerLib to use this region instead of PcdPeiServicePtrAddr.

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

10 years agoArmPlatformPkg: Enable console splitter for all ARM platforms
oliviermartin [Sat, 11 Jun 2011 12:00:58 +0000 (12:00 +0000)]
ArmPlatformPkg: Enable console splitter for all ARM platforms

The Graphics Output Protocol is enable by default.

Note: ArmRealViewEb RTSM supports the LCD controller as well.

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

10 years agoArmPlatformPkg/EblCmdLib: Add the 'devicepaths' EBL command
oliviermartin [Sat, 11 Jun 2011 11:59:31 +0000 (11:59 +0000)]
ArmPlatformPkg/EblCmdLib: Add the 'devicepaths' EBL command

This command start alls the available drivers and prints out all the
device paths of the platform.

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

10 years agoArmPlatformPkg/Bds: Upgrade the BDS to be more conformed to the UEFI Specification
oliviermartin [Sat, 11 Jun 2011 11:58:23 +0000 (11:58 +0000)]
ArmPlatformPkg/Bds: Upgrade the BDS to be more conformed to the UEFI Specification

The UEFI Specification defines some requirement related to the Boot Manager.
This new version of the BDS support most of the features:
- TimeOut, BootNext, BootOrder, Boot### environment variable for boot device selection
- ConOut. ConIn, ConErr environment variables for console intialization
- Boot EFI application defined by a Device Path
- Support removable devices
- Support FileSystem, MemMap, PXE and TFTP boot devices

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

10 years agoArmPkg/BdsLib: Upgrade the library to use natively the Device Path
oliviermartin [Sat, 11 Jun 2011 11:56:30 +0000 (11:56 +0000)]
ArmPkg/BdsLib: Upgrade the library to use natively the Device Path

The previous version was using the string representation of the Device Path.
This new version takes as paramater the binary representation of the Device Path

It also tries to detect which kind of device support it refers by using the remaining
part of the Device Path after it has been loaded by gBS->ConnectController()

Lots of bug have been fixed as well in this new version.

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

10 years agoEmbeddedPkg/Ebl: Move the flag string %a for the path from the PCD to the function...
oliviermartin [Sat, 11 Jun 2011 11:28:59 +0000 (11:28 +0000)]
EmbeddedPkg/Ebl: Move the flag string %a for the path from the PCD to the function call

The UEFI platform designer had to add '%a' to their EBL prompt PCD to print out the path
in the shell.
This change makes the addition of the path automatically after the platform specific value
in the EBL shell.

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

10 years agoArmPkg/PL35xSmc: Split the SMC initialization in multiple Chip Select initialization...
oliviermartin [Sat, 11 Jun 2011 11:26:42 +0000 (11:26 +0000)]
ArmPkg/PL35xSmc: Split the SMC initialization in multiple Chip Select initialization functions

Some ArmVExpress-based tiles do not map all the ArmVExpress Chips into their memory map.

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

10 years agoArmPlatformPkg/ArmRealViewEb: Add SysConfigLib support
oliviermartin [Sat, 11 Jun 2011 11:25:03 +0000 (11:25 +0000)]
ArmPlatformPkg/ArmRealViewEb: Add SysConfigLib support

The ARM RealViewEB tiles could have their microcontrollers mapped into the
ARM RealView EB motherboard memory map

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

10 years agoArmPlatformPkg: Add PL061 GPIO driver
oliviermartin [Sat, 11 Jun 2011 11:23:39 +0000 (11:23 +0000)]
ArmPlatformPkg: Add PL061 GPIO driver

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

10 years agoArmPlatformPkg: Add SP805 Watchdog support
oliviermartin [Sat, 11 Jun 2011 11:22:05 +0000 (11:22 +0000)]
ArmPlatformPkg: Add SP805 Watchdog support

- Create SP805 Watchdog timer
- Enable this new driver on VExpress Cortex-A9x4 Core tile

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

10 years agoArmPlatformPkg/PL031RealTimeClockLib: Implement PL031 RTC drive
oliviermartin [Sat, 11 Jun 2011 11:20:27 +0000 (11:20 +0000)]
ArmPlatformPkg/PL031RealTimeClockLib: Implement PL031 RTC drive

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

10 years agoArmPlatformPkg/ArmVExpressPkg: Use SysConfigLib in ResetSystemLib
oliviermartin [Sat, 11 Jun 2011 11:18:40 +0000 (11:18 +0000)]
ArmPlatformPkg/ArmVExpressPkg: Use SysConfigLib in ResetSystemLib

On ARM Versatile Express, the microcontroller can reset the entire platform.
The micro-controller can be accessed by the SysConfigLib.

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

10 years agoArmPlatformPkg/SP804TimerDxe: Replaced Interrupt number #define by a PCD
oliviermartin [Sat, 11 Jun 2011 11:17:41 +0000 (11:17 +0000)]
ArmPlatformPkg/SP804TimerDxe: Replaced Interrupt number #define by a PCD

The PcdSP804Timer0InterruptNum defines the interrupt number attached to SP804 Timer0.

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

10 years agoArmPlatformPkg/NorFlashDxe: Update copyright date
oliviermartin [Sat, 11 Jun 2011 11:16:50 +0000 (11:16 +0000)]
ArmPlatformPkg/NorFlashDxe: Update copyright date

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

10 years agoArmPkg: Fix coding style to follow EDK2 coding convention
oliviermartin [Sat, 11 Jun 2011 11:15:55 +0000 (11:15 +0000)]
ArmPkg: Fix coding style to follow EDK2 coding convention

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

10 years agoArmPkg/PL180MciDxe: Replace VenHw Device Path GUID by EFI_CALLER_ID_GUID
oliviermartin [Sat, 11 Jun 2011 11:14:51 +0000 (11:14 +0000)]
ArmPkg/PL180MciDxe: Replace VenHw Device Path GUID by EFI_CALLER_ID_GUID

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

10 years agoArmPlatformPkg/ArmRealViewEb: Add support for PL111 Lcd controller
oliviermartin [Sat, 11 Jun 2011 11:14:06 +0000 (11:14 +0000)]
ArmPlatformPkg/ArmRealViewEb: Add support for PL111 Lcd controller

- Add the LcdGraphicsOutputDxe driver to DSC and FDF file.
- Implement LcdPlatformLib for the platform.

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

10 years agoArmPlatformPkg: Add support for PL111 Lcd driver
oliviermartin [Sat, 11 Jun 2011 11:12:38 +0000 (11:12 +0000)]
ArmPlatformPkg: Add support for PL111 Lcd driver

This driver implements the interface for the PL111 Lcd controller.
The LcdPlatformLib allows to set the platform specific requirements
needed by the platform for setting the LCD (oscillators, etc).

ArmPlatformPkg/ArmVExpressPkg: Implement LcdPlatformLib

This library exports the supported resolutions. It also allocates the
memory for the framebuffer and send the correct settings to the VExpress
motherboard microcontroller.

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

10 years agoArmPlatformPkg: Introduce ArmPlatformSysConfigLib
oliviermartin [Sat, 11 Jun 2011 11:08:34 +0000 (11:08 +0000)]
ArmPlatformPkg: Introduce ArmPlatformSysConfigLib

The purpose of this library is to create an interface to communicate
with the platform micro-controller.
It abstracts the communication protocol (eg: SPI, UART, etc) between
the application processor and the micro-controller.

ArmPlatformPkg/ArmVExpressPkg: Implement ArmPlaformSysConfigLib

This implementation allows to communicate with the microcontroller of the
Versatile Express motherboard.

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

10 years agoAdd ESAL support libraries to MdePkg
mdkinney [Fri, 10 Jun 2011 18:58:08 +0000 (18:58 +0000)]
Add ESAL support libraries to MdePkg

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

10 years agoSet *ImageHandle to NULL when LoadImage() returns EFI_ACCESS_DENIED.
niruiyu [Fri, 10 Jun 2011 03:05:40 +0000 (03:05 +0000)]
Set *ImageHandle to NULL when LoadImage() returns EFI_ACCESS_DENIED.

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

10 years agoAdd the missing logic in HiiConfigRouting ExtractConfig() to retrieves FALSE as defau...
lgao4 [Fri, 10 Jun 2011 02:11:52 +0000 (02:11 +0000)]
Add the missing logic in HiiConfigRouting ExtractConfig() to retrieves FALSE as default value for CheckBox without default flag.

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

10 years agoInOsEmuPkg: Add the EFI parts of the Simple Network Protocol
andrewfish [Thu, 9 Jun 2011 19:31:56 +0000 (19:31 +0000)]
InOsEmuPkg: Add the EFI parts of the Simple Network Protocol

This only adds the EFI parts and not the OS specific implementation. Since the EFI parts no longer use system include files this is safe to do. Also fix two minor typos.

Signed-off-by:andrewfish

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

10 years ago1. Fix PXE performance issue : enhance EfiPxeBcSetIpFilter() to eliminate unnecessary...
hhuan13 [Thu, 9 Jun 2011 09:25:48 +0000 (09:25 +0000)]
1. Fix PXE performance issue : enhance EfiPxeBcSetIpFilter() to eliminate unnecessary re-configure UdpRead operation.

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

10 years ago1. Fix PXE performance issue : enhance EfiPxeBcSetIpFilter() to eliminate unnecessary...
hhuan13 [Thu, 9 Jun 2011 09:25:02 +0000 (09:25 +0000)]
1. Fix PXE performance issue : enhance EfiPxeBcSetIpFilter() to eliminate unnecessary re-configure Udp4Read operation.

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

10 years agoChange BuildGuidHob and BuildGuidDataHob to return NULL upon failure.
niruiyu [Thu, 9 Jun 2011 02:55:17 +0000 (02:55 +0000)]
Change BuildGuidHob and BuildGuidDataHob to return NULL upon failure.
Guarantee no memory corruption in an out of memory condition even in production builds.

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

10 years agoChange BuildGuidHob and BuildGuidDataHob to return NULL upon failure.
niruiyu [Thu, 9 Jun 2011 02:53:56 +0000 (02:53 +0000)]
Change BuildGuidHob and BuildGuidDataHob to return NULL upon failure.
Guarantee no memory corruption in an out of memory condition even in production builds.

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

10 years agoAdd assertion in PeiAllocatePool when out of resource.
niruiyu [Thu, 9 Jun 2011 02:52:35 +0000 (02:52 +0000)]
Add assertion in PeiAllocatePool when out of resource.

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

10 years agoChange BuildGuidHob and BuildGuidDataHob to return NULL upon failure.
niruiyu [Thu, 9 Jun 2011 02:51:00 +0000 (02:51 +0000)]
Change BuildGuidHob and BuildGuidDataHob to return NULL upon failure.
Guarantee no memory corruption in an out of memory condition even in production builds.

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

10 years agoFix crash in GetMemoryMap() when memory type 0x80000000-0xFFFFFFFF was allocated...
niruiyu [Thu, 9 Jun 2011 02:01:19 +0000 (02:01 +0000)]
Fix crash in GetMemoryMap() when memory type 0x80000000-0xFFFFFFFF was allocated by OS loader

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

10 years agoFix ICC build issues
mdkinney [Thu, 9 Jun 2011 00:11:28 +0000 (00:11 +0000)]
Fix ICC build issues

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

10 years agoInOsEmuPkg: Fix reconnect -r from the shell
andrewfish [Wed, 8 Jun 2011 22:31:29 +0000 (22:31 +0000)]
InOsEmuPkg: Fix reconnect -r from the shell

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

10 years agoInOsEmuPkg: Make XIP work properly
andrewfish [Wed, 8 Jun 2011 21:52:21 +0000 (21:52 +0000)]
InOsEmuPkg: Make XIP work properly

Update the InOsEmuPkg to properly function with XIP. Make the Recovery FV read only. Remove the use of global variable writes from XIP code. Add a new global page that can be used in place of writting to the FD by XIP code. Think of this global page as a system SRAM.

igned-off-by: andrewfish

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

10 years agoFix bug in SerialRead returning error if no data was present.
andrewfish [Wed, 8 Jun 2011 21:12:11 +0000 (21:12 +0000)]
Fix bug in SerialRead returning error if no data was present.

No data should not be an error return. Causing lots of REPORT_STATUS_CODE messages out of the TerminalDxe driver.

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

10 years agoremove empty sections in INF files.
jcarsey [Wed, 8 Jun 2011 18:28:03 +0000 (18:28 +0000)]
remove empty sections in INF files.

signed-off-by: jcarsey
reviewed-by: darylm503

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

10 years agoRevert last patch about "Modal form" opcode support.
ydong10 [Wed, 8 Jun 2011 08:24:52 +0000 (08:24 +0000)]
Revert last patch about "Modal form" opcode support.

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

10 years agoAdd new "Refresh guid" opcode, also add sample code to use it.
ydong10 [Wed, 8 Jun 2011 08:09:47 +0000 (08:09 +0000)]
Add new "Refresh guid" opcode, also add sample code to use it.

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

10 years agoAdd new “Modal form” opcode.
ydong10 [Wed, 8 Jun 2011 07:50:04 +0000 (07:50 +0000)]
Add new “Modal form” opcode.

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

10 years agoAdd new "refresh event group" opcode.
ydong10 [Wed, 8 Jun 2011 07:47:26 +0000 (07:47 +0000)]
Add new "refresh event group" opcode.

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

10 years agoAdd new "Modal form" opcode, also add sample code to use it.
ydong10 [Wed, 8 Jun 2011 07:27:39 +0000 (07:27 +0000)]
Add new "Modal form" opcode, also add sample code to use it.

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

10 years agoAdd new "Modal form" opcode.
ydong10 [Wed, 8 Jun 2011 07:24:20 +0000 (07:24 +0000)]
Add new "Modal form" opcode.

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

10 years agoString Reference Cleanup.
lzeng14 [Wed, 8 Jun 2011 05:53:18 +0000 (05:53 +0000)]
String Reference Cleanup.

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

10 years agoUpdate the FD mapping so the volatile areas write back to the FD file. Currently...
andrewfish [Wed, 8 Jun 2011 04:32:18 +0000 (04:32 +0000)]
Update the FD mapping so the volatile areas write back to the FD file. Currently they are only mapped as a  memory copy of the file. This also make FV read only.

The current scheme maps a file into a memory buffer. You can write to the memory buffer, but if you restart the emulator the data is not written back to the FD. Since the build, rebuilds the FD it will blow away any changes. You can now set variables and restart the emulator and they are still set. There is a bug if the FV is set to write protect that still needs to be tracked down.

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

10 years agoAdd support for SerialPortLib that maps into POSIX StdIn and StdOut. Add a device...
andrewfish [Wed, 8 Jun 2011 02:34:12 +0000 (02:34 +0000)]
Add support for SerialPortLib that maps into POSIX StdIn and StdOut. Add a device path text to lib as a holding point waiting on getting it reviewed for other packages. Some minor fixes. Also map the FV as writable, so the Variable store becomes writable.

I plan to try and make only the Variable store and logs writable, and make the executable/compressed FV read only in a future checkin.

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

10 years agoupdate copyright line format
hhtian [Tue, 7 Jun 2011 08:08:19 +0000 (08:08 +0000)]
update copyright line format

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

10 years agoupdate copyright line format
hhtian [Tue, 7 Jun 2011 08:07:55 +0000 (08:07 +0000)]
update copyright line format

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

10 years agoupdate copyright line format
hhtian [Tue, 7 Jun 2011 08:07:29 +0000 (08:07 +0000)]
update copyright line format

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

10 years agoFix minor build break.
andrewfish [Tue, 7 Jun 2011 06:28:48 +0000 (06:28 +0000)]
Fix minor build break.

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

10 years agoRemove duplicated definitions EFI_VARIABLE_INDEX_TABLE_GUID in variable PEI drivers.
sfu5 [Tue, 7 Jun 2011 04:49:10 +0000 (04:49 +0000)]
Remove duplicated definitions EFI_VARIABLE_INDEX_TABLE_GUID in variable PEI drivers.

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

10 years agoInOsEmuPkg: Fixed mounting device nodes and .dmg files in the emulator.
andrewfish [Tue, 7 Jun 2011 02:28:08 +0000 (02:28 +0000)]
InOsEmuPkg: Fixed mounting device nodes and .dmg files in the emulator.

There is some Linux specific code for mounting device nodes that needs to be tested. It may not compile!

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

10 years agoFix X64 clang warnings.
andrewfish [Sat, 4 Jun 2011 22:27:37 +0000 (22:27 +0000)]
Fix X64 clang warnings.

Reviewed by: Rui Sun
Approved by: Rui Sun

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

10 years agoVerify that Status variable is initialized.
jcarsey [Fri, 3 Jun 2011 15:51:26 +0000 (15:51 +0000)]
Verify that Status variable is initialized.

submitted-by: jcarsey
reviewed-by: lgrosenb
reviewed-by: rhale

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

10 years agoArmPlatformPkg: Fix ARMGCC build
oliviermartin [Fri, 3 Jun 2011 09:44:52 +0000 (09:44 +0000)]
ArmPlatformPkg: Fix ARMGCC build

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

10 years agoArmPkg: Implement PeiServicesTablePointerLib using TPIDRURW register
oliviermartin [Fri, 3 Jun 2011 09:43:12 +0000 (09:43 +0000)]
ArmPkg: Implement PeiServicesTablePointerLib using TPIDRURW register

This implementation use the Tpidrurw software context register to
store the PEI Services Table Pointer.

The author of this patch is Eugene Cohen (HP).

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

10 years agoArmPlatformPkg/ArmVExpressPkg: Create ArmVExpressPkg/Include/VExpressMotherBoard.h
oliviermartin [Fri, 3 Jun 2011 09:41:49 +0000 (09:41 +0000)]
ArmPlatformPkg/ArmVExpressPkg: Create ArmVExpressPkg/Include/VExpressMotherBoard.h

This file contains the ARM Versatile Express motherboard definitions.
It allows to avoid duplication between different platforms based on ARM VExpress
motherboard.

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

10 years agoArmPlatformPkg/ArmRealViewEbPkg: Set some missing PCDs
oliviermartin [Fri, 3 Jun 2011 09:40:01 +0000 (09:40 +0000)]
ArmPlatformPkg/ArmRealViewEbPkg: Set some missing PCDs

PcdEmbeddedPerformanceCounterFrequencyInHz and PcdSerialRegisterBase
were not defined.

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

10 years agoArmPlatformPkg/ArmRealViewEbPkg: Use NorFlashDxe and enable variables services
oliviermartin [Fri, 3 Jun 2011 09:39:00 +0000 (09:39 +0000)]
ArmPlatformPkg/ArmRealViewEbPkg: Use NorFlashDxe and enable variables services

The ARM RealView EB (hardware and RTSM) supports the same NOR Flash controller
as the ARM Versatile Express.
Add the implementation of the NorFlashPlatformLib for ArmRealViewEb.

Remove the Firmware Volume Block raw data used to enable environment variables on
ARM RealView EB from the FDF file to use the NOR Flash driver.

Replace the variable service emulation by the version using Firmware Volume Block.

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

10 years agoArmPlatformPkg/NorFlashDxe: Move NorFlash driver from ArmVExpressPkg to ArmPlatformPkg
oliviermartin [Fri, 3 Jun 2011 09:35:57 +0000 (09:35 +0000)]
ArmPlatformPkg/NorFlashDxe: Move NorFlash driver from ArmVExpressPkg to ArmPlatformPkg

This NOR Flash driver can be reused for other platform (eg: ARM Realview EB).

To make this driver reusable on other platforms the NorFlashPlatformLib library
has been created to abstract the platform specific bits such as the pre-requirements
steps to the initialization and the geometry of the NOR Flash regions.

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

10 years agoArmPlatformPkg/SP804Timer: Introduce gArmPlatformTokenSpaceGuid.PcdSP804FrequencyInMHz
oliviermartin [Fri, 3 Jun 2011 09:33:35 +0000 (09:33 +0000)]
ArmPlatformPkg/SP804Timer: Introduce gArmPlatformTokenSpaceGuid.PcdSP804FrequencyInMHz

This PCD defines the speed of the SP804 timer. The default value is 1MHz.

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

10 years agoArmPlatformPkg/SP804Timer: Remove the SP810 System Controller dependency
oliviermartin [Fri, 3 Jun 2011 09:32:39 +0000 (09:32 +0000)]
ArmPlatformPkg/SP804Timer: Remove the SP810 System Controller dependency

The SP804 drivers must not consider the presence of the SP810 System Controller
on the platform. The SP810 was used to enable the SP804 Dual Timers on ArmVExpress.
It is the role of the Platform specific driver to enable to the SP804 dual timers
if required.

The former SP810 initialization code has moved to ArmPlatformLib for ArmRealViewEb
and ArmVersatileExpress.

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

10 years agoArmPlatformPkg/PL011Uart: Create PL011 UART driver
oliviermartin [Fri, 3 Jun 2011 09:31:02 +0000 (09:31 +0000)]
ArmPlatformPkg/PL011Uart: Create PL011 UART driver

This library makes the interface with the PL011 UART controller.
This library can be linked to different types of driver (Serial Console,
debugger, etc) using PL011 UART controller.

ArmPlatformPkg/PL011SerialPortLib: Use Drivers/PL011Uart

Remove the direct accesses to the PL011 UART controller to use the PL011Uart
library.

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

10 years agoArmPkg/CompilerIntrinsincsLib: Add div and mullu functions to ARMGCC
oliviermartin [Fri, 3 Jun 2011 09:28:40 +0000 (09:28 +0000)]
ArmPkg/CompilerIntrinsincsLib: Add div and mullu functions to ARMGCC

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

10 years agoArmPkg/PeCoffExtraActionLib: Add the return carriage character after printing the...
oliviermartin [Fri, 3 Jun 2011 09:26:44 +0000 (09:26 +0000)]
ArmPkg/PeCoffExtraActionLib: Add the return carriage character after printing the debugger command lines

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

10 years agoArmPkg: Add comments to ArmEnableVFP
oliviermartin [Fri, 3 Jun 2011 09:25:51 +0000 (09:25 +0000)]
ArmPkg: Add comments to ArmEnableVFP

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

10 years agoArmPkg: Introduce ArmSetLowVectors/ArmSetHighVectors functions
oliviermartin [Fri, 3 Jun 2011 09:25:01 +0000 (09:25 +0000)]
ArmPkg: Introduce ArmSetLowVectors/ArmSetHighVectors functions

These functions set/clear the SCTLR.V bit that controls the location
of the Vector Table.
This commit also forces the SCTLR.V to be clear when the VBAR register
is set.

Note: The original fix has been proposed by Eugene Cohen (HP).

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

10 years agoArmPkg: Renamed PL354SmcSecLib into PL354SmcLib
oliviermartin [Fri, 3 Jun 2011 09:23:19 +0000 (09:23 +0000)]
ArmPkg: Renamed PL354SmcSecLib into PL354SmcLib

There is no requirement to initialize the SMC in secure world.

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

10 years agoArmPkg: Fix the default value of PcdCpuVectorBaseAddress
oliviermartin [Fri, 3 Jun 2011 09:22:32 +0000 (09:22 +0000)]
ArmPkg: Fix the default value of PcdCpuVectorBaseAddress

The High Vector Table base address is 0xFFFF0000 (was 0xFFF00000).

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

10 years agoArmPkg/PL34xDmc: Remove magic values in PL310L2Cache and clean the code
oliviermartin [Fri, 3 Jun 2011 09:21:30 +0000 (09:21 +0000)]
ArmPkg/PL34xDmc: Remove magic values in PL310L2Cache and clean the code

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

10 years agoArmPkg/PL310L2Cache: Remove magic values in PL310L2Cache and clean the code
oliviermartin [Fri, 3 Jun 2011 09:20:30 +0000 (09:20 +0000)]
ArmPkg/PL310L2Cache: Remove magic values in PL310L2Cache and clean the code

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

10 years agoArmkg: Fix EDK2 coding style
oliviermartin [Fri, 3 Jun 2011 09:18:48 +0000 (09:18 +0000)]
Armkg: Fix EDK2 coding style

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

10 years agoArmPkg: Introduce the PCD PcdDebuggerExceptionSupport
oliviermartin [Fri, 3 Jun 2011 09:18:00 +0000 (09:18 +0000)]
ArmPkg: Introduce the PCD PcdDebuggerExceptionSupport

The Exception Vector can be set before installing the CPU DXE driver to add
debugger support at the early stage of the firmware initialization.
If no one has touched the exception vector prior to the CPU DXE then the Vector
might contain non zero data.

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

10 years agoArmPlatformPkg/ArmRealViewEbPkg: Use PL390 GIC on RTSM
oliviermartin [Fri, 3 Jun 2011 09:17:04 +0000 (09:17 +0000)]
ArmPlatformPkg/ArmRealViewEbPkg: Use PL390 GIC on RTSM

ArmRealViewEb model (RTSM) use the PL390 Generic Interrupt Controller
as interrupt controller.

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

10 years agoArmPlatformPkg/ArmRealViewEbPkg: Remove unused PCD
oliviermartin [Fri, 3 Jun 2011 09:15:14 +0000 (09:15 +0000)]
ArmPlatformPkg/ArmRealViewEbPkg: Remove unused PCD

gArmRealViewEbPkgTokenSpaceGuid.PcdPeiServicePtrAddr is not used.

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

10 years agoEmbeddedPkg/SerialDxe: Only read Serial Port if data available
oliviermartin [Fri, 3 Jun 2011 09:14:16 +0000 (09:14 +0000)]
EmbeddedPkg/SerialDxe: Only read Serial Port if data available

Poll the Serial Port to ensure data are available.

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