Commit Graph

941 Commits

Author SHA1 Message Date
klu2 8243b089ab Update function comments for AsmPrepareThunk16, AsmThunk16, AsmPrepareAndThunk16 interface. These interfaces could be used in either physical mode or virtual modes with paging enabled where virtual to physical mappings for ThunkContext.RealModeBuffer is mapped to 1:1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8231 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-04 03:33:53 +00:00
klu2 d1be17ab87 Add checking for ThunkAttribute to avoid THUNK_ATTRIBUTE_DISABLE_A20_MASK_KBD_CTRL and THUNK_ATTRIBUTE_DISABLE_A20_MASK_INT_15 are set at same time.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8230 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-04 03:00:08 +00:00
qhuang8 744e71a3bf Fix the bug that EnablePaging64() should assert() for x64 platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8223 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 07:17:52 +00:00
lgao4 981b0f90d1 Update BasePeCoffLib comments to specify this library support scope.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8210 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 05:18:43 +00:00
lgao4 821b090646 Update IPF version BasePeCoffLib only supports IFP and EBC PeImage, doesn't support IA32 and X64 PeImage
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8208 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 03:29:49 +00:00
xli24 8672ccb305 Fix the bug that SetMem.S of BaseMemoryLibOptDxe is incorrect.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8207 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 02:59:35 +00:00
xli24 687add7035 Fix the bug in DxeRuntimePciExpressLib that behavior of GetPciExpressAddress() in virtual mode is not correct.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8206 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 02:32:49 +00:00
klu2 52fa075c38 Add limitation clarification for usage of AsmPrepareThunk16(), AsmThunk16(), AsmPrepareAndThunk16() interfaces that they are could only be used in physical mode but can not be used in virtual mode with paging.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8202 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-29 06:23:35 +00:00
xli24 4eb3ee5fe6 Fix the bug that gEfiSalSystemTableGuid is missing in UefiPalLib.inf.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8199 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-29 03:01:50 +00:00
xli24 d9f0ad2765 Fix the bug that InternalReallocatePool() ignores the input parameter PoolType, and does always allocates memory of type EfiBootServicesData.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8198 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-29 02:52:37 +00:00
qhuang8 363bb1b56e Merge RuntimeLib and RuntimeServices.c.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8166 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-24 02:09:46 +00:00
qhuang8 7c188740a6 Use GUIDed event for virtual address change event
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8165 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-24 02:07:33 +00:00
qhuang8 50cd68dfb5 Add check for the validity of resource directory address.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8164 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-23 12:14:55 +00:00
qhuang8 d908a2d6d2 Add checking for start address for PCI express Read/Write Buffer
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8160 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-23 08:08:48 +00:00
eric_tian 53e9661036 update string function comment to clear the semantic meaning.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8153 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-23 03:11:45 +00:00
qhuang8 b4500f6efe Add HiiResourceData field to PeCoffLib library class. PeCoffLoaderLoadImage () will set this field to HII resource data if it detects the existence in PE image. otherwise, it set that field to 0.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8141 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-22 02:04:16 +00:00
qhuang8 0fe43214e3 Save segment registers on stack in case the thunk code assembly calls CF9 soft reset and the x64 registers get cleared.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8123 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 07:38:57 +00:00
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
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
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
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
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
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
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
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
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 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
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
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 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
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
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 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
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
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