Commit Graph

1704 Commits

Author SHA1 Message Date
qhuang8 51969ecb37 Fix several minor coding style issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8092 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-15 14:31:45 +00:00
qhuang8 aeb90c4a15 Add extra definition to MdePkg\Include\IndustrialStandard\Image.h: EFI_IMAGE_RESOURCE_* to handle HII resource in image
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8091 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-15 14:19:10 +00:00
qhuang8 278bd31c88 Add UEFI 2.1d Hii Package list GUID definition to MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8090 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-15 14:18:30 +00:00
vanjeff 11171f0300 add security check
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8088 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-15 04:04:47 +00:00
vanjeff 81dac93063 1. add ata identify data definition for ATA-5
2. add more clear comments for some ATA definitions.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8073 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-13 08:00:44 +00:00
jljusten 6d3ea23f11 Fix various 'EFIAPI' inconsistencies found while building MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8062 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-10 20:58:18 +00:00
jljusten 6149e6bb4f Allow EFIAPI to be defined on the compiler command line.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8061 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-10 20:58:10 +00:00
jljusten c9268416b9 Fix some build issues encountered with ELFGCC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8060 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-10 20:58:07 +00:00
gikidy 298530bcaa Useless definition removed and typo corrected.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8045 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-09 07:54:37 +00:00
eric_tian dfbe9de95f add assertion condition to satisfy the requirement in MdePkg library spec 0.61p
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8033 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-07 09:14:33 +00:00
gikidy deb7f094d4 MEDIA_RELATIVE_OFFSET_RANGE_DEVICE_PATH process added.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8024 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-03 08:17:25 +00:00
lgao4 db2ef756ba Add CreatePopUp API into UefiLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8016 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-02 09:29:34 +00:00
gikidy 28d3e14ffb Fix some typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8008 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-02 05:34:26 +00:00
gikidy efb86b3ad5 Add flag for device directly connect to the HBA.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8002 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-02 01:39:05 +00:00
jji4 ccb491c862 Read-Capacity16 command added for SCSI drivers
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7999 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-01 08:24:58 +00:00
gikidy 312bc8f873 New data field added follow UEFI Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7998 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-01 08:14:55 +00:00
jji4 0acd60156c Synchronized with UEFI Spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7972 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-27 07:14:00 +00:00
qhuang8 eaad1319d5 Retire RFC_3066_ENTRY_SIZE definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7965 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-27 03:24:33 +00:00
jji4 a0d58c2124 Synchronized with UEFI Spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7959 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-26 09:30:21 +00:00
jji4 764f4d534b Synchronized with UEFI Spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7958 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-26 09:29:43 +00:00
qhuang8 35db118601 Fix minor formatting issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7939 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-24 14:31:16 +00:00
qhuang8 6d28c49754 Add GetVariabe(), GetEfiGlobalVariable() and GetBestLanguage() to UefiLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7936 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-24 14:18:13 +00:00
jji4 e8e519eb79 ISO_639_2_ENTRY_SIZE has been moved to be local.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7900 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-17 07:22:31 +00:00
vanjeff 33b30a1e4a remove some internal definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7881 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-15 13:23:13 +00:00
qhuang8 2c0bbf4392 Fix typos in GCC assembly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7866 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-12 05:29:11 +00:00
qhuang8 808f4a6aed Remove wrong comments in function header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7855 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 14:35:41 +00:00
qhuang8 ff565d71e1 Remove incorrect assertion. According to spec, it should not assert and should return 0.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7853 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 13:58:52 +00:00
lgao4 351d6e7fcc Correct ASSERT to more cases.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7847 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 07:54:41 +00:00
vanjeff 9dca4c66c2 comments update.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7840 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 03:05:14 +00:00
lgao4 247d3676c7 Correct comments for new null instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7832 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-06 09:15:17 +00:00
qhuang8 48f3634eca Rename library instance name from "PeCoffExtraActionLibNull" to "BasePeCoffExtraActionLibNull"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7823 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 15:29:02 +00:00
qhuang8 fd44403047 Add empty line
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7813 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 13:56:10 +00:00
qhuang8 27b2d249d5 Remove PeRemove PeiPeCoffLoader.h and gPeiPeCoffLoaderGuid, and Add PeCoffExtraActionLib class and instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7811 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 09:18:28 +00:00
qhuang8 e886512b5b Add BaseReportStatusCodeLibNull to MdePkg.dsc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7780 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-03 14:09:52 +00:00
qhuang8 2af44cf003 Add #include <Uefi/UefiBaseType.h> for the reference of "EFI_GUID" in the library class
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7779 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-03 14:09:02 +00:00
qhuang8 da0c760e76 Add BaseReportStatusCodeLibNull instance to MdePkg. This library provides empty functions in ReportStatusCodeLib class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7778 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-03 14:06:52 +00:00
qhuang8 4ab52fefd8 Re-organize the PCDs section to reduce the duplication of PCD help text and default value: every PCD token space and token pair has only one entry in DEC file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7766 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 07:38:17 +00:00
xli24 3222ffc044 Fix incorrect function headers for IoLib APIs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7762 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 06:31:55 +00:00
xli24 f5305d5a99 Refine PCI Segment Library to avoid possible intrinsic function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7752 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 05:51:01 +00:00
xli24 053b13f296 Fix the error that part of instructions of AsmWriteIva() is not included into the function body.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7751 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 03:54:47 +00:00
vanjeff a51a9ea364 remove PCI_MAX_SEGMENT from Industry Standard file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7750 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 03:19:37 +00:00
qhuang8 8408411af4 Fix typo in API prototype
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7664 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 02:59:42 +00:00
klu2 a357faa327 Fix build broken.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7651 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 13:07:54 +00:00
qhuang8 a9b896f453 Remove the work-around in DevicePathLib to judge the end of device path node type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7644 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 09:15:47 +00:00
qhuang8 39f35bb558 Fix typo in last check in
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7624 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 01:21:16 +00:00
lgao4 7731944275 Add the missing PI capsule architecture protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7605 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 14:41:41 +00:00
qhuang8 bc4eb4078e Update to fix several ECC warning
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7600 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 07:04:55 +00:00
qhuang8 440ceebd78 Clean up to remove unreferenced data structure
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7599 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 07:04:13 +00:00
klu2 5cfbd05587 1, Use #if defined() to judge the switching macro such as compiler macro.
Original, some code directly judge the value of these macros, but linux ICC compiler will report error as "zero used for undefined preprocessing identifier". So it is better judge whether these macros are defined before accessing their value.
2, Use #if defined() style to replace #ifdef style.
It is good to keep consistent style for this case.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7596 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 05:51:02 +00:00
xli24 fbfa4a1da7 Minor update on capitalization for ECC check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7561 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 02:47:51 +00:00
gikidy 53250de706 Path\filename information added for Protocol/PPI/Guid section in DEC file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7540 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-18 09:00:17 +00:00
qhuang8 e8f3f94ea9 Revert some code that was checked in by mistake
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7539 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-18 05:45:44 +00:00
qhuang8 367573d3d8 Remove extra blank for array
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7538 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-18 05:25:37 +00:00
mdkinney 13f0a970d2 Make type EFI_SAL_STATUS be type INTN instead of type UINTN to match SAL Specification description.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7527 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-15 19:27:10 +00:00
mdkinney 262ffea8ec Update macros to make sure all RETURN_STATUS constants are defined to be of type RETURN_STATUS.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7526 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-14 02:14:37 +00:00
jji4 c00bdbb14a Comments synchronized with library class
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7525 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-13 09:05:43 +00:00
jji4 b677694d2e Comments checked with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7524 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-13 09:03:56 +00:00
jji4 8f0dd97eab Spec checked
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7521 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-13 06:28:15 +00:00
mdkinney 2e121e9aaa Add #defines for commonly used Base Address and Sizes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7497 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-10 19:31:53 +00:00
lgao4 1e42ac79f2 Add MdePkgTokenSpace Guid header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7495 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-10 14:31:57 +00:00
lgao4 9e5acfd583 Change style 0 == Index to Index == 0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7493 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-10 13:17:51 +00:00
xli24 dcbb35eb6c Add comments in DSC files to explain the function and design of components section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7490 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-10 08:58:47 +00:00
qhuang8 f8d8f5473e Remove the workaround in DxeHobLib.inf that it over-specify UefiBootServicesTableLib to generate the correct sequence for library constructor for DuetPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7485 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-09 10:05:54 +00:00
jji4 f0a8eeb2c5 Comments synchronized
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7480 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-09 03:28:44 +00:00
lgao4 1f25dacf8b Clean IpfMacro.i to remove unused Macro.
Sync ReportDebugCodeLib function description to new MdeLib spec.
Update PlatformDriverOverride protocol function description according to UEFI spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7478 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-09 02:08:57 +00:00
mdkinney 9bb407c643 Fix IN OUT specifiers
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7474 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 18:34:23 +00:00
qhuang8 1bfc7438ab Fix ICC build break
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7473 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 09:34:51 +00:00
qhuang8 5fc5555520 Fix ICC build break
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7472 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 09:31:40 +00:00
qhuang8 56c0008b78 Add change log for the non-backward compatibility change in EDK_7467
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7468 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 08:32:12 +00:00
qhuang8 6544297832 Retired macro value TIME_OUT in UefiUsbLib and introduce a new PCD entry PcdUsbTransferTimeoutValue for it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7467 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 08:30:34 +00:00
qhuang8 2f5c655aae De-unicode to pass VS2005 build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7466 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 07:56:53 +00:00
jji4 47c6e0f758 Comments checked with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7464 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 07:26:53 +00:00
jji4 63ba999ccb Comments checked with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7463 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 07:12:56 +00:00
jgong5 f737cfb953 code scrub for UefiPxeBcDxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7452 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 05:07:34 +00:00
qhuang8 18e81d77cf Fix typos in comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7447 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 03:57:01 +00:00
mdkinney 3dc728fb14 Convert macros in the DevicePathLib to functions.
Addresses coding convention issues in the DevicePathLib
Should not cause any compatibility issues with any existing modules.
Adds ASSERT() checks for NULL device path nodes passed into these functions.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7445 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 01:46:55 +00:00
mdkinney 57dd2382b7 Add comment to explain use of the types "int" and "unsigned int" in the implementation of the BasePrintLib which does not follow the source code conventions used for the rest of the EDK II project.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7444 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-05 21:58:48 +00:00
mdkinney 4ab0dff338 1) Remove UEFI specific defines from IndustryStandard/PeImage.h
2) Add UEFI specific defines to Uefi/UefiBaseType.h
3) Update Base PE/COFF related libs to only use defines from IndustryStandard/PeImage.h


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7438 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-05 19:30:05 +00:00
lgao4 1862ebcfff Add Ppi/Guid/Protocol header file path into the comments for user reference.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7437 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-05 09:25:41 +00:00
qhuang8 7c90509158 Minor adjust the logic in BasePrintLib and fix several typos
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7432 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-04 10:59:54 +00:00
jji4 57a31578d3 use the GUIDed versions of events listed in all of our module/lib implementations: EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE and EVT_SIGNAL_EXIT_BOOT_SERVICES
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7418 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 08:50:03 +00:00
qhuang8 841c077074 Fix minor coding style issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7388 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-02 01:56:42 +00:00
qwang12 fc153004ff The PCD library function will do ASSERT if CallBackFunction is NULL according to Mde Library Specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7386 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-01 10:05:38 +00:00
lgao4 29666911f7 Add check when use *Pointer as Sd->mRight[*Pointer] to avoid out of Array bound.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7382 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-01 04:48:29 +00:00
mdkinney 65330ad394 Fix typos
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7379 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-30 01:25:06 +00:00
mdkinney bbc3c2d526 Split out Synchronization Library from Base Library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7378 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-30 00:47:57 +00:00
mdkinney 720d3c5fb3 Split out Synchronization Library from Base Library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7377 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-30 00:45:13 +00:00
lgao4 0ba7fffd25 Add check when use Index as Array [Index] to avoid out of Array bound.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7366 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-24 03:39:02 +00:00
qhuang8 75a3814159 Add ASSERT in case SalSystemTable is NULL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7360 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 09:09:43 +00:00
lgao4 02313d1e79 Remove volatile for local Index, and Use Memory library functions to fix the reference to compiler intrinsic functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7359 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 08:44:26 +00:00
klu2 6a3f4ef96d DuplicateDevicePath() function use wrong comment same as AppendDevicePath() function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7352 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 07:18:19 +00:00
qhuang8 6cf3743ceb Fix typos in Pcd token number
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7351 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 05:09:12 +00:00
lgao4 9872985bb1 Add check when use Index as Array [Index] to avoid out of Array bound.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7348 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-22 15:40:06 +00:00
klu2 bc7e600329 DuplicateDevicePath() function use wrong comment same as AppendDevicePath() function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7345 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-22 08:21:30 +00:00
vanjeff 7efb1d8996 adjust code to remove Klocwork issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7322 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 03:17:15 +00:00
qhuang8 d64ac71565 Add ASSERT in case SalSystemTable is NULL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7306 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-19 08:29:55 +00:00
qhuang8 a2bc29c4b1 Fix a bug that length might be a negative value for worker function BasePrintLibFillBuffer(). In view of this, it is better to reuse for loop to fill the buffer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7300 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-19 05:18:23 +00:00
jgong5 be973ff7f3 added newline after brief summary
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7289 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-16 00:01:10 +00:00
qhuang8 bcccf0b071 Apply BaseMemoryLib to replace the for loop.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7278 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-14 14:11:28 +00:00
vanjeff 03d77031fe 1. add gEfiDebugPortVariableGuid and gEfiDebugPortDevicePathGuid in MdePkg.dec, even though they are the same value with gEfiDebugPortProtocolGuid.
2. Meta data clean up.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7271 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-14 09:37:44 +00:00
jji4 0bb0f0c95d INF extension reviewed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7270 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-14 07:58:44 +00:00
vanjeff ad951a3714 To pass ICC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7268 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-14 07:45:27 +00:00
vanjeff 1553d07363 fixed assumption 32bit Local Apic timer counter.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7266 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-14 03:05:45 +00:00
klu2 4e6a198ccc Add UefiBootServicesTableLib library class reference in HobLib, because if no, the autogen code will generate wrong order for calling library constructor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7263 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 09:51:50 +00:00
klu2 46231010bd Roll back ASSERT which is break DUET boot.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7252 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 06:17:52 +00:00
xli24 63d7211ebc Fix the bug that EntryPoint of DisablePaging64() is corrupted.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7250 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 04:20:22 +00:00
jji4 0f46efecd5 INF extension reviewed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7235 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 07:48:37 +00:00
gikidy 34b0820ec6 INF file verified, and Coding Style reviewed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7232 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 07:23:31 +00:00
jji4 9b488a3992 INF extension reviewed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7223 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 04:03:39 +00:00
jji4 fce9f9bba0 INF extension reviewed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7217 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-08 09:16:45 +00:00
vanjeff a72edceb9a minimum update function header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7212 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-08 08:28:31 +00:00
vanjeff 0a6c0fd563 Update function header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7210 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-08 08:20:28 +00:00
jji4 1727a8c649 INF extension reviewed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7209 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-08 08:07:55 +00:00
jji4 340ffb0920 Memory overflow verified
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7204 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-07 09:49:12 +00:00
gikidy d6039b1d6e Fix memory overflow.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7203 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-07 09:45:18 +00:00
lgao4 9833a9bb6c Add check for Zero Relocation section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7197 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-07 02:02:39 +00:00
qhuang8 884c8bc047 Temporarily remove the assertions and we may find some error handling way to address potential dereference to NULL pointer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7173 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-04 03:38:23 +00:00
gikidy 03bd58dc4b Add some ASSERT()s to avoid NULL reference.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7162 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-31 07:24:49 +00:00
qhuang8 373ade0eb6 Update copyright for files modified in this year
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7148 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-29 14:07:07 +00:00
vanjeff 73e4adbe68 fixed potential NULL pointer reference issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7146 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-29 07:10:16 +00:00
jgong5 0c323d071d code scrub ArpDxe
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7113 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-24 05:26:57 +00:00
vanjeff bcb85cda9d updated some comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7106 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-24 00:11:16 +00:00
jgong5 402fa70fc9 Scrubbed some code for Ip4ConfigDxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7100 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-23 08:23:43 +00:00
qhuang8 407310479c detab
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7089 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-22 12:50:45 +00:00
qhuang8 46d0f8abcd Update to use Dos format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7088 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-22 12:48:25 +00:00
qhuang8 6446db6e74 Update to use Dos format for all .s files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7087 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-22 12:47:53 +00:00
lgao4 9de780dcd6 Update IoLib to add MemoryFence for x86 Mmio function.
Correct IoLibGCC function comments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7082 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-19 05:08:03 +00:00
qhuang8 4e16d2cd28 Add AccessMsrDb.s for MSFT tool chain. It uses raw data to represent instructions "mov msr[]=" and "mov =msr[]", which is only supported by INTEL & GCC tool chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7069 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-17 09:58:39 +00:00
gikidy 6e55477da3 Fix some typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7068 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-17 09:37:01 +00:00
qhuang8 8cc267ebbc Append change log for the retirement of several macros in UefiBaseType.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7058 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 15:41:51 +00:00
qhuang8 f1366d639f Retired the following macros defined in MdePkg/Include/Uefi/UefiBaseType.h:
EFI_SIGNATURE_16, EFI_SIGNATURE_32, EFI_SIGNATURE_64, EFI_FIELD_OFFSET, EFI_MAX_BIT & EFI_MAX_ADDRESS

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7057 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 15:40:29 +00:00
qhuang8 0763673064 Clean up to update the reference of the these macros:
EFI_SIGNATURE_16 -> SIGNATURE_16
  EFI_SIGNATURE_32 -> SIGNATURE_32
  EFI_SIGNATURE_64 -> SIGNATURE_64
  EFI_FIELD_OFFSET -> OFFSET_OF
  EFI_MAX_BIT      -> MAX_BIT
  EFI_MAX_ADDRESS  -> MAX_ADDRESS
These macros are not defined in UEFI spec. It makes more sense to use the equivalent macros in Base.h to avoid alias.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7055 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 15:33:49 +00:00
gikidy 727501bb17 Fix Some typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7041 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 07:01:01 +00:00
qhuang8 80619162e3 Fix typos.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7035 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-15 15:52:14 +00:00
qhuang8 59e0bb0cbd 1. Simplify the implementation of AsmReadApplicationRegister() & AsmReadControlRegister() for IPF architecture.
2. Add AsmReadMsr() & AsmWriteMsr() for IPF architecture
3. update AsmCpuMisc.s to only support GCC tool chain to avoid symbol collision.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7034 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-15 15:51:43 +00:00
ywu21 6a9eeabb65 correct a operation mistake
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7025 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-15 05:20:48 +00:00
jji4 34860f7a06 Code have been checked with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7024 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-15 03:22:57 +00:00
ywu21 ed15fbe226 fix one bug in (EFIAPI *EFI_HII_ACCESS_FORM_CALLBACK)(), it is not aligned with spec
the paramter should be 
  IN  EFI_BROWSER_ACTION                     *Action
instead of 
  IN  EFI_BROWSER_ACTION                      Action

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7022 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-15 01:58:19 +00:00
lgao4 f6d2bcc6fa Update EntryPoint library header
Remove UefiTcgPlatform.h from Uefi Directory to IndustryStandard
Change EFI_OPTIONAL_POINTER to EFI_OPTIONAL_PTR aligned to UEFI spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7014 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-12 08:51:16 +00:00
jji4 4cb616daee IN OUT modifiers corrected
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7011 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-12 06:39:33 +00:00
gikidy 77f863ee03 Fix some typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7007 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-12 05:54:07 +00:00
jji4 fdf108f4c6 No need of PcdLib in this module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7006 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-12 05:42:26 +00:00
klu2 fd16305082 Do *not* use #elif but use seperate #define to make sure all structure can exist in doxygen document.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7005 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-12 05:21:42 +00:00
klu2 5384e3d45b Add incompatible change notes for device path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7000 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-11 10:29:17 +00:00
vanjeff 89df7f9df7 fixed one typo
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6996 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-11 08:35:30 +00:00
lgao4 de2314f85c Apply ReallocatePool API in DxeExtractGuidedSectionLib when the allocated resource is used out. And remove PCD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6994 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-11 07:36:58 +00:00
gikidy 4b8157f93c Modified PeiServicesTablePointerLib.h to match the Spec, and sync the c files with it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6991 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-11 06:29:24 +00:00
gikidy 4ef55dfc76 Synchronize MdePkg/Library *.h files with c files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6985 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-11 05:23:13 +00:00
gikidy efb2311707 Synchronize MdePkg h files to Library/Base* c files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6984 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-11 04:45:23 +00:00
gikidy 2fc60b7038 Synchronize BaseLib h files to c files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6983 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-11 02:59:41 +00:00