mirror_edk2.git
11 years agoFix some more headers. Add some missing library classes in .dec file and update ...
AJFISH [Tue, 12 Jan 2010 18:53:38 +0000 (18:53 +0000)]
Fix some more headers. Add some missing library classes in .dec file and update .dsc to default to cortex ARM cpu type.

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

11 years agoUpdating ArmLib.h to add functions needed to turn on paging in CpuDxe. Also added...
AJFISH [Tue, 12 Jan 2010 18:49:41 +0000 (18:49 +0000)]
Updating ArmLib.h to add functions needed to turn on paging in CpuDxe. Also added a protocol to enable debugging of DMA issues. DxeCpu driver will produce and the UncachedMemoryAllocationLib can consume.

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

11 years agoNeed to add some extra functions to the libraries to support paging in the CpuDxe...
AJFISH [Tue, 12 Jan 2010 18:47:28 +0000 (18:47 +0000)]
Need to add some extra functions to the libraries to support paging in the CpuDxe driver (still working on that). Also looks like some of the .INF file hade the token used to search replace the copyright headers and not the headers so I updated that.

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

11 years agoAdd some missing 64-bit math functions for gcc
AJFISH [Tue, 12 Jan 2010 18:23:25 +0000 (18:23 +0000)]
Add some missing 64-bit math functions for gcc

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

11 years agoFix the warning: Line 389, the Index of mMonthName may be -1.
tye [Tue, 12 Jan 2010 11:42:18 +0000 (11:42 +0000)]
Fix the warning: Line 389, the Index of mMonthName may be -1.

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

11 years agoDon't calculate the directory size and the caller of EFI_FILE protocol can calculate...
qhuang8 [Tue, 12 Jan 2010 10:32:47 +0000 (10:32 +0000)]
Don't calculate the directory size and the caller of EFI_FILE protocol can calculate that for better UI.
The enhancement algorithm to calculate directory size (Edk r2583) is incorrect because SetPosition() does not allow other arguments other than 0, causing current file cursor is lost.

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

11 years agoShellPkg: Rename PcdShellLibMaxPrintBufferSize to PcdShellPrintBufferSize
jljusten [Tue, 12 Jan 2010 07:08:33 +0000 (07:08 +0000)]
ShellPkg: Rename PcdShellLibMaxPrintBufferSize to PcdShellPrintBufferSize

It appears that this was intended to be renamed in r9710.

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

11 years agoMinor code enhancement.
xli24 [Tue, 12 Jan 2010 03:30:58 +0000 (03:30 +0000)]
Minor code enhancement.

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

11 years agoupdating comments mostly. also added some new lib functions.
jcarsey [Mon, 11 Jan 2010 21:49:04 +0000 (21:49 +0000)]
updating comments mostly.  also added some new lib functions.

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

11 years agoAdd ASSERT () to make sure the array is accessed within the limit.
tye [Mon, 11 Jan 2010 10:56:53 +0000 (10:56 +0000)]
Add ASSERT () to make sure the array is accessed within the limit.

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

11 years agoRemove unnecessary colon for @note tag.
xli24 [Mon, 11 Jan 2010 07:35:49 +0000 (07:35 +0000)]
Remove unnecessary colon for @note tag.

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

11 years ago1. Add missing CloseProtocol in case RemainingDevicePath is NULL or EndOfDp
davidhuang [Mon, 11 Jan 2010 05:54:01 +0000 (05:54 +0000)]
1. Add missing CloseProtocol in case RemainingDevicePath is NULL or EndOfDp

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

11 years ago1. Eliminate RemainingDevicePath Type limitation, let PassThru to check its validation.
davidhuang [Mon, 11 Jan 2010 05:44:16 +0000 (05:44 +0000)]
1. Eliminate RemainingDevicePath Type limitation, let PassThru to check its validation.
2. Change ScsiTargetId from allocation to local variable.

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

11 years agodisable ICC compiler warning #593: variable was set but never used.
eric_tian [Mon, 11 Jan 2010 02:29:54 +0000 (02:29 +0000)]
disable ICC compiler warning #593: variable was set but never used.

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

11 years agoupdate copyright to 2010
lgao4 [Sat, 9 Jan 2010 07:39:45 +0000 (07:39 +0000)]
update copyright to 2010

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

11 years agoMake EdkCompatibilityPkg pass IPF build with WINDKK tool chain.
lgao4 [Sat, 9 Jan 2010 07:37:42 +0000 (07:37 +0000)]
Make EdkCompatibilityPkg pass IPF build with WINDKK tool chain.

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

