Commit Graph

9469 Commits

Author SHA1 Message Date
eric_tian 48a0e6bfbd add error handling for input parameter.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9583 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-22 07:16:55 +00:00
eric_tian 81c5255cdf add error handling for input parameter.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9582 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-22 07:16:37 +00:00
gdong1 d14d2707ea Add variable definitions of user identification
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9581 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-22 04:48:19 +00:00
xli24 2022142e65 Return EFI_UNSUPPORTED on NT32 platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9580 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-21 03:50:10 +00:00
klu2 e471bf1f86 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
2009-12-20 05:35:58 +00:00
AJFISH 132f1beae3 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
2009-12-18 20:49:28 +00:00
davidhuang f711436ba5 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
2009-12-17 08:06:29 +00:00
vanjeff 47c75f64ae Refine the functions headers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9576 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-17 08:05:03 +00:00
davidhuang d64527e50d 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
2009-12-17 07:59:09 +00:00
xli24 43e332071d Refine type cast.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9574 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-17 02:42:22 +00:00
jljusten d6d8e8925f 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
2009-12-16 23:29:20 +00:00
jljusten 0913fadc1a 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
2009-12-16 23:29:17 +00:00
jljusten 7a55c43b07 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
2009-12-16 23:29:15 +00:00
jljusten 8861fc792c 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
2009-12-16 23:28:46 +00:00
qhuang8 31e49bdea0 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
2009-12-16 05:02:17 +00:00
xli24 cfc2ba61e4 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
2009-12-16 04:50:57 +00:00
xli24 8a1dc102d9 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
2009-12-16 02:51:09 +00:00
eric_tian efe9186f09 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
2009-12-16 00:58:46 +00:00
qhuang8 7748eb28e1 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
2009-12-15 09:12:45 +00:00
rsun3 5d36285da8 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
2009-12-15 08:50:58 +00:00
xli24 768e2a903b 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
2009-12-15 03:00:49 +00:00
lhauch c0b89afd91 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
2009-12-14 17:46:24 +00:00
tye cd41792556 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
2009-12-14 08:14:08 +00:00
eric_tian c9ec70470d 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
2009-12-14 06:26:27 +00:00
gikidy 4b37cc04b7 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
2009-12-14 03:09:49 +00:00
gikidy dc9624aa55 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
2009-12-14 01:51:42 +00:00
klu2 1c8bea11af 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
2009-12-12 08:55:02 +00:00
klu2 f8ee20c982 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
2009-12-11 11:58:27 +00:00
klu2 ed79462bee 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
2009-12-11 11:52:26 +00:00
lgao4 7b9b2b920e 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
2009-12-11 11:01:50 +00:00
klu2 351615ee5e 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
2009-12-11 05:51:39 +00:00
rsun3 65d02573b8 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
2009-12-11 04:32:30 +00:00
xli24 d69f66d6e3 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
2009-12-11 02:59:04 +00:00
qhuang8 8546d5a694 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
2009-12-11 01:08:51 +00:00
xli24 601afc0356 Add legacy region range check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9549 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-10 09:24:40 +00:00
xdu2 d90434ccb5 Correct the comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9548 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-10 07:48:56 +00:00
AJFISH f147a39e3c 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
2009-12-10 00:24:29 +00:00
lgao4 6191043539 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
2009-12-09 08:19:47 +00:00
eric_tian afbb91aa09 fix the wrong module name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9545 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-09 02:18:21 +00:00
AJFISH 841f6ba76f 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
2009-12-09 01:40:24 +00:00
AJFISH 5af06fe3d0 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
2009-12-08 06:14:12 +00:00
eric_tian 73cbc58069 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
2009-12-08 05:31:19 +00:00
lgao4 261835ccf2 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
2009-12-08 05:29:54 +00:00
lgao4 c083f7caef 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
2009-12-08 05:28:03 +00:00
xdu2 824e8a5233 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
2009-12-08 04:58:53 +00:00
ajfish b395a08d05 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
2009-12-08 01:55:00 +00:00
jcarsey ecd3d59f33 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
2009-12-07 18:05:00 +00:00
jcarsey 18cefebe12 clean up comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9536 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-07 18:04:21 +00:00
jcarsey 11d2decf81 Adding StringNoCaseCompare to SortLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9535 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-07 18:04:03 +00:00
xli24 3a5ac5bff0 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
2009-12-07 12:51:53 +00:00