Commit Graph

1194 Commits

Author SHA1 Message Date
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
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 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
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
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
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
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
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
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
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
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
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 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
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
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
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
gikidy 2281e7a9c3 Synchronize the h files with c files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6967 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 06:13:43 +00:00
jji4 4c395b6d95 Library classes updated in INF
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6966 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 05:41:22 +00:00
klu2 070a76b193 Synchronize interface function comment from declaration in library class header file to implementation in library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6957 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 03:28:54 +00:00
klu2 518db1d9e0 Synchronize interface function comment from declaration in library class header file to implementation in library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6952 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 03:14:49 +00:00
klu2 f38fdc7498 Synchronize interface function comment from declaration in library class header file to implementation in library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6951 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 03:10:07 +00:00
klu2 0c3437e043 Synchronize interface function comment from declaration in library class header file to implementation in library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6949 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 03:04:00 +00:00
klu2 80f0c0c44f Synchronize function comments from library class to library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6938 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 01:39:34 +00:00
gikidy 2fe241a290 Synchronize comment of BaseLib.h and it's implementation to match the Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6929 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-09 07:02:26 +00:00
eric_tian 555b51bc9a change library class name to PciSegmentLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6920 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-08 08:22:04 +00:00
jji4 cc8dade5eb Comments have been checked with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6915 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-08 04:41:56 +00:00
mdkinney daa6553a39 Use BIT8-1 insetad of UINT8_MAX
Fix a typo in a comment


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6910 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-07 23:59:51 +00:00
gikidy 62991af27f Make comments match the Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6876 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 09:50:02 +00:00
jji4 2297186d22 Comments have been checked with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6873 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 09:25:16 +00:00
jji4 5720947029 Comments have been checked with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6868 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 08:21:57 +00:00
gikidy d11195a3ea Update the comment for RegisterForRunimeAccess() functions to match the Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6862 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 07:07:50 +00:00
qhuang8 030cd1a2e9 Update the text to use "x64" instead of "X64" in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6854 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 03:23:13 +00:00
lgao4 7ca066f99b Remove todo comment in BaseLib.h
Update DxeServicesLib return status align to MdeLib spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6849 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 14:00:52 +00:00
jji4 9ccbe812c5 Function comments have been checked with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6840 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 07:15:13 +00:00
gikidy cc39b88baa Change function IpfFlushCacheRange() to AsmFlushCacheRange() follow the Mde_Lib_Spec 0.61k
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6834 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 06:52:09 +00:00
gikidy 0465a73e02 Follow the Mde_Lib_Spec to fix the function PeCoffLoaderUnloadImage() IN/OUT issue about definition and implementation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6825 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 02:03:14 +00:00
qhuang8 b52f6a1ad8 Add CONST modifier for "Buffer" parameter in LibPcdSetPtr()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6823 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 15:38:24 +00:00
qhuang8 be5f161485 Add AsmEnableCache() and AsmDisableCache() as the IA32 & x64 specific BaseLib API.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6807 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 02:19:49 +00:00
qhuang8 c8cc44c4b2 Remove several over-specific issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6796 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 14:40:23 +00:00
qhuang8 cd2ed84a47 De-Unicode in MdePkg source files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6794 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 14:06:25 +00:00
qhuang8 2d8a3c1354 Update the API of UsbGetInterface() & UsbGetConfiguration () to follow MdeLib spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6792 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 13:51:41 +00:00
qhuang8 16f476fbb8 Remove ProcessLibraryDestructorList() from the library class of DxeCoreEntryPointLib. This API is not in MdeLib spec and DxeCore does not use it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6791 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 13:50:11 +00:00
qhuang8 0057fda613 Refine MdePkg library instances: Remove unnecessary EFIAPI modifier for library worker functions, fix some typos, etc
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6790 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 13:46:34 +00:00
xli24 b17f9e9526 Update PalCallLib to PalLib in BasePalLibNull.inf.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6789 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 07:39:11 +00:00
klu2 891193ee4f Fix the issue that wrong doxygen header comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6788 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 07:34:29 +00:00
lgao4 ac7e320cb8 Remove NibbleToHexChar() function from BaseLib
Move IsHexDigit, BufToHexString, HexStringToBuf from BaseLib to MdeModulePkg IfrSupportLib. The reason is:
1) IsHexDigit function provides the logic to check Hex Digit and convert it to Decimal value, which is required by IScsi LUN and HII user input. But this logic is not provided by any functions in MdeLib. So, it can't be deleted. It is moved to IfrSupportLib.
2) BufToHexString function converts a array of buffers to hex string. If the buffer length is less than sizeof (UINT64), it can be directly replaced by UnicodeValueToString(). But HII modules may use BufToHexString to convert the buffers whose length > sizeof (UINT64). For example:
.\MdeModulePkg\Universal\HiiDatabaseDxe\ConfigRouting.c line 201, 1148
.\Universal\SetupBrowserDxe\Setup.c line line 1457, 1503
Like this case, it is not easy to use UnicodeValueToString to replace BufToHexString. So, BufToHexString is still kept. Because such usages are in HII modules, this function is moved to IfrSupportLib. 
3) HexStringToBuf is moved to IfrSupportLib. The reason is similar to BufToHexString.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6782 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 02:32:12 +00:00
qhuang8 34ffd1bbb5 Refine the comments in PciSegmentLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6773 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-28 06:14:55 +00:00
jji4 d5979dc030 Function headers in .h and .c files synchronized with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6770 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-28 02:18:02 +00:00
qhuang8 657073df4f Add several missing assertions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6766 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 13:31:05 +00:00
qhuang8 008dfe313e Fix the parameter typo, it should confirm to UEFI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6765 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 13:22:23 +00:00
qhuang8 286f1bd2a9 Remove GetCurrentLanguage () from UefiLib in MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6759 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 07:44:08 +00:00
qhuang8 aad6137d5c 1. Removal PalCallStatic API
2. Two two new ReadApplicationRegister.c(), ReadControlRegister.c() API together with its related definitions in BaseLib.h
3. Remove prototype of AsmSwitchStackAndBackingStore() in public BaseLib.h, it is supposed to be a worker function for AsmSwitchStack()

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6757 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 06:48:03 +00:00
qhuang8 8f446d021f Add the AND of all architectural protocols for UEFI drivers. Build tool will optimize for size if the UEFI drivers only depends on these architecture protocol. Otherwise the final dependency will be AND APs AND extra dependency inherited from [depex] sections of library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6756 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 06:44:33 +00:00
qhuang8 5673300427 Fix constructor/destructor issue for DXE_RUNTIM_DRIVER library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6741 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 00:42:04 +00:00
gikidy 9638ba6d3f Synchronize function comment in h file
with  c file instance of  this functions in MdePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6732 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 06:57:44 +00:00
jji4 122e219151 Function headers in .h and .c files synchronized with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6731 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 06:38:05 +00:00
qhuang8 fc0c5b3a99 Add SEC as supported module types to follow MdeLib spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6730 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 04:52:59 +00:00
qhuang8 3d73239a43 Remove the EBC architecture support.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6729 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 04:40:50 +00:00
jji4 718715141a Function headers in .h and .c files synchronized with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6728 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 04:36:05 +00:00
gikidy 3e5c323866 Synchronize function comment in
MdePkg\Library\CpuLib.h, DebugLib.h,DevicePathLib.h, DxeServicesLib.h, DxeServicesTableLib.h, ExtractGuidedSectionLib.h, HobLib.h
with the c file instance of  this functions in MdePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6727 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 03:26:37 +00:00
qhuang8 003c1db883 Remove checking for overflow in several Multiple functions in BaseLib, for it is not feasible to check in C code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6726 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 01:41:49 +00:00
jji4 66770ccb0d Function headers in .h and .c files synchronized with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6723 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 08:38:41 +00:00
jji4 cf8ae2f6fe Function headers in .h and .c files synchronized with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6722 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 07:38:54 +00:00
gikidy eb1c78dbb9 Synchronize function comment in MdePkg\Library\BaseMemoryLib.h,CacheMaintenanceLib.h with the c file instance of this functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6721 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 07:25:14 +00:00
lgao4 65da001c9e Add PI_SPECIFICATION_VERSION = 0x00010000 for the following library instances, because they depend on the new definitions in PI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6719 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 04:53:13 +00:00
gikidy 9aa049d971 Synchronize function comment in MdePkg\Library\BaseLib.h with the instance of this functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6718 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 03:19:49 +00:00
qhuang8 04fdba5412 Fix minor issues in GCC assembly. The operand is 64bit and "q" prefix should be applied.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6717 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 02:49:23 +00:00
lgao4 dc8577f275 Clean up the unused EDK_RELEASE_VERSION, PI_SPECIFICATION_VERSION and EFI_SPECIFICATION_VERSION from all the MdePkg INF files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6716 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 02:36:57 +00:00
qhuang8 43fe5cdc70 Fix ICC warnings
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6714 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 00:45:35 +00:00
qhuang8 e73bf9f394 Use ".486" for the instruction of "wbinvd"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6713 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 00:05:41 +00:00
jji4 6089ba6250 Function headers checked with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6710 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 09:15:55 +00:00
mdkinney 93b5b853fa Add runtime safe PCI Express Library instance
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6709 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 08:36:02 +00:00
mdkinney 3e3ae63457 Add runtime registration function to all PCI Libs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6708 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 08:34:06 +00:00
mdkinney 0a559bb9b2 Add reallocation functions to the UEFI Memory Allocation Library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6707 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 08:32:29 +00:00
mdkinney 3b6a71fcd4 Add reallocate functions to the PEI Memory Allocation Library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6706 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 08:31:51 +00:00
mdkinney 9f4f2f0e15 Add EnableCache() and DisableCache() implementations for IA32 and X64 to the BaseLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6705 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 08:30:58 +00:00
jji4 c3363c9235 Code scrub with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6699 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 07:18:15 +00:00
klu2 98ea597bfb Should use uppercase character for return value's comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6698 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 07:10:51 +00:00
xli24 9504e2cdd3 Rename DxePciLibPciRootBridgeIo to UefiPciLibPciRootBridgeIo.
Rename DxePciSegmentLibPciRootBridgeIo to UefiPciSegmentLibPciRootBridgeIo.
Update MODULE_TYPE and BASE_NAME accordingly.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6697 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 06:49:15 +00:00
xli24 6f6ae61dc6 RenameRename DxePciLibPciRootBridgeIo to UefiPciLibPciRootBridgeIo.
Rename DxePciSegmentLibPciRootBridgeIo to UefiPciSegmentLibPciRootBridgeIo.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6696 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 06:47:15 +00:00
klu2 3745e1a61e Synchronize comments with .h and .c file. Even format differences will lead doxygen think they are different comment and generate two copy comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6694 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 06:42:12 +00:00
xli24 e43e4b3e8c Refine new library instances according to review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6692 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 05:55:41 +00:00
xli24 978baf50be Update supported module type of PeiPalLib according to the latest MDE library spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6690 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 03:05:43 +00:00
mdkinney c23904319f Add ReallocatePool(), ReallocateRuntimePool(), and ReallocateReservedPool() to BaseMemoryLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6679 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-22 00:54:04 +00:00
jji4 91fd9c9b83 Code and comments have been checked with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6669 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 09:31:31 +00:00
gikidy 64735d2414 synchronize the MdePkg/Include/Library/PcdLib.h and the MDE_Library_Spec.Add the commit for Macro in the PcdLib.h reference to the Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6664 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 07:07:12 +00:00
jji4 e934a7413b Function comments have been checked with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6663 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 07:03:12 +00:00
gikidy 8789c5e05f synchronize the MdePkg/Include/Library/MemoryAllocationLib.h,PalLib.h the MDE_Library_Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6660 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 06:34:54 +00:00
jji4 8404146cfa Function comments have been checked with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6655 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 03:07:28 +00:00
jji4 58125b7a64 Function headers and comments have been checked with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6653 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 02:57:57 +00:00
jji4 6d6a1098d9 Function headers and comments have been checked with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6651 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 02:03:33 +00:00
jji4 1d37ab9fb9 Code and comments have been checked with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6650 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-20 08:55:42 +00:00
vanjeff b31547205f 1.Removed PrintXY from Graphics Library.
2.Added PrintXY and AsciiPrintXY in Uefi Library
3.Moved PcdUgaConsumeSupport from MdeModulePkg to MdePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6642 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-20 03:08:28 +00:00
qhuang8 6f890d5b40 Detab
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6639 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 15:22:53 +00:00
qwang12 285010e7dc Update doxygen comment for VarArg list parameter. "..."'s description is added.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6623 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 03:29:46 +00:00
jji4 f1db45f81a Code Scrub: Code has been checked with MDE spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6606 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 11:33:48 +00:00
qhuang8 563353b71f Fix GCC build break.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6569 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 03:32:46 +00:00
jji4 d5954c618f Code Scrub:
The code of MdePkg\Library\UefiScsiLib\ and MdePkg\Library\UefiUsbLib has been checked and modified according to MDE_Library_Spec_0.61h-4.doc.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6561 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-17 11:24:14 +00:00
lgao4 b75a165ded Update function header align to Mde Lib spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6557 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-17 04:39:25 +00:00
xli24 08a458be1d Files of PeiPalLib uses the wrong license information in the file header. Update them.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6546 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-14 07:58:59 +00:00
qhuang8 ca2a999d4e Remove UefiHiiLib & UefiIfrSupportLib. They have been moved to MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6518 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 09:07:30 +00:00
qhuang8 d68a10d021 Update for the library class renaming: UsbLib -> UefiUsbLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6516 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 09:05:12 +00:00
qhuang8 172ea7c7ca Update for the library class renaming: ScsiLib -> UefiScsiLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6515 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 09:04:51 +00:00
qhuang8 4d52c1f33c Use PalLib instead of PalCallLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6514 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 09:03:20 +00:00
qhuang8 dc49f4ed7d Use PalLib instead of PalCallLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6513 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 09:02:55 +00:00
qhuang8 fa73b3be91 Use PalLib instead of PalCallLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6512 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 09:02:32 +00:00
qhuang8 ff1f2270f2 Retired PeiPiLib, all its API has been merged to PeiServicesLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6511 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 09:01:48 +00:00
qhuang8 729675ae63 Add PeiServicesInstallFvInfoPpi(). It is formerly PiLibInstallFvInfoPpi() in PeiPiLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6510 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 08:59:25 +00:00
qhuang8 eb9dd4d058 Rename DxePiLib to DxeServicesLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6509 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 08:54:56 +00:00
qhuang8 9f8741247e Remove BasePalCallLibNull
It is replaced by BasePalLibNull

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6508 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 08:53:45 +00:00
qhuang8 4c24c4eeb4 Add BasePalLibNull
It originates from BasePalCallLibNull

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6507 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 08:52:29 +00:00
qhuang8 5a92a63603 Use PalLib instead of PalCallLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6506 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 08:44:34 +00:00
lgao4 484c77852e Update minor comments for Smbus, PcdLib, PeiServicesLib library instance. And change UefiRuntimeLib instance type to UEFI_DRIVER according to MdeLib spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6495 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 08:30:16 +00:00
klu2 e5dab01618 1, Move device path utility macros from protocol's header file to DevicePathLib library classes
2, Remove Unpack type

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6455 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-11 15:39:02 +00:00
xli24 1a3eaf06d5 Add following library instances to MDE package:
1. DxePciLibPciRootBridgeIo
2. DxePciSegmentLibPciRootBridgeIo
3. PeiPciLibPciCfg2
4. PeiPciSegmentLibPciCfg2
5. UefiPalLib
6. UefiSalLib 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6451 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-11 08:33:02 +00:00
qhuang8 85cd6cd717 Add gEfiDriverConfigurationProtocolGuid GUID C Name in INF.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6423 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-07 06:30:22 +00:00
qhuang8 3a6779fa22 Update the implementation of EfiLibInstallAllDriverBinding2().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6419 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-07 06:23:56 +00:00
qhuang8 f5b2c45bf3 Add IA32, x64 & EBC version of EfiConvertFunctionPointer()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6416 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-06 13:56:29 +00:00
qwang12 1b37333d61 Add two EFI Modifier.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6388 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-05 04:58:29 +00:00
qwang12 9185c388a9 Sync in bug fix from EDK I:
1) issue with setup browser and IFR refresh opcode
2) [HII]HIIConfigRoutingExportConfig generate error format of <MultiConfigAltResp>
3) [HII] ConfigRouting->ExtractConfig() will cause overflow
4) [Hii Database] EFI_HII_DATABASE_NOTIFY should be invoked when a string package is created internally when a new String Token is created
5) [PT]HIIConfigAccessProtocolTest fail on NT32uefi
6) Incorrect HII package types in EDK

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6377 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-04 14:22:22 +00:00
qhuang8 a1fc19db9f Use #include "XXX.h" for module internal header files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6361 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-03 09:25:29 +00:00
qhuang8 b1ff428c96 Update to use DOS format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6360 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-03 09:25:10 +00:00
qwang12 86026b9dff Fix a typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6356 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 08:19:34 +00:00
qwang12 410835874a Add in the OPTIONAL modifier.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6355 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 08:07:11 +00:00
qwang12 e4508cd832 Fix a prototype bug.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6354 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 07:59:47 +00:00
qwang12 c1b1d7a022 Fix a prototype bug.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6353 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 07:58:50 +00:00
qwang12 33de5999a7 Fix the doxygen comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6350 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 07:22:44 +00:00
qhuang8 6c40137733 Use #include "XXX.h" for module internal header files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6332 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:33:37 +00:00
qhuang8 b687d19184 Use #include <XXX.h> for public include files.
Remove commented code.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6331 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:33:14 +00:00
qhuang8 47fc17d8a9 Use #include "XXX.h" for module internal header files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6330 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 04:32:02 +00:00
qhuang8 e82e1acc55 Update to use DOS format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6320 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 03:44:07 +00:00
qhuang8 32ed92de95 Update to use DOS format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6319 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 03:42:31 +00:00
qhuang8 4754c98b06 Update to use DOS format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6318 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 03:39:53 +00:00
qhuang8 95f484c920 Update to use DOS format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6317 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 03:38:21 +00:00
qwang12 bb1d8ee669 Remove SafeFreePool from MemoryAllocationLib as this API's name is misleading. Its implementation only check if a pointer is NULL. If a garbage pointer is passed in, the gBS->FreePool will still ASSERT in debug build and return error code.
It is recommended that module writer should keep track how a pointer is allocated and free it after use.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6305 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 07:31:31 +00:00
qwang12 34abfd7cf8 Rename the global variable to avoid possible symbol conflict.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6304 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 07:02:14 +00:00
qwang12 58228071ab Rename the global variable to avoid possible symbol conflict.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6303 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 06:59:04 +00:00
jji4 fe467413d2 Patch to remove STATIC modifier. This is on longer recommended by EFI Framework coding style. All duplicated symbols has been renamed accordingly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6295 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 05:58:52 +00:00
klu2 5da37ddae3 Adjust assembler's comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6288 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 01:23:36 +00:00
xli24 a7e883d867 Move FvbServiceLib, GraphicsLib, and DxePalLib from MDE package due to package dependency issue, and update all DSC files accordingly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6286 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-29 09:36:06 +00:00
eric_tian e34ecc8a1e Remove unnessary UEFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION in INF file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6281 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-29 03:17:21 +00:00
xli24 2faf4da5f7 Refine comments of X64 assembly files of MDE BaseLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6277 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 14:23:36 +00:00
vanjeff 57246fe073 sync comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6274 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 09:51:44 +00:00
xli24 85ea851e6a Refine file header for INF files of MDE library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6273 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 09:45:52 +00:00
eric_tian 0308e20dc6 1. build.py's changes : include XXXEntryPointLib.h into the corresponding autogen.c files of various modules to avoid the inconsistence between the interface definition of library class and the implementation of autogen.c
2. code base changes : modify some interface definitions to follow the lastest Mde Library Spec.
3. PeiCore changes : remove the return value of PeiCore() which is meaningless as PeiCore will never reach the end of procedure.replace it with VOID.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6271 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 09:07:50 +00:00
vanjeff ad6d2a4ae6 adjust file list order in dsc file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6268 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 07:45:15 +00:00
vanjeff 078bee4ebf clean up EBC in inf files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6267 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 07:17:17 +00:00
klu2 9a833c8121 Add missing protocol header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6265 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 06:27:08 +00:00
qhuang8 1875720816 Add back gEfiFormBrowser2ProtocolGuid & gEfiFormBrowser2ProtocolGuid as they were actually used by LocateFormBrowser2Protocols() in this library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6264 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 06:16:15 +00:00
xli24 55256f511d Update supported module type of MDE library instances according to MDE library spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6261 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 05:27:08 +00:00
klu2 464cf9884f Remove over specify protocol/ppi/guid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6260 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 03:42:12 +00:00
vanjeff bb40027d7c move Ia32DivS64x64Remainder.c to Ia32/DivS64x64Remainder.c.
remove #ifdef _MS_EXTENTION_, since those files has been assigned to MS compiler in INF file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6259 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 03:19:37 +00:00
vanjeff aa5f2556fb Copied remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6258 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 03:16:59 +00:00
qwang12 01f6d467de Move global variable to the top of C file for consistent coding style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6256 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 00:59:17 +00:00
mdkinney c17f446756 Rename Print() to VPrintXY() to eliminate symbol collision with the Print function in the UefiLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6248 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 02:33:17 +00:00
xli24 677472aae4 1. Rename following library instances according to MDE Library Spec:
1) SerialPortLibNull => BaseSerialPortLibNull
2) DxeMemoryLib => UefiMemoryLib
3) DxeMemoryAllocationLib => UefiMemoryAllocationLib
4) CpuLib => BaseCpuLib
5) HiiLib => UefiHiiLib
6) IfrSupportLib => UefiIfrSupportLib
7) PeiPalCallLib => PeiPalLib