11 years agoFix typo in comment.
AJFISH [Fri, 8 Jan 2010 23:13:32 +0000 (23:13 +0000)]
Fix typo in comment.

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

11 years agoFixed a bug in the HardwareInterrupt handler that would blow the stack if you reenabl...
AJFISH [Fri, 8 Jan 2010 23:07:33 +0000 (23:07 +0000)]
Fixed a bug in the HardwareInterrupt handler that would blow the stack if you reenable interrupts in the TimerHandler. It should be noted this happens as the TimerHandler raises and restores TPL for the timer tick used by the DXE Core. There was some work around code in the CPU driver to prevent interrupts from being enabled while handling exceptions. This has been removed.

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

11 years agoFixed incorrect syntax for immediate HEX value.
geekboy15a [Fri, 8 Jan 2010 21:39:54 +0000 (21:39 +0000)]
Fixed incorrect syntax for immediate HEX value.

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

11 years agoRemoved use of pre-initialized global data in this file as it was causing problems...
geekboy15a [Fri, 8 Jan 2010 21:29:30 +0000 (21:29 +0000)]
Removed use of pre-initialized global data in this file as it was causing problems with UNIXGCC tool chain.

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

11 years agoFix stray charcter in comment.
AJFISH [Fri, 8 Jan 2010 21:28:45 +0000 (21:28 +0000)]
Fix stray charcter in comment.

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

11 years agoAdding support for a single stack, GCC check in will follow
AJFISH [Fri, 8 Jan 2010 21:12:20 +0000 (21:12 +0000)]
Adding support for a single stack, GCC check in will follow

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

11 years agoRemove bad comment
AJFISH [Fri, 8 Jan 2010 21:08:31 +0000 (21:08 +0000)]
Remove bad comment

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

11 years agoUpdate to support a single stack. GCC update will follow.
AJFISH [Fri, 8 Jan 2010 21:07:58 +0000 (21:07 +0000)]
Update to support a single stack. GCC update will follow.

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

11 years agoupdate comments
AJFISH [Fri, 8 Jan 2010 21:03:12 +0000 (21:03 +0000)]
update comments

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

11 years ago1)Remove “Back to Previous Page'”, since it cannot go back to “Device Manager page.
vanjeff [Fri, 8 Jan 2010 05:00:19 +0000 (05:00 +0000)]
1)Remove “Back to Previous Page'”, since it cannot go back to “Device Manager page.
2)Add Configure item in page.
3)Add more security check when storing IP setting, to correctly sync the operations between Ip4ConfigDxe and ifconfig.efi

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

11 years agoMinor code enhancement.
xli24 [Fri, 8 Jan 2010 04:10:38 +0000 (04:10 +0000)]
Minor code enhancement.

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

11 years agorefine the code and add more security check.
vanjeff [Fri, 8 Jan 2010 02:35:56 +0000 (02:35 +0000)]
refine the code and add more security check.

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

11 years agoRemove dependency on PCI Root Bridge I/O Protocol. This library should only layer...
mdkinney [Thu, 7 Jan 2010 22:03:51 +0000 (22:03 +0000)]
Remove dependency on PCI Root Bridge I/O Protocol.  This library should only layer on top of the CPU I/O Protocol.

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

11 years agoCoding style fix.
rsun3 [Thu, 7 Jan 2010 13:43:40 +0000 (13:43 +0000)]
Coding style fix.

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

11 years agoCorrect copyright year to 2010
lgao4 [Thu, 7 Jan 2010 09:36:41 +0000 (09:36 +0000)]
Correct copyright year to 2010

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

11 years agoCorrect copyright year to 2010
lgao4 [Thu, 7 Jan 2010 09:36:09 +0000 (09:36 +0000)]
Correct copyright year to 2010

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

11 years agoMinor code enhancement.
xli24 [Thu, 7 Jan 2010 09:17:03 +0000 (09:17 +0000)]
Minor code enhancement.

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

11 years agoMinor code enhancement.
xli24 [Thu, 7 Jan 2010 09:12:14 +0000 (09:12 +0000)]
Minor code enhancement.

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

11 years agoMinor code enhancement.
xli24 [Thu, 7 Jan 2010 09:08:58 +0000 (09:08 +0000)]
Minor code enhancement.

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

11 years agoEnable SetupBrowser to support multiple form class guid.
lgao4 [Wed, 6 Jan 2010 06:41:09 +0000 (06:41 +0000)]
Enable SetupBrowser to support multiple form class guid.

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

