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

14 years agoFix a bug with the shell cp command. When searching for a / it was possible to lose...
AJFISH [Fri, 18 Dec 2009 20:49:28 +0000 (20:49 +0000)]
Fix a bug with the shell cp command. When searching for a / it was possible to lose a directory level. I changed the code to add a missing / if needed and not search backwards for one.

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

14 years ago1. Fix a bug encounter in build
davidhuang [Thu, 17 Dec 2009 08:06:29 +0000 (08:06 +0000)]
1. Fix a bug encounter in build

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

14 years agoRefine the functions headers.
vanjeff [Thu, 17 Dec 2009 08:05:03 +0000 (08:05 +0000)]
Refine the functions headers.

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

14 years agoTo avoid naming conflicts between PI SMMBASE2 Protocol/FRAMEWORK SMM Base Protocol
davidhuang [Thu, 17 Dec 2009 07:59:09 +0000 (07:59 +0000)]
To avoid naming conflicts between PI SMMBASE2 Protocol/FRAMEWORK SMM Base Protocol
1. Change PI definition EFI_SMM_COMMUNICATE  to EFI_SMM_COMMUNICATE2
2. Change PI definition EFI_SMM_INSIDE_OUT to EFI_SMM_INSIDE_OUT2
3. Change PI definition EFI_SMM_GET_SMST_LOCATION to EFI_SMM_GET_SMST_LOCATION2

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

14 years agoRefine type cast.
xli24 [Thu, 17 Dec 2009 02:42:22 +0000 (02:42 +0000)]
Refine type cast.

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

14 years agoBaseUefiCpuLib: Preserve EBX register in InitializeFloatingPointUnits
jljusten [Wed, 16 Dec 2009 23:29:20 +0000 (23:29 +0000)]
BaseUefiCpuLib: Preserve EBX register in InitializeFloatingPointUnits

The EBX register should be preserved for the IA32 C calling convention.
The use of the CPUID instruction was modifying the EBX register, so
we push and pop EBX.

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

14 years agoOVMF SEC: Modify to match new interface of reset vector module
jljusten [Wed, 16 Dec 2009 23:29:17 +0000 (23:29 +0000)]
OVMF SEC: Modify to match new interface of reset vector module

Previously the interface to the SEC module was:
  ESI/RSI - SEC Core entry point
  EDI/RDI - PEI Core entry point
  EBP/RBP - Start of BFV

Now it is:
  RAX/EAX  Initial value of the EAX register
           (BIST: Built-in Self Test)
  DI       'BP': boot-strap processor, or
           'AP': application processor
  RBP/EBP  Address of Boot Firmware Volume (BFV)

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

14 years agoOVMF ResetVector: Modify interface with SEC module
jljusten [Wed, 16 Dec 2009 23:29:15 +0000 (23:29 +0000)]
OVMF ResetVector: Modify interface with SEC module

Previously it was:
  ESI/RSI - SEC Core entry point
  EDI/RDI - PEI Core entry point
  EBP/RBP - Start of BFV

Now it is:
  RAX/EAX  Initial value of the EAX register
           (BIST: Built-in Self Test)
  DI       'BP': boot-strap processor, or
           'AP': application processor
  RBP/EBP  Address of Boot Firmware Volume (BFV)

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

14 years agoAdd missing EFIAPI instances on several functions.
jljusten [Wed, 16 Dec 2009 23:28:46 +0000 (23:28 +0000)]
Add missing EFIAPI instances on several functions.

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

14 years ago1. Update Fat binaries for IA32, x64, IPF and EBC to base on MdePkg 1.01 release...
qhuang8 [Wed, 16 Dec 2009 05:02:17 +0000 (05:02 +0000)]
1. Update Fat binaries for IA32, x64, IPF and EBC to base on MdePkg 1.01 release (EDK SVN r9029).
2. Integrate a bug fix from Andrew Fish on Fat SVN r46.

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

14 years agoFix the issue that callback function with TPL lower than TPL_HIGH_LEVEL cannot handle...
xli24 [Wed, 16 Dec 2009 04:50:57 +0000 (04:50 +0000)]
Fix the issue that callback function with TPL lower than TPL_HIGH_LEVEL cannot handle status code at TPL_HIGH_LEVEL.

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

