]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 years agoEmbeddedPkg/SerialDxe: Fix SIMPLE_TEXT_OUT_DEVICE_PATH Device Path
oliviermartin [Fri, 3 Jun 2011 09:12:55 +0000 (09:12 +0000)]
EmbeddedPkg/SerialDxe: Fix SIMPLE_TEXT_OUT_DEVICE_PATH Device Path

The UART device type and subtype were inccorect.

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

12 years agoEmbeddedPkg/SimpleTextInOutSerial: Update the cursor position
oliviermartin [Fri, 3 Jun 2011 09:11:55 +0000 (09:11 +0000)]
EmbeddedPkg/SimpleTextInOutSerial: Update the cursor position

It is a UEFI requirement to update the cursor position infomation for each
string displayed using calls to EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL->OutputString().

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

12 years agoEmbeddedPkg/MmcDxe: Fix coding style
oliviermartin [Fri, 3 Jun 2011 09:10:26 +0000 (09:10 +0000)]
EmbeddedPkg/MmcDxe: Fix coding style

Make the coding style more compliant with the EDK2 coding convention.

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

12 years agoEmbeddedPkg/MmcDxe: Wait for the MMC controller to be in Transfer Mode
oliviermartin [Fri, 3 Jun 2011 09:09:18 +0000 (09:09 +0000)]
EmbeddedPkg/MmcDxe: Wait for the MMC controller to be in Transfer Mode

The MMC controller might be ready for data but not be in a 'ready' state
to send or receive commands.
This fix waits for the MMC controller to be in the correct state.

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

12 years agoEmbeddedPkg: Move Universal/MmcDxe from ArmPkg to EmbeddedPkg
oliviermartin [Fri, 3 Jun 2011 09:07:31 +0000 (09:07 +0000)]
EmbeddedPkg: Move Universal/MmcDxe from ArmPkg to EmbeddedPkg

The MmcDxe is not ARM architecture specific.

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

12 years agoGet BlockIo mapping interfaces working. Still need to work on detecting block size...
andrewfish [Fri, 3 Jun 2011 03:31:32 +0000 (03:31 +0000)]
Get BlockIo mapping interfaces working. Still need to work on detecting block size of devices, but you can map a .dmg file no problem at this point.

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

12 years agoFix the issue when checking the value of KeyDescriptor->Modifier to see if it was...
vanjeff [Thu, 2 Jun 2011 06:51:59 +0000 (06:51 +0000)]
Fix the issue when checking the value of KeyDescriptor->Modifier to see if it was out of bounds.

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

12 years agoAdd return status check for SetVariable.
niruiyu [Thu, 2 Jun 2011 01:48:33 +0000 (01:48 +0000)]
Add return status check for SetVariable.

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

12 years agoAdd new definition for XHCI support
erictian [Wed, 1 Jun 2011 05:12:19 +0000 (05:12 +0000)]
Add new definition for XHCI support

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

12 years ago1. Add error handling for PXE-IPV6.
hhuan13 [Wed, 1 Jun 2011 03:30:05 +0000 (03:30 +0000)]
1. Add error handling for PXE-IPV6.

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

12 years agoMake shell not ASSERT on older versions of EFI. On a Mac if you soft load Hii, Device...
andrewfish [Wed, 1 Jun 2011 02:27:02 +0000 (02:27 +0000)]
Make shell not ASSERT on older versions of EFI. On a Mac if you soft load Hii, DevicePathToText, and ComponentName drivers from edk2, then with this patch the new Shell will run.

Reviewed by: jcarsey

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

12 years agoAdd BlockIO support to the emulator, still needs testing. Also update Emulator start...
andrewfish [Tue, 31 May 2011 20:23:36 +0000 (20:23 +0000)]
Add BlockIO support to the emulator, still needs testing. Also update Emulator start code to only pass 2 args in place of 3. The 3rd argument is not needed. Still need a function as the BaseLib functoin does not have the correct calling conventions. Cleanup build script for binary shell case.

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

12 years agoFix the bug that WinNtBlockIo fails to properly allocate a buffer.
niruiyu [Tue, 31 May 2011 05:56:20 +0000 (05:56 +0000)]
Fix the bug that WinNtBlockIo fails to properly allocate a buffer.

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

12 years agoUpdate the comments of InstallConfigurationTable to follow UEFI Spec.
niruiyu [Tue, 31 May 2011 03:15:58 +0000 (03:15 +0000)]
Update the comments of InstallConfigurationTable to follow UEFI Spec.

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

12 years agoUpdate the comments of InstallConfigurationTable to follow UEFI Spec.
niruiyu [Tue, 31 May 2011 03:14:30 +0000 (03:14 +0000)]
Update the comments of InstallConfigurationTable to follow UEFI Spec.

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

12 years agoUpdate the IPsec driver to check in invalid parameter of ProcessExt() according to...
qianouyang [Tue, 31 May 2011 02:03:57 +0000 (02:03 +0000)]
Update the IPsec driver to check in invalid parameter of ProcessExt() according to UEFI Spec.

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

12 years agoAdd new call back return value; also add some sample code to use it.
ydong10 [Tue, 31 May 2011 00:59:15 +0000 (00:59 +0000)]
Add new call back return value; also add some sample code to use it.

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

12 years agoUpdate code to pass packaging tool.
lzeng14 [Mon, 30 May 2011 09:56:57 +0000 (09:56 +0000)]
Update code to pass packaging tool.

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

12 years agoMdeModulePkg: Fixed memory corruption when BlockIo2 is not present
geekboy15a [Fri, 27 May 2011 20:04:45 +0000 (20:04 +0000)]
MdeModulePkg: Fixed memory corruption when BlockIo2 is not present

Fixed NULL pointer reference of BlockIo2.Media in partition code.  This resulted
in the interrupt vector table being corrupted in a legacy (CSM) based system.

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

12 years ago1. Setting cursor position to (0, 0) and flushing cursor directly instead of calling...
vanjeff [Fri, 27 May 2011 05:30:30 +0000 (05:30 +0000)]
1. Setting cursor position to (0, 0) and flushing cursor directly instead of calling GraphicConSoleConOutSetPosition().
2. Rename the internal function name EraseCursor() to FlushCursor() to remove the confusion on this function name. And add detailed function description for it.

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

12 years agoUpdate the comments to describe the purpose of Removable array.
niruiyu [Fri, 27 May 2011 03:24:34 +0000 (03:24 +0000)]
Update the comments to describe the purpose of Removable array.

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