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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 years agoreplaced EFI_HOB_TYPE_LOAD_PEIM with EFI_HOB_TYPE_LOAD_PEIM_UNUSED
vanjeff [Fri, 25 Dec 2009 08:10:56 +0000 (08:10 +0000)]
replaced EFI_HOB_TYPE_LOAD_PEIM with EFI_HOB_TYPE_LOAD_PEIM_UNUSED

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

14 years agoreplaced EFI_HOB_TYPE_LOAD_PEIM with EFI_HOB_TYPE_LOAD_PEIM_UNUSED
vanjeff [Fri, 25 Dec 2009 08:10:43 +0000 (08:10 +0000)]
replaced EFI_HOB_TYPE_LOAD_PEIM with EFI_HOB_TYPE_LOAD_PEIM_UNUSED

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

14 years agoEnable package level build.
xli24 [Fri, 25 Dec 2009 08:09:48 +0000 (08:09 +0000)]
Enable package level build.

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

14 years agoFix ICC compiler warning.
xli24 [Fri, 25 Dec 2009 08:05:53 +0000 (08:05 +0000)]
Fix ICC compiler warning.

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

14 years agoMove Status Code Handler modules for PI implementation to MdeModulePkg.
xli24 [Fri, 25 Dec 2009 07:29:33 +0000 (07:29 +0000)]
Move Status Code Handler modules for PI implementation to MdeModulePkg.

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

14 years agoMove Status Code Handler modules for PI implementation to MdeModulePkg
xli24 [Fri, 25 Dec 2009 07:28:04 +0000 (07:28 +0000)]
Move Status Code Handler modules for PI implementation to MdeModulePkg

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

14 years agoMove Status Code Handler modules for PI implementation to MdeModulePkg
xli24 [Fri, 25 Dec 2009 07:26:06 +0000 (07:26 +0000)]
Move Status Code Handler modules for PI implementation to MdeModulePkg

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

14 years agoMove Status Code Handler modules for PI implementation to MdeModulePkg.
xli24 [Fri, 25 Dec 2009 06:49:52 +0000 (06:49 +0000)]
Move Status Code Handler modules for PI implementation to MdeModulePkg.

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

14 years agoRemove status code modules' dependency on IntelFrameworkModulePkg.
xli24 [Fri, 25 Dec 2009 06:37:28 +0000 (06:37 +0000)]
Remove status code modules' dependency on IntelFrameworkModulePkg.

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

14 years agoRemove status code modules' dependency on IntelFrameworkModulePkg.
xli24 [Fri, 25 Dec 2009 06:36:47 +0000 (06:36 +0000)]
Remove status code modules' dependency on IntelFrameworkModulePkg.

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

14 years agoRemove status code modules' dependency on IntelFrameworkModulePkg.
xli24 [Fri, 25 Dec 2009 06:36:10 +0000 (06:36 +0000)]
Remove status code modules' dependency on IntelFrameworkModulePkg.

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

14 years agoRemove status code modules' dependency on IntelFrameworkModulePkg.
xli24 [Fri, 25 Dec 2009 06:34:07 +0000 (06:34 +0000)]
Remove status code modules' dependency on IntelFrameworkModulePkg.

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

14 years agoRemove status code modules' dependency on IntelFrameworkModulePkg.
xli24 [Fri, 25 Dec 2009 06:33:46 +0000 (06:33 +0000)]
Remove status code modules' dependency on IntelFrameworkModulePkg.

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

14 years agoAdd assertion to ensure the boolean value must be 0 or 1 before the use of array...
qhuang8 [Fri, 25 Dec 2009 04:28:31 +0000 (04:28 +0000)]
Add assertion to ensure the boolean value must be 0 or 1 before the use of array index

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

14 years agoAdd fixing for supporting third-party FV in unknown format.
klu2 [Fri, 25 Dec 2009 02:28:47 +0000 (02:28 +0000)]
Add fixing for supporting third-party FV in unknown format.

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

14 years agoFix ICC toolchain build break.
rsun3 [Fri, 25 Dec 2009 01:56:24 +0000 (01:56 +0000)]
Fix ICC toolchain build break.

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

14 years agoUpdate resource degrade algorithm in PCI bus driver. (1)If any child device has both...
rsun3 [Thu, 24 Dec 2009 14:05:36 +0000 (14:05 +0000)]
Update resource degrade algorithm in PCI bus driver. (1)If any child device has both option ROM and 64-bit BAR, degrade its PMEM64/MEM64 requests in case that if a legacy option ROM image can not access 64-bit resources. (2)      If there are both PMEM64 and PMEM32 requests from child devices, which can not be satisfied by a P2P bridge simultaneously, keep PMEM64 and degrade PMEM32 to MEM32. (3) PMEM64/MEM64 are not supported when firmware is in 32-bit mode.

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

14 years agoUpdate PCI bus driver to support non-standard PCI to PCI bridge I/O window alignment...
rsun3 [Thu, 24 Dec 2009 11:58:04 +0000 (11:58 +0000)]
Update PCI bus driver to support non-standard PCI to PCI bridge I/O window alignment, such as 2K/1K/512 byte. Feature PCD PcdPciBridgeIoAlignmentProbe is introduced to turn on/off this feature.

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

14 years ago1. Fix bug in some boundary cases to calculate SectorCountExp.
qhuang8 [Thu, 24 Dec 2009 08:31:31 +0000 (08:31 +0000)]
1. Fix bug in some boundary cases to calculate SectorCountExp.
2. Add assertion to ensure the boolean value must be 0 or 1 before the use of array index

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

14 years agoupdate file/function comments to list the string length limitation.
eric_tian [Thu, 24 Dec 2009 03:22:31 +0000 (03:22 +0000)]
update file/function comments to list the string length limitation.

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

14 years agoclean-up the license to open source.
eric_tian [Thu, 24 Dec 2009 02:07:37 +0000 (02:07 +0000)]
clean-up the license to open source.

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

14 years agoCorrect license's header.
klu2 [Wed, 23 Dec 2009 15:35:51 +0000 (15:35 +0000)]
Correct license's header.

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

14 years agoPI 1.1 SMM Feature Check-in
davidhuang [Wed, 23 Dec 2009 06:52:37 +0000 (06:52 +0000)]
PI 1.1 SMM Feature Check-in
1. Add SmmReportStatusCodeLib library instance.
2. Add StatusCodeHandler Smm part

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

14 years agoPI 1.1 SMM Feature Check-in
davidhuang [Wed, 23 Dec 2009 06:52:07 +0000 (06:52 +0000)]
PI 1.1 SMM Feature Check-in
1. Update SmmLib

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

14 years agoPI 1.1 SMM Feature Check-in
davidhuang [Wed, 23 Dec 2009 06:51:36 +0000 (06:51 +0000)]
PI 1.1 SMM Feature Check-in
1. Update DxeMain to support COMBINED_DXE_SMM driver dispatch.
2. Add ReportStatusCodeRouter SMM part.

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

14 years agoPI 1.1 SMM Feature Check-in
davidhuang [Wed, 23 Dec 2009 06:44:33 +0000 (06:44 +0000)]
PI 1.1 SMM Feature Check-in
1. Add SmmServicesTableLib library class/instance.
2. Add SmmIoLibCpuIo/SmmPciLibPciRootBridgeIo library instance.
3. Update some library INF to support SMM_CORE module type.
4. Update dec/dsc to include new modules.

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

14 years agoTry to get the image form device path by FALSE and TRUE boot policy.
lgao4 [Wed, 23 Dec 2009 04:55:08 +0000 (04:55 +0000)]
Try to get the image form device path by FALSE and TRUE boot policy.

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

14 years agoFix a bug in MdePkg BaseLib: StrnCat() and AsciiStrnCat() should NULL terminated...
qhuang8 [Wed, 23 Dec 2009 01:50:10 +0000 (01:50 +0000)]
Fix a bug in MdePkg BaseLib: StrnCat() and AsciiStrnCat() should NULL terminated the final destination string when Length is equal to the length of Source string

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

14 years agoWorking on having a single stack for all modes. This code currently has an issue...
AJFISH [Tue, 22 Dec 2009 23:23:41 +0000 (23:23 +0000)]
Working on having a single stack for all modes. This code currently has an issue nesting interrupts in a big honking loop, but seems to save and restore context correctly.

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

14 years agoProduce LoadPeImage protocol only in framework compatibility mode.
lgao4 [Tue, 22 Dec 2009 08:02:33 +0000 (08:02 +0000)]
Produce LoadPeImage protocol only in framework compatibility mode.

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

14 years agoAdd new UEFI driver AtaBusDxe:
qhuang8 [Tue, 22 Dec 2009 07:35:49 +0000 (07:35 +0000)]
Add new UEFI driver AtaBusDxe:
1. Layer on UEFI 2.2 ATA pass through protocol to perform ATA transaction.
2. Produce Block IO and DiskInfo protocol for each ATA devices.

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

14 years agoEnhance SCSI disk module to produce Disk Info protocol on the same Block IO handle:
qhuang8 [Tue, 22 Dec 2009 07:31:18 +0000 (07:31 +0000)]
Enhance SCSI disk module to produce Disk Info protocol on the same Block IO handle:
SCSI Interface GUID: Physical SCSI disk
IDE  Interface GUID: ATAPI device run in legacy IDE mode
AHCI Interface GUID: ATAPI device run in AHCI mode.

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

14 years agoadd error handling for input parameter.
eric_tian [Tue, 22 Dec 2009 07:16:55 +0000 (07:16 +0000)]
add error handling for input parameter.

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

14 years agoadd error handling for input parameter.
eric_tian [Tue, 22 Dec 2009 07:16:37 +0000 (07:16 +0000)]
add error handling for input parameter.

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

14 years agoAdd variable definitions of user identification
gdong1 [Tue, 22 Dec 2009 04:48:19 +0000 (04:48 +0000)]
Add variable definitions of user identification

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

14 years agoReturn EFI_UNSUPPORTED on NT32 platform.
xli24 [Mon, 21 Dec 2009 03:50:10 +0000 (03:50 +0000)]
Return EFI_UNSUPPORTED on NT32 platform.

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

14 years agoFix bug that ovmf's BDS can not be entered and add SmbiosDxe driver into Ovmf's DSC...
klu2 [Sun, 20 Dec 2009 05:35:58 +0000 (05:35 +0000)]
Fix bug that ovmf's BDS can not be entered and add SmbiosDxe driver into Ovmf's DSC and FDF file

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