14 years agoMake MP Services thunk driver only be built under IA32 and X64 archs.
xli24 [Wed, 16 Dec 2009 02:51:09 +0000 (02:51 +0000)]
Make MP Services thunk driver only be built under IA32 and X64 archs.

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

14 years agoadd error handling on usb related modules.
eric_tian [Wed, 16 Dec 2009 00:58:46 +0000 (00:58 +0000)]
add error handling on usb related modules.

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

14 years agoAdd '0x' prefix to indicate hex number
qhuang8 [Tue, 15 Dec 2009 09:12:45 +0000 (09:12 +0000)]
Add '0x' prefix to indicate hex number

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

14 years agoFix a PeiServices pointer checking error bug in EfiCommonLib in ECP.
rsun3 [Tue, 15 Dec 2009 08:50:58 +0000 (08:50 +0000)]
Fix a PeiServices pointer checking error bug in EfiCommonLib in ECP.

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

14 years agoCheck in thunk driver to produce PI MP Services Protocol based on Framework MP Servic...
xli24 [Tue, 15 Dec 2009 03:00:49 +0000 (03:00 +0000)]
Check in thunk driver to produce PI MP Services Protocol based on Framework MP Services Protocol.

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

14 years agoRemoving BuildNotes.txt file, as it was for the obsolete Java/ANT based builds
lhauch [Mon, 14 Dec 2009 17:46:24 +0000 (17:46 +0000)]
Removing BuildNotes.txt file, as it was for the obsolete Java/ANT based builds

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

14 years agoEnable Undi driver to support multicast MAC address mapped from IPv6 address
tye [Mon, 14 Dec 2009 08:14:08 +0000 (08:14 +0000)]
Enable Undi driver to support multicast MAC address mapped from IPv6 address

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

14 years agoIntroduce a MDEPKG_NDEBUG macro to provide a method which can be used to reduce code...
eric_tian [Mon, 14 Dec 2009 06:26:27 +0000 (06:26 +0000)]
Introduce a MDEPKG_NDEBUG macro to provide a method which can be used to reduce code size when compiler optimization is disabled.

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

14 years agoUpdate ReadMe file for we use the binaries of boot sector directly instead of buildin...
gikidy [Mon, 14 Dec 2009 03:09:49 +0000 (03:09 +0000)]
Update ReadMe file for we use the binaries of boot sector directly instead of building it.

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

14 years agoRemove Driver Health sample driver from OptionRomPkg.
gikidy [Mon, 14 Dec 2009 01:51:42 +0000 (01:51 +0000)]
Remove Driver Health sample driver from OptionRomPkg.

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

14 years agoFix a obvious bug for judge whether the PPB support ISA
klu2 [Sat, 12 Dec 2009 08:55:02 +0000 (08:55 +0000)]
Fix a obvious bug for judge whether the PPB support ISA

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

14 years agoSmbios driver wrong compute the offset when updating string for given handle.
klu2 [Fri, 11 Dec 2009 11:58:27 +0000 (11:58 +0000)]
Smbios driver wrong compute the offset when updating string for given handle.

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

14 years agothere is no 0 between a SMBIOS buffer and the first string in unformated area. So...
klu2 [Fri, 11 Dec 2009 11:52:26 +0000 (11:52 +0000)]
there is no 0 between a SMBIOS buffer and the first string in unformated area. So no need + 1.

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

14 years agoFix the bug for evaluate EFI_IFR_NOT_EQUAL_OP opcode, and the bug in using UnicodeSPr...
lgao4 [Fri, 11 Dec 2009 11:01:50 +0000 (11:01 +0000)]
Fix the bug for evaluate EFI_IFR_NOT_EQUAL_OP opcode, and the bug in using UnicodeSPrint function.

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

14 years agoThe consumer for smbios recorder should *not* make assumption the SMBIOS structure...
klu2 [Fri, 11 Dec 2009 05:51:39 +0000 (05:51 +0000)]
The consumer for smbios recorder should *not* make assumption the SMBIOS structure in special version. For length of smbios record, consumer need judge the SMBIOS->Hdr.Length but not use size of (SMBIOS_TYPE0) style.

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

14 years agoImprove status codes returned for functions of EFI_TCG_PROTOCOL. Note that after...
rsun3 [Fri, 11 Dec 2009 04:32:30 +0000 (04:32 +0000)]
Improve status codes returned for functions of EFI_TCG_PROTOCOL. Note that after change, status codes returned for functions of EFI_TCG_PROTOCOL do not exactly match those defined in the TCG EFI Protocol 1.20 Final Specification.

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