11 years agoOVMF SEC: Fix VS2005 compiler warnings
jljusten [Wed, 6 Jan 2010 06:31:12 +0000 (06:31 +0000)]
OVMF SEC: Fix VS2005 compiler warnings

* FindPeiCore.c => FindFfsFileAndSection: remove unreachable code
* SecMain.c => SecCoreStartupWithStack: confirm 64-bit to 32-bit
  conversion with IA32 builds.

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

11 years agoFix bugs in SmmBaseHelper driver.
rsun3 [Tue, 5 Jan 2010 09:28:48 +0000 (09:28 +0000)]
Fix bugs in SmmBaseHelper driver.
1. Should use sizeof(EFI_SMM_CPU_SAVE_STATE) instead of sizeof (EFI_SMI_CPU_SAVE_STATE) to allocate buffer for CpuSaveState in Framework SMST;
2. The type of Width parameter for ReadSaveState() and WriteSaveState() functions of SMM CPU Protocol is UINTN instead of an enumeration type.

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

11 years agoFix build break
mdkinney [Tue, 5 Jan 2010 00:09:32 +0000 (00:09 +0000)]
Fix build break

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

11 years agoOVMF VTF0 Reset Vector: Cleanup Global Descriptor Table (GDT)
jljusten [Mon, 4 Jan 2010 16:18:09 +0000 (16:18 +0000)]
OVMF VTF0 Reset Vector: Cleanup Global Descriptor Table (GDT)

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

11 years agoOVMF VTF0 Reset Vector: Set 'accessed' bit in GDT descriptors
jljusten [Mon, 4 Jan 2010 16:18:06 +0000 (16:18 +0000)]
OVMF VTF0 Reset Vector: Set 'accessed' bit in GDT descriptors

In some environments, the accessed bit should be set to allow the
global descriptor table (GDT) to reside in unmodifiable flash
memory.

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

11 years agoOVMF Status Codes: Disable serial output, enable memory output
jljusten [Mon, 4 Jan 2010 16:18:03 +0000 (16:18 +0000)]
OVMF Status Codes: Disable serial output, enable memory output

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

11 years agoOVMF: Define MDEPKG_NDEBUG to disable all debug code by default
jljusten [Mon, 4 Jan 2010 16:18:02 +0000 (16:18 +0000)]
OVMF: Define MDEPKG_NDEBUG to disable all debug code by default

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

11 years agoOVMF: Update OVMF FD/FV build to minimize ROM size
jljusten [Mon, 4 Jan 2010 16:17:59 +0000 (16:17 +0000)]
OVMF: Update OVMF FD/FV build to minimize ROM size

* Only SEC is uncompressed now
* The MAIN FV with PEI & DXE can easily shrink and grow as needed
* The final output will now be OVMF.Fv rather than OVMF.fd
* The final output size will be a multiple of 64kb

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

11 years agoOVMF: Use optimized BaseMemoryLib libraries
jljusten [Mon, 4 Jan 2010 16:17:56 +0000 (16:17 +0000)]
OVMF: Use optimized BaseMemoryLib libraries

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

11 years agoMdeModulePkg AcpiTableDxe: Fix compiler warning
jljusten [Mon, 4 Jan 2010 16:17:55 +0000 (16:17 +0000)]
MdeModulePkg AcpiTableDxe: Fix compiler warning

This warning was seen with the UNIXGCC toolchain on X64
when using the 'MDEPKG_NDEBUG' macro.

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

11 years agoIntelFrameworkModulePkg: SerialStatusCode output was incorrect
jljusten [Mon, 4 Jan 2010 16:17:52 +0000 (16:17 +0000)]
IntelFrameworkModulePkg: SerialStatusCode output was incorrect

The string being built had a character being overwritten.  This
also lead to a NULL character being sent out to the serial port
for the last character in the string.

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

11 years agoOVMF: Add SEC ExtractGuidedSection implementation
jljusten [Mon, 4 Jan 2010 16:17:50 +0000 (16:17 +0000)]
OVMF: Add SEC ExtractGuidedSection implementation

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

11 years agoIntelFrameworkModulePkg LZMA: Support running LZMA from flash/rom
jljusten [Mon, 4 Jan 2010 16:17:47 +0000 (16:17 +0000)]
IntelFrameworkModulePkg LZMA: Support running LZMA from flash/rom

Previously the code relied upon global variables which could not be
modified if the code was running from ROM (or similarly a flash memory
which is not easily modified).

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