2. Add library instances to MDE package
1) DxePalLib
2) FvbServiceLib
3) GraphicsLib


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6221 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-25 16:03:02 +00:00
xli24 7e43ed89b2 Refine code for ECC check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6217 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 08:18:36 +00:00
xli24 14f268ba2a Revert CpuId and CpuIdEx to r6213.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6216 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 07:39:52 +00:00
xli24 610204a84c Sync function prototype of CpuId and CpuIdEx with MDE library specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6215 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 07:05:21 +00:00
klu2 1fa524e97d Fix ECC issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6214 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 06:51:40 +00:00
vanjeff 44b013bd6e ECC Cleanup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6213 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 06:06:42 +00:00
vanjeff 572b6b1acb rename filename to match the actual ones.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6212 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 05:51:07 +00:00
vanjeff 83c20be1a4 Renamed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6211 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 05:41:25 +00:00
vanjeff efe146fcb8 Renamed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6210 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 05:41:01 +00:00
vanjeff 719d0c91d8 Renamed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6209 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 05:40:31 +00:00
vanjeff 248a4d9787 Renamed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6208 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 05:39:59 +00:00
vanjeff 7612cbf0f8 ECC Clean up.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6207 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 05:37:02 +00:00
eric_tian 2f3d6fb515 synchronize asm and s file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6204 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 02:50:40 +00:00
eric_tian 2fb8d3e2df Fix .S assembler building issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6203 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 02:21:54 +00:00
klu2 4d9ff8bee4 Add .S source file to INF
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6202 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 01:57:37 +00:00
klu2 1dc58db39b Add S assembler file for BaseMemoryLibOptDxe driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6201 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 01:49:11 +00:00
klu2 bf131e739a Add linux assembler code for BaseMemoryLibOptPei library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6200 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 01:24:31 +00:00
xli24 76d9959482 Update EBC sub-dir of BaseLib according to code review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6198 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-23 07:17:18 +00:00
xli24 c2049caa25 Update GCC assembly files for MdePkg/Library/BaseLib/X64
1. Fix bugs in assembly instructions
2. Change module names in comments from .asm to .S


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6196 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-23 07:02:59 +00:00
eric_tian 852f5d9673 unify the name convention of label in .S files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6195 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-23 06:46:29 +00:00
xli24 1f86b07d91 Update GCC assembly files for MdePkg/Library/BaseLib/Ia32
1. Fix bugs in assembly instructions
2. Change module names in comments from .asm to .S


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6193 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-23 06:20:02 +00:00
eric_tian a8f1dcd7b7 modify CopyMem.S to align with CopyMem.asm
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6191 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-23 05:17:35 +00:00
klu2 e87c057a53 Add description for NULL return value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6189 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-22 15:32:13 +00:00
eric_tian 4df876adfb add corresponding .S files for BaseMemoryLibXXX X64 arch. Note that we use ".intel_syntax noprefix" directive to simplify the .S implementation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6184 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-22 08:36:39 +00:00
vanjeff 710a5b3584 1.removed DivS64x64Remainder.c since it has been moved to upper directory.
2.removed blank lines from DivU64x32Remainder.c

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6183 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-22 08:14:35 +00:00
klu2 5ad97f352b Adjust doxygen comment style for structure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6181 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 18:58:59 +00:00
qhuang8 5d7ceba357 Fix typo to pass build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6171 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 13:33:38 +00:00
qwang12 8161369252 Update some comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6170 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 08:23:13 +00:00
qwang12 0827d304f6 Update comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6168 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 06:55:38 +00:00
eric_tian d531bfee01 CodeReview for MdePkg/BaseMemoryXXX libraries. Refine file description, function comments and move some redundant logic.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6167 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 06:52:21 +00:00
qwang12 a86fda431e 1) Update SetPeiServicesTablePointer's prototype add CONST modifier.
2) Move STRING_REF from MdePkg/Include/Uefi/UefiBaseType.h to IntelFramework/Include/Protocol/FrameworkHii.h.
3) Move RELOFST from MdePkg/Include/Uefi/UefiInternalFormRepresentation.h to IntelFramework/Include/Protocol/FrameworkHii.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6165 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 05:52:19 +00:00
qwang12 bdf0fc407c deleted an empty space.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6159 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 01:08:12 +00:00
xli24 dfc5aca1ac Move definition of EFI_SCSI_TARGET_MAX_BYTES from IndustryStandard in MDE Package to UefiScsiLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6158 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 15:34:16 +00:00
klu2 ee256e2c4d Fix ECC issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6154 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 14:27:06 +00:00
xli24 955c32f2f0 Change style of (CONSTANT == Var) to (Var == CONSTANT) for BaseLib/String.c.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6153 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 14:24:36 +00:00
klu2 6c448d5b6f Fix ECC issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6150 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 14:15:55 +00:00
klu2 dd65208878 Fix ECC issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6149 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 14:12:50 +00:00
klu2 47501b697f Fix ECC issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6148 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 14:05:39 +00:00
klu2 faf46b4071 Fix ECC issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6147 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 14:01:43 +00:00
klu2 f81656f74d Fix ECC issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6146 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 14:00:00 +00:00
klu2 6f5988df3f Fix ECC issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6145 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 13:56:32 +00:00
klu2 f7748accf9 Fix ECC issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6144 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 13:55:26 +00:00
klu2 1cf0d9d647 Fix ECC issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6143 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 13:51:42 +00:00
vanjeff 6767917b10 removed blank lines to refine source codes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6135 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 08:48:16 +00:00
eric_tian 2884e3dfd7 add miss EFI_API modifier prior to GetPeiServicesTablePointer
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6134 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 08:39:02 +00:00
qwang12 d53b79dd22 Remove the library constructor as it is unnecessary because KR7 is a system global resource.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6133 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 02:32:44 +00:00
qwang12 5240b97c9c Base on PI spec, GetPeiServicesTablePointer is updated to return CONST EFI_PEI_SERVICES**. This is a incompatible changes. All file that reference this must be updated.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6126 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-17 08:41:06 +00:00
qwang12 076a01da02 Update the comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6124 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-17 04:09:00 +00:00
klu2 18d2d5ab9e Remove over specific usage for library class
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6117 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-15 07:18:19 +00:00
lgao4 71f36e0f75 Minor update for PlatOverMngr driver, VariableFormat.h and DxePcdLib.c.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6114 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-15 04:20:44 +00:00
lgao4 5f300691d0 Correct two minor comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6109 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-14 06:34:31 +00:00
xli24 aa0583c783 Modify MDE source code according to MDE library update.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6103 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-11 12:32:19 +00:00
klu2 e500088c2d Update library class and library instance description for UefiLib to follows specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6102 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-10 08:06:02 +00:00
klu2 2d8debe710 synchronize macros SMBUS_LIB_SLAVE_ADDRESS, SMBUS_LIB_COMMAND, SMBUS_LIB_LENGTH, SMBUS_LIB_PEC, SMBUS_LIB_RESERVED with latest MdePkg specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6101 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-10 08:00:29 +00:00
lgao4 3ecdcd1146 Update HobLib and PeCoffLib according to MDE Lib Spec 0.61c
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6100 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-10 06:20:50 +00:00
eric_tian 07974e784a sync SerialPortLib.h with mde library spec0.61d-8.doc on webtop.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6089 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-09 10:11:48 +00:00
lgao4 fc4db9b2f5 Remove the unused header files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6088 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-09 02:07:09 +00:00
lgao4 3909993808 Remove the package header files PiDxe.h/PiPei.h/Uefi.h included by Protocol/Ppi/Guid header file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6087 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-09 01:12:34 +00:00
eric_tian 956a6dca23 add proper modifers preceding to function arguments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6082 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-07 09:29:24 +00:00
eric_tian b91d5eca6c sync the comments of scsilib library class with Mde Library Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6081 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-07 09:23:48 +00:00
eric_tian d69107aadc sync the comments of serialportlib library class with Mde Library Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6080 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-07 09:01:12 +00:00
klu2 5a54c2faf7 Correct file comment for DxeServicesTableLib.c
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6071 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-29 08:09:56 +00:00
klu2 f468abda65 Correct file comment for DxeServicesTableLib.c
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6070 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-29 08:07:34 +00:00
klu2 9cd1d1c1d5 Use macro instead of hard code value for timer register address in local APIC
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6065 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-28 07:30:16 +00:00
vanjeff 71bd74cbf2 Changing source filename to match name changing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6050 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:49:50 +00:00
vanjeff 687990dd26 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6027 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:21:58 +00:00
qwang12 f4e8509b62 1) Move RFC_3066_ENTRY_SIZE and ISO_639_2_ENTRY_SIZE to UefiBaseType.h.
2) Rename BufToHexString to BufInReverseOrderToHexString 
3) Rename HexStringToBuf to HexStringToBufInReverseOrder
4) Update function comments in HiiLib.h and IfrSupportLib.h.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5989 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-26 06:20:19 +00:00
vanjeff e389c39b7b Clean up code according to code review.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5986 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-25 04:56:53 +00:00
vanjeff 30ab8a1296 rename filename to match actual ones.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5985 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-25 03:24:17 +00:00
vanjeff e94cb41ac4 Rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5984 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-25 03:16:01 +00:00
vanjeff 73269bfb71 Rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5983 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-25 03:15:26 +00:00
vanjeff 9b2ea1b84f Rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5982 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-25 03:14:50 +00:00
vanjeff a0bdf7588a Change name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5981 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-25 03:13:50 +00:00
vanjeff b26978d3dd 1. Changing filename to match actual ones.
2. add MSFT and ICC family flag for Thunk16.asm and EnablePaging64.asm.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5980 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-25 02:41:00 +00:00
vanjeff a8097e0c4f Change name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5979 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-25 02:30:14 +00:00
vanjeff 9ff60f4043 Change name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5978 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-25 02:29:53 +00:00
vanjeff d914e15e11 Change name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5977 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-25 02:29:34 +00:00
vanjeff 76c844dd9a Change name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5976 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-25 02:29:15 +00:00
vanjeff 0d0afe60c1 Change name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5975 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-25 02:28:53 +00:00
vanjeff 3b849a8628 Change name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5974 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-25 02:28:31 +00:00
vanjeff 13e4e2aee7 Change name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5973 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-25 02:28:09 +00:00
vanjeff 8062bfcd7f Change name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5972 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-25 02:27:50 +00:00
vanjeff 5e7828f0f6 Change name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5971 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-25 02:27:28 +00:00
vanjeff 9d4c3e8c7c Change name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5970 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-25 02:25:24 +00:00
vanjeff b0cb767e89 Change name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5969 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-25 02:25:04 +00:00
vanjeff 90b31bc8e6 Change name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5968 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-25 02:24:43 +00:00
vanjeff 583828c1a0 Change name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5967 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-25 02:24:20 +00:00
vanjeff 3c6a5186ae Change name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5966 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-25 02:23:58 +00:00
vanjeff 8cefc2ee70 Clean up code according to code review.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5965 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-25 02:14:25 +00:00
qwang12 c4a00638d8 Update function comments HiiLibListPackageLists
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5961 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-24 12:38:21 +00:00
vanjeff 28ca72bc97 Changing unsigned int into UINTN according to code review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5960 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-24 08:31:38 +00:00
vanjeff 5385a57969 clean up baselib according to review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5958 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-24 05:30:40 +00:00
xli24 24dcb5e50a Update BaseLib according to code review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5956 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-24 04:17:16 +00:00
klu2 7f1eba7b99 Cleanup "Tiano" word.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5942 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-22 05:22:41 +00:00
klu2 e20a8c69b1 Code clean up
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5941 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-22 02:48:13 +00:00
qwang12 f8d18bada5 HiiLibGetCurrentLanguage returns the current UEFI variable "PlatformLang" (if this variable does not exist, a default value is returned). This function is called by HiiDatabase itself. Now, HiiLibGetCurrentLanguage is in HiiLib. Because of this, we can't add location of Hii protoocol in the library constructor of HiiLib. This cause Hii Database driver never get loaded (circular dependency).
By moving HiiLibGetCurrentLanguage to UefiLib, library constructor (depex) can be added back to HiiLib to make sure the execution order is correct.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5938 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-21 08:50:52 +00:00
lgao4 2a5f2a5036 Update these library instances module type to UEFI_DIRVER, because they only depends on UEFI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5931 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-19 06:22:44 +00:00
lgao4 c481196831 Update Library description for BaseMemoryLibOptDxe and BaseMemoryLibOptPei.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5929 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-19 04:38:53 +00:00
lgao4 2bfb60098f 1. Change 0 == Length style to Length == 0
2. Clean BasePeCoff library instance, only keep one copy PeCoffLoaderEx.c file for IA32, X64 and IPF arch
3. Clean the confused comments

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5927 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-18 14:27:39 +00:00
vanjeff 1efcc4ae46 remove unnecessary comments introduced by tools from MdePkg. The regular express is "//^p//[ ]Include[ ]common[ ]header[ ]file[ ]for[ ]this[ ]module[.]^p//"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5911 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-17 07:46:17 +00:00
klu2 8335866b0b Correct module type for library UefiBootServicesTableLib and UefiRuntimeServicesTableLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5895 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-16 06:44:15 +00:00
eric_tian f944ec32e7 follow up code review
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5894 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-16 06:13:42 +00:00
eric_tian f73e0ad215 follow up code review
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5893 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-16 06:01:21 +00:00
eric_tian 55f298c3a3 follow up the comments from code review.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5892 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-16 05:22:09 +00:00
klu2 9edc73ada4 Code clean up.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5890 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-16 02:12:35 +00:00
vanjeff 835849540d remove '../' from Base Library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5878 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-11 09:12:14 +00:00
vanjeff 3ec9bc1557 move and rename it
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5877 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-11 09:08:12 +00:00
vanjeff 5dedabbb4e Clean up BaseIoLibIntrinsic according to review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5876 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-11 08:59:52 +00:00
eric_tian c57da111f7 cleanup some comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5864 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-09 07:11:51 +00:00
eric_tian 1106ffe1c0 Function description in baselib.h is not clear. change it to comply with Doxgen format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5862 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-09 06:22:30 +00:00
vanjeff 2b1532df6d changed the format when use "=="
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5859 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-09 05:28:47 +00:00
klu2 4efb2b4d92 Fix the wrong fixing for hardcore value 7.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5857 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-09 05:19:30 +00:00
klu2 f008fc323b Code cleanup for library instances in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5856 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-09 04:41:59 +00:00
qhuang8 a4c47ba324 Add missing gEfiFirmwareFileSystem2Guid in INF [Guids] section
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5849 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 23:25:14 +00:00
qwang12 23a2150bcf 1) Add CONST to the pointer type input parameter.
2) Use global variable and AllocateCopyPool to save the size of generated binary.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5847 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 12:53:50 +00:00
klu2 6cff95cd69 use UnicodeVSPrintAsciiFormat, UnicodeSPrintAsciiFormat to simplify code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5844 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 09:08:26 +00:00
klu2 7c6d32a564 use UnicodeVSPrintAsciiFormat, UnicodeSPrintAsciiFormat to simplify code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5843 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 09:08:04 +00:00
klu2 7c366ec9ca wrong comment for "Unicode" string.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5842 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 08:35:54 +00:00
klu2 2cb3369a49 remove unused library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5841 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 08:26:45 +00:00
klu2 802b8312a2 remove unused include file for library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5840 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 08:23:28 +00:00
lgao4 52cd71dca9 Update UefiScsiLib to add ASSERT comments and define new macros to replace the hard code value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5838 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 05:56:40 +00:00
lgao4 11ceade4ba Add Usb Hid class request type into IndustryStandard/Usb.h, and replace the hard value in UefiUsbLib by them.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5834 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 04:59:00 +00:00
lgao4 cc4e048504 Correct the wrong '?' character to '-', and add check DestinationBuffer == SourceBuffer for CompareMem functions in all BaseMemory library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5831 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 01:24:16 +00:00
jljusten fe7fd57806 edk2/MdePkg/Library/PeiIoLibCpuIo/IoLib.c:
* Align code with changes to CONST usage on function
  parameters made in edk2-r5818.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5825 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 18:12:57 +00:00
xli24 ad400b07b8 Update MDE Library instances according to code review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5823 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 13:39:18 +00:00
vanjeff ed66e1bc0d clean up the un-suitable ';' location when declaring the functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5820 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 09:37:28 +00:00
vanjeff 9eb7382f73 1. remove EFI_EVENT_ alias, replace them with EVT_
2. remove definitions of EFI_DESCRIPTION_STRING and EFI_DESCRIPTION_STRING_BUNDLE.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5812 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 07:38:10 +00:00
klu2 f36a7bf58c Add more comment for library instance and remove unused internal header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5799 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 08:44:12 +00:00
klu2 bf295af27c Add more comment for library instance and remove unused internal header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5798 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 08:42:16 +00:00
klu2 ce02b0b901 Add more file comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5797 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 08:35:20 +00:00
klu2 d667c17cd4 Fix wrong comment for SetPeiServiceTable
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5795 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 08:23:38 +00:00
klu2 9971f94329 remove internal header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5794 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 08:05:39 +00:00
klu2 5dd39dc655 1, remove MigrateIdt interface, 2, remove unused library class
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5793 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 08:04:48 +00:00
vanjeff 22e6fe86ba fixed one typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5792 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 07:56:47 +00:00
klu2 7292888e44 Add more file comments for PeiServiceTableLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5790 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 07:55:15 +00:00
vanjeff afa223265a clean the codes according to review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5789 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 07:54:27 +00:00
klu2 bb347ec275 Add more comments for DxeServicesTableLib library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5788 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 07:50:48 +00:00
lgao4 60c93673b3 The driver and library in MdePkg, MdeModulePkg and Nt32Pkg that don't depend on PI spec should include Uefi.h not PiDxe.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5758 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-30 14:09:38 +00:00
qwang12 4386f14350 Fix a bug in the assert condition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5754 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-29 05:35:16 +00:00
qhuang8 660b246ac5 Remove the supported module type of DXE_CORE to avoid that this library instanced by misused by DxeCore.
DxeCore should link the instance in MdeModulePkg for MemoryAllocationLib class.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5743 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-27 14:30:52 +00:00
klu2 4ca0802e08 Refine the code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5729 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-25 05:36:08 +00:00
lgao4 14bcde689e remove the unused msa files in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5725 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-25 05:00:23 +00:00
lgao4 9e6fa6d245 Clean up DxeMemoryAllocationLib and PeiMemoryAllocationLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5722 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-24 05:00:30 +00:00
qwang12 8cf43dd722 1) Add in ASSERT conditions
2) Add GUID and Library Class in INF file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5712 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-22 13:44:57 +00:00
qwang12 ff197efbbc 1) Update comments for API in DxePiLib.h
2) Fix a bug that SectionInstance is not referenced in the function GetSectionFromFv
3) Some minor cleanup.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5711 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-22 09:09:24 +00:00