14 years agoAdd return value description for EFI_PEI_RECOVERY_BLOCK_IO_PPI.GetNumberOfBlockDevices().
xli24 [Fri, 11 Dec 2009 02:59:04 +0000 (02:59 +0000)]
Add return value description for EFI_PEI_RECOVERY_BLOCK_IO_PPI.GetNumberOfBlockDevices().

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

14 years agoAdd missing definition of "EFI_PEI_DESCRIPTOR" in PI spec.
qhuang8 [Fri, 11 Dec 2009 01:08:51 +0000 (01:08 +0000)]
Add missing definition of "EFI_PEI_DESCRIPTOR" in PI spec.

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

14 years agoAdd legacy region range check.
xli24 [Thu, 10 Dec 2009 09:24:40 +0000 (09:24 +0000)]
Add legacy region range check.

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

14 years agoCorrect the comments.
xdu2 [Thu, 10 Dec 2009 07:48:56 +0000 (07:48 +0000)]
Correct the comments.

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

14 years agoTempoprary removal of this ASSERT as it crashes the BeagleBoard. We can put it back...
AJFISH [Thu, 10 Dec 2009 00:24:29 +0000 (00:24 +0000)]
Tempoprary removal of this ASSERT as it crashes the BeagleBoard. We can put it back in when we figure out the issue.

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

14 years agoAdd the missing HiiVendor DevicePath for new added DriverHealth Form.
lgao4 [Wed, 9 Dec 2009 08:19:47 +0000 (08:19 +0000)]
Add the missing HiiVendor DevicePath for new added DriverHealth Form.

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

14 years agofix the wrong module name.
eric_tian [Wed, 9 Dec 2009 02:18:21 +0000 (02:18 +0000)]
fix the wrong module name.

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

14 years agoMake the build.sh script match the TOT BaseTools project.
AJFISH [Wed, 9 Dec 2009 01:40:24 +0000 (01:40 +0000)]
Make the build.sh script match the TOT BaseTools project.

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

14 years agoFix for the Linux Build. #ifdef __APPLE__ around the files only needed to work around...
AJFISH [Tue, 8 Dec 2009 06:14:12 +0000 (06:14 +0000)]
Fix for the Linux Build. #ifdef __APPLE__ around the files only needed to work around Mac OS X 16 byte IA-32 calling conventions issue. All the calls to this code is #ifdef __APPLE__, so no reason to build it on Linux or other gcc flavors.

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

14 years agofix build error, CpuIo module is replaced with CpuIo2Dxe
eric_tian [Tue, 8 Dec 2009 05:31:19 +0000 (05:31 +0000)]
fix build error, CpuIo module is replaced with CpuIo2Dxe

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

14 years agoDon't need call SAP measure GPT table, which can be covered in SAP implementation.
lgao4 [Tue, 8 Dec 2009 05:29:54 +0000 (05:29 +0000)]
Don't need call SAP measure GPT table, which can be covered in SAP implementation.

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

14 years agoDirectly use FALSE when BootPolicy is FALSE.
lgao4 [Tue, 8 Dec 2009 05:28:03 +0000 (05:28 +0000)]
Directly use FALSE when BootPolicy is FALSE.

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

14 years agoFix incorrect return status usage of HiiGetBrowserData().
xdu2 [Tue, 8 Dec 2009 04:58:53 +0000 (04:58 +0000)]
Fix incorrect return status usage of HiiGetBrowserData().

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

14 years agoFix the UnixPkg default to have the tools come from a seperate BaseTools project...
ajfish [Tue, 8 Dec 2009 01:55:00 +0000 (01:55 +0000)]
Fix the UnixPkg default to have the tools come from a seperate BaseTools project. When the fixes are checked into edk2 we can move it back to pointing to tools in edk2.

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

14 years agoadd ASSERT to 2 functions and fix issue with size difference between old and new...
jcarsey [Mon, 7 Dec 2009 18:05:00 +0000 (18:05 +0000)]
add ASSERT to 2 functions and fix issue with size difference between old and new shell versions.

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

14 years agoclean up comments
jcarsey [Mon, 7 Dec 2009 18:04:21 +0000 (18:04 +0000)]
clean up comments

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