11 years agoCorrect help information for Delete Boot option and Change boot option.
lgao4 [Mon, 4 Jan 2010 10:28:59 +0000 (10:28 +0000)]
Correct help information for Delete Boot option and Change boot option.

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

11 years agoinstalling HII config access protocol on child handle instead of installing on NIC...
vanjeff [Mon, 4 Jan 2010 05:55:47 +0000 (05:55 +0000)]
installing HII config access protocol on child handle instead of installing on NIC physical handle, to avoid conflict with the HII config access protocol installed on NIC physical handle.

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

11 years agocheck whether FvHandle is NULL for FfsGetVolumeInfo() interface.
klu2 [Mon, 4 Jan 2010 05:20:18 +0000 (05:20 +0000)]
check whether FvHandle is NULL for FfsGetVolumeInfo() interface.

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

11 years agoImplement the simulation version of StallPei for NT32 platform. It bases on window...
klu2 [Mon, 4 Jan 2010 04:45:44 +0000 (04:45 +0000)]
Implement the simulation version of StallPei for NT32 platform. It bases on window API Sleep().

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

11 years agoAdd default implementation of EFI_CPU_IO_PPI and EFI_PCI_CFG2_PPI for EFI_SERVICES_TABLE.
klu2 [Mon, 4 Jan 2010 04:36:37 +0000 (04:36 +0000)]
Add default implementation of EFI_CPU_IO_PPI and EFI_PCI_CFG2_PPI for EFI_SERVICES_TABLE.

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

11 years agoUpdate shell binaries to newer version snapshot 2009-12-14 snapshot.
qhuang8 [Mon, 4 Jan 2010 02:19:04 +0000 (02:19 +0000)]
Update shell binaries to newer version snapshot 2009-12-14 snapshot.

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

11 years agoMinor clean ups for these INF files.
mdkinney [Thu, 31 Dec 2009 21:27:38 +0000 (21:27 +0000)]
Minor clean ups for these INF files.

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

11 years agoOnly check the unsupported IFR opcode for framework HII form package.
lgao4 [Thu, 31 Dec 2009 10:36:54 +0000 (10:36 +0000)]
Only check the unsupported IFR opcode for framework HII form package.

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

11 years agoRemove dependency on include file in package outside of EKD2.
rsun3 [Thu, 31 Dec 2009 09:07:19 +0000 (09:07 +0000)]
Remove dependency on include file in package outside of EKD2.

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

11 years agoAdd 4 Framework/PI SMM thunk drivers. Combined use of these drivers can support usage...
rsun3 [Thu, 31 Dec 2009 08:42:28 +0000 (08:42 +0000)]
Add 4 Framework/PI SMM thunk drivers. Combined use of these drivers can support usage model of PI SMM infrastructure + Framework Chipset SMM code + Framework platform SMM code in ECP platforms.

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

11 years agoRemove duplicated definition of EFI_SMM_COMMUNICATE_HEADER in PI and Framework SMM.
rsun3 [Thu, 31 Dec 2009 06:54:11 +0000 (06:54 +0000)]
Remove duplicated definition of EFI_SMM_COMMUNICATE_HEADER in PI and Framework SMM.

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

11 years agoFix minor coding style issues.
qhuang8 [Thu, 31 Dec 2009 06:46:49 +0000 (06:46 +0000)]
Fix minor coding style issues.

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

11 years agoRemove the hard-code IoAlign in BlockIo.Media; instead, this value should inherit...
qhuang8 [Thu, 31 Dec 2009 05:28:14 +0000 (05:28 +0000)]
Remove the hard-code IoAlign in BlockIo.Media; instead, this value should inherit from lower Ata Pass Thru protocol instance.

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

11 years agoAdd disableif statement example, and suppressif form example.
lgao4 [Thu, 31 Dec 2009 04:53:36 +0000 (04:53 +0000)]
Add disableif statement example, and suppressif form example.

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

11 years agoAlign name of constructor and destructor.
xli24 [Thu, 31 Dec 2009 04:10:46 +0000 (04:10 +0000)]
Align name of constructor and destructor.

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

11 years agoRefine DxeReportStatusCodeLib and RuntimeDxeReportStatusCodeLib.
xli24 [Thu, 31 Dec 2009 03:53:06 +0000 (03:53 +0000)]
Refine DxeReportStatusCodeLib and RuntimeDxeReportStatusCodeLib.

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

11 years agoUpdate GenericBdsLib to support BootOption for VLAN device.
xdu2 [Wed, 30 Dec 2009 13:52:19 +0000 (13:52 +0000)]
Update GenericBdsLib to support BootOption for VLAN device.

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