14 years agoAdding StringNoCaseCompare to SortLib
jcarsey [Mon, 7 Dec 2009 18:04:03 +0000 (18:04 +0000)]
Adding StringNoCaseCompare to SortLib

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

14 years agoUpdate to consume CPU I/O 2 Protocol instead of Framework CPU I/O Protocol.
xli24 [Mon, 7 Dec 2009 12:51:53 +0000 (12:51 +0000)]
Update to consume CPU I/O 2 Protocol instead of Framework CPU I/O Protocol.

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

14 years agoUpdate to consume CPU I/O 2 Protocol instead of Framework CPU I/O Protocol.
xli24 [Mon, 7 Dec 2009 12:48:53 +0000 (12:48 +0000)]
Update to consume CPU I/O 2 Protocol instead of Framework CPU I/O Protocol.

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

14 years agoUpdate UnixPkg emulation platform to produce dummy CPU I/O 2 Protocol.
xli24 [Mon, 7 Dec 2009 07:10:49 +0000 (07:10 +0000)]
Update UnixPkg emulation platform to produce dummy CPU I/O 2 Protocol.

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

14 years agoRefine code make callback logic same with frontPage.
gikidy [Mon, 7 Dec 2009 05:55:07 +0000 (05:55 +0000)]
Refine code make callback logic same with frontPage.

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

14 years ago1. fix the wrong description, change "target the buffer" to "the target buffer"
eric_tian [Mon, 7 Dec 2009 04:48:53 +0000 (04:48 +0000)]
1. fix the wrong description, change "target the buffer" to "the target buffer"
2. fix ICC/GYGGCC build failure on ScanMemN() in X64 arch, it can not reach the last sentence when UINTN is equal to UINT64.

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

14 years agoCorrect LzmaCustomDecompressLib to produce NULL library class.
lgao4 [Mon, 7 Dec 2009 04:48:29 +0000 (04:48 +0000)]
Correct LzmaCustomDecompressLib to produce NULL library class.

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

14 years agoUpdate NT32 emulation platform to produce dummy CPU I/O 2 Protocol.
xli24 [Mon, 7 Dec 2009 04:28:22 +0000 (04:28 +0000)]
Update NT32 emulation platform to produce dummy CPU I/O 2 Protocol.

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

14 years agoaccording to IA32 intel architecture spec, mwait instuction needs not the operands.
eric_tian [Mon, 7 Dec 2009 04:15:00 +0000 (04:15 +0000)]
according to IA32 intel architecture spec, mwait instuction needs not the operands.

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

14 years agofix GCC build issue, mWait instruction need not the operands.
eric_tian [Mon, 7 Dec 2009 03:31:44 +0000 (03:31 +0000)]
fix GCC build issue, mWait instruction need not the operands.

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

14 years agoRemove unnecessary reference to CPU I/O Protocol.
xli24 [Mon, 7 Dec 2009 03:31:19 +0000 (03:31 +0000)]
Remove unnecessary reference to CPU I/O Protocol.

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

14 years agoUpdate drivers to consume CPU I/O 2 Protocol instead of Framework CPU I/O Protocol.
xli24 [Mon, 7 Dec 2009 03:25:16 +0000 (03:25 +0000)]
Update drivers to consume CPU I/O 2 Protocol instead of Framework CPU I/O Protocol.

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

14 years agoCheck in thunk driver for CPU I/O 2 Protocol.
xli24 [Mon, 7 Dec 2009 03:12:13 +0000 (03:12 +0000)]
Check in thunk driver for CPU I/O 2 Protocol.

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

14 years agoCheck in driver to produce CPU I/O 2 Protocol for IA32 and X64 architecture.
xli24 [Mon, 7 Dec 2009 03:09:04 +0000 (03:09 +0000)]
Check in driver to produce CPU I/O 2 Protocol for IA32 and X64 architecture.

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

14 years agoAdd the missing EFI_IMAGE_EXECUTION_AUTH_ value definitions.
lgao4 [Mon, 7 Dec 2009 03:04:34 +0000 (03:04 +0000)]
Add the missing EFI_IMAGE_EXECUTION_AUTH_ value definitions.

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

14 years agoFixes for ARM build in the EdkCompatibilityPkg and a couple of Xcode fixes for MdePkg.
AJFISH [Sun, 6 Dec 2009 02:01:54 +0000 (02:01 +0000)]
Fixes for ARM build in the EdkCompatibilityPkg and a couple of Xcode fixes for MdePkg.

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