11 years agoAdd VLAN support.
xdu2 [Wed, 30 Dec 2009 13:47:55 +0000 (13:47 +0000)]
Add VLAN support.

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

11 years agoCode clean up in NetLib:
xdu2 [Wed, 30 Dec 2009 13:44:11 +0000 (13:44 +0000)]
Code clean up in NetLib:
1. Add GLOBAL_REMOVE_IF_UNREFERENCED to all globals
2. Update NTOHL and NTOHS to be BaseLib func SwapBytes32/SwapBytes16
3. Remove duplicate NET_SWAP_SHORT (to use NTOHS instead)

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

11 years agoMake use of UefiRuntimeLib for refinement.
xli24 [Wed, 30 Dec 2009 09:05:31 +0000 (09:05 +0000)]
Make use of UefiRuntimeLib for refinement.

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

11 years agoRename DataHubSmBiosRecordsOnPiSmBiosThunk to PiSmbiosRecordOnDataHubSmbiosRecordThun...
klu2 [Wed, 30 Dec 2009 06:42:12 +0000 (06:42 +0000)]
Rename DataHubSmBiosRecordsOnPiSmBiosThunk to PiSmbiosRecordOnDataHubSmbiosRecordThunk to avoid confusion. This thunk is used to filter all smbios related records from datahub and translate these records to SMBIOS record which is added into SMBIOS database via EFI_SMBIOS_PROTOCOL.

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

11 years agoFix bug that that the template does not match fields in structure EFI_BLOCK_IO_MEDIA
qhuang8 [Wed, 30 Dec 2009 06:26:54 +0000 (06:26 +0000)]
Fix bug that that the template does not match fields in structure EFI_BLOCK_IO_MEDIA

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

11 years agoRefer to OEM status code hook library instances in MdeModulePkg.
xli24 [Tue, 29 Dec 2009 09:57:26 +0000 (09:57 +0000)]
Refer to OEM status code hook library instances in MdeModulePkg.

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

11 years agoRemove OemHookStatusCodeLibNull from IntelFrameworkModulePkg.
xli24 [Tue, 29 Dec 2009 09:44:14 +0000 (09:44 +0000)]
Remove OemHookStatusCodeLibNull from IntelFrameworkModulePkg.

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

11 years agoRefer to OEM status code hook library instances in MdeModulePkg.
xli24 [Tue, 29 Dec 2009 09:39:01 +0000 (09:39 +0000)]
Refer to OEM status code hook library instances in MdeModulePkg.

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

11 years agoRefer to OEM status code hook library instances in MdeModulePkg.
xli24 [Tue, 29 Dec 2009 09:36:05 +0000 (09:36 +0000)]
Refer to OEM status code hook library instances in MdeModulePkg.

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

11 years agoRefer to OEM status code hook library instances in MdeModulePkg.
xli24 [Tue, 29 Dec 2009 09:35:34 +0000 (09:35 +0000)]
Refer to OEM status code hook library instances in MdeModulePkg.

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

11 years agoMove SmmReportStatusCodeLib to proper architecture branch for package level build.
xli24 [Tue, 29 Dec 2009 09:15:55 +0000 (09:15 +0000)]
Move SmmReportStatusCodeLib to proper architecture branch for package level build.

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

11 years agoRefer to status code library instances in MdeModulePkg.
xli24 [Tue, 29 Dec 2009 09:11:11 +0000 (09:11 +0000)]
Refer to status code library instances in MdeModulePkg.

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

11 years agothe 1st paramter of the function prototype lost the "CONST" keyword which is not...
jchen20 [Tue, 29 Dec 2009 09:11:01 +0000 (09:11 +0000)]
the 1st paramter of the function prototype lost the "CONST" keyword which is not complied with Spec

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

11 years agoRefer to status code library instances in MdeModulePkg.
xli24 [Tue, 29 Dec 2009 09:10:44 +0000 (09:10 +0000)]
Refer to status code library instances in MdeModulePkg.

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

11 years agoRefer to status code library instances in MdeModulePkg.
xli24 [Tue, 29 Dec 2009 09:10:05 +0000 (09:10 +0000)]
Refer to status code library instances in MdeModulePkg.

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

11 years agoRefer to status code library instances in MdeModulePkg.
xli24 [Tue, 29 Dec 2009 09:09:20 +0000 (09:09 +0000)]
Refer to status code library instances in MdeModulePkg.

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

11 years agoCreate RuntimeDxeReportStatusCodeLib instance.
xli24 [Tue, 29 Dec 2009 08:50:51 +0000 (08:50 +0000)]
Create RuntimeDxeReportStatusCodeLib instance.

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

11 years agoMove non-framework status code library instances to MdeModulePkg.
xli24 [Tue, 29 Dec 2009 07:53:43 +0000 (07:53 +0000)]
Move non-framework status code library instances to MdeModulePkg.

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

11 years agoMove non-framework status code library instances to MdeModulePkg.
xli24 [Tue, 29 Dec 2009 07:50:42 +0000 (07:50 +0000)]
Move non-framework status code library instances to MdeModulePkg.

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

11 years agoMove non-framework status code library instances to MdeModulePkg.
xli24 [Tue, 29 Dec 2009 07:46:33 +0000 (07:46 +0000)]
Move non-framework status code library instances to MdeModulePkg.

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

11 years agoMove SmmReportStatusCodeLib to MdeModulePkg.
xli24 [Tue, 29 Dec 2009 07:41:54 +0000 (07:41 +0000)]
Move SmmReportStatusCodeLib to MdeModulePkg.

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

11 years agoMove PeiReportStatusCodeLib to MdeModulePkg.
xli24 [Tue, 29 Dec 2009 07:40:45 +0000 (07:40 +0000)]
Move PeiReportStatusCodeLib to MdeModulePkg.

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

11 years agoCreate DxeReportStatusCodeLib instance.
xli24 [Tue, 29 Dec 2009 07:39:14 +0000 (07:39 +0000)]
Create DxeReportStatusCodeLib instance.

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

11 years agoMove OemHookStatusCodeLibNull to MdeModulePkg.
xli24 [Tue, 29 Dec 2009 07:30:28 +0000 (07:30 +0000)]
Move OemHookStatusCodeLibNull to MdeModulePkg.

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

11 years agoRemove unnecessary dependency on IntelFrameworkModulePkg.
xli24 [Tue, 29 Dec 2009 07:28:40 +0000 (07:28 +0000)]
Remove unnecessary dependency on IntelFrameworkModulePkg.

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

11 years agoRemove unnecessary dependency on IntelFrameworkPkg and IntelFrameworkModulePkg.
xli24 [Tue, 29 Dec 2009 07:17:35 +0000 (07:17 +0000)]
Remove unnecessary dependency on IntelFrameworkPkg and IntelFrameworkModulePkg.

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

11 years agoSync tool code to BuildTools project r1783.
lgao4 [Tue, 29 Dec 2009 06:16:53 +0000 (06:16 +0000)]
Sync tool code to BuildTools project r1783.

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

11 years agoFix a bug about linked list manipulation in DegradeResource() in PCI bus driver.
rsun3 [Tue, 29 Dec 2009 06:16:29 +0000 (06:16 +0000)]
Fix a bug about linked list manipulation in DegradeResource() in PCI bus driver.

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

11 years agoFix a bug in DegradeResource().
rsun3 [Tue, 29 Dec 2009 03:14:37 +0000 (03:14 +0000)]
Fix a bug in DegradeResource().

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

11 years agoFix some typo.
klu2 [Mon, 28 Dec 2009 05:39:55 +0000 (05:39 +0000)]
Fix some typo.

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

11 years agoAdd a thunk driver to translate framework DataHub's smbios related record to PI SMBIO...
klu2 [Mon, 28 Dec 2009 05:03:49 +0000 (05:03 +0000)]
Add a thunk driver to translate framework DataHub's smbios related record to PI SMBIOS's record via EFI_SMBIOS_PROTOCOL defined in PI 1.2 specification.

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

11 years agoAdd package dependency for gEfiStatusCodeDataTypeDebugGuid.
xli24 [Mon, 28 Dec 2009 02:55:12 +0000 (02:55 +0000)]
Add package dependency for gEfiStatusCodeDataTypeDebugGuid.

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

11 years agoAdd check before free DevicePath (TCP child sock will have no device path installed)
xdu2 [Fri, 25 Dec 2009 09:49:38 +0000 (09:49 +0000)]
Add check before free DevicePath (TCP child sock will have no device path installed)

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

11 years agoPublish definition of MCA/INIT/PMI Protocol & ESAL, as introduced in PI 1.2.
xli24 [Fri, 25 Dec 2009 08:20:37 +0000 (08:20 +0000)]
Publish definition of MCA/INIT/PMI Protocol & ESAL, as introduced in PI 1.2.

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