Commit Graph

1025 Commits

Author SHA1 Message Date
eric_tian 08654acba5 don't set all bytes in TargetID as zero. This change is made due to keep consistent with GetNextTargetLun and GetTargetLun
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8336 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19 09:19:19 +00:00
eric_tian f035af2e40 update the check condition of PASS THRU interface to pass Uefi sct test.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8326 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19 01:24:08 +00:00
lgao4 8567300ae4 Fix K8 issues in HiiDataBase
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8325 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-18 12:12:56 +00:00
lgao4 04da0b4a11 Correct DriverSample to produce the ConfigAccess protocol
And fix the bug in HiiDataBase to incorrectly free pool. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8321 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-18 05:03:45 +00:00
vanjeff d6e11f2230 1. remove duplicated set operation on UGA device.
2. update some typo.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8320 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-18 03:40:29 +00:00
lgao4 1f1cb2f216 Retire original HII APIs: IfrLibExtractDefault and ConstructConfigAltResp, which are replaced by HiiSetToDefaults API.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8319 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-18 03:26:54 +00:00
gikidy b347c1bceb Add check for NULL pointer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8318 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-15 03:39:01 +00:00
lgao4 76c2425177 Update HiiDataBase to fix parsing Hii package error. Some HiiPackages have no varstore and question, they has no the built in default value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8314 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-14 12:37:02 +00:00
lgao4 84f9a9ec8f 1. Update the implementation of HII ConfigRouting Protocol in HiiDataBase module to follow new ECRs.
1) ConfigRouting Protocol ExtractConfig interface must return the default values built in IFR that were not returned by ConfigAccess.ExtractConfig.
  2) The parameters of ConfigRouting Protocol interfaces are clarified to the specific configuration string syntax.
2. Implement the last two HiiLib interfaces: HiiSetToDefaults and HiiValidateSettings.
3. Update DriverSample driver to use these two APIs.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8313 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-14 07:06:06 +00:00
vanjeff c40a155690 fixed typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8310 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-13 09:34:23 +00:00
vanjeff 638868496c 1. retired NicIp4ConfigProtocolGuid
2. moved NicIp4ConfigVariableGuid to Include/Guid/NicIp4ConfigNvData.h
3. updated Ip4ConfigDxe module to publish one setup page to Get/Set network parameters. Also, Ip4ConfgiDxe installed EFI HII Config Access protocol for each network devices. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8309 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-13 09:29:44 +00:00
gikidy 945e3aed0f Add a check for CreateQuestion may be return NULL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8308 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-13 09:24:25 +00:00
vanjeff e1f1fb1658 fixed typo. EFI_OUT_OF_MEMORY should be EFI_OUT_OF_RESOURCES.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8299 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-12 05:39:31 +00:00
vanjeff 326c6b7130 ConfigRouting should get driver handle by device path in all drivers database in system, not only in Hii Package list database.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8284 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-11 02:26:26 +00:00
vanjeff 1ea1d3c8e6 SetMode() should clear screen per UEFI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8264 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-08 07:46:27 +00:00
rsun3 0e8e994db3 Update SetupBrowserDxe and BdsDxe to use an internal string for prompting string missing instead of ASSERT if it fails to get a string for separate module's forms.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8263 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-08 05:55:25 +00:00
rsun3 844390f7d5 Update HiiDataBase driver to use GetBestLanguage() for matching RFC 4646 languages.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8262 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-08 05:39:24 +00:00
klu2 90e0655656 Synchronize PCD_Infrastructure 0.55 with source code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8249 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-06 06:18:49 +00:00
lgao4 6672d625fe correct the minor format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8244 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-06 03:21:24 +00:00
qhuang8 a1373617d6 Fix a bug that L"PlatformLang" must be a null-terminated ASCII string according to UEFI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8232 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-04 05:55:56 +00:00
lgao4 1d4826aeeb Correct HiiGetBrowserData API usage.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8224 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 09:08:37 +00:00
gikidy 718a15c618 Replace references to RFC 3066 with RFC 4646.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8219 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 06:50:16 +00:00
gikidy 0254efc01e Replace references to RFC 3066 with RFC 4646.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8212 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 05:32:11 +00:00
jljusten 51967a5314 Acquire & Release the lock from the high level variable service
routines similar to MdeModulePkg/Universal/Variable/RuntimeDxe.
When the Acquire was in the FindVariable routine, is was
being called by both EmuSetVariable and again in
AutoUpdateLangVariable, which caused an ASSERT to fail.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8205 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-29 20:22:38 +00:00
vanjeff 6198c34621 fixed 2 k8 issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8204 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-29 08:57:19 +00:00
qhuang8 bd397350b4 Fix bug in variable driver about the incorrect usage for GetBestLanguage(), which expects the NULL to be the last var arg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8195 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-28 03:32:24 +00:00
eric_tian 0c420e26a9 update
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8194 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-28 02:31:48 +00:00
eric_tian 72399daee4 update platformlangcodes and langcodes to adapt new language convert algorithm.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8184 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 07:06:01 +00:00
lgao4 1d451ff9cf Update HiiGetBrowserData API
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8176 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 04:55:02 +00:00
qhuang8 7059dad904 Fix the bug that the "Offset" parameter for DiskIo protocol should be byte-oriented.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8175 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 04:03:40 +00:00
lgao4 14d59fa188 update DriverSample driver unload function to remove the installed package list.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8171 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-24 07:25:36 +00:00
lgao4 6d8ced29b1 Merge application PlatOverMngr and library DxePlatDriOverLib into driver PlatDriOverrideDxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8169 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-24 07:02:52 +00:00
lgao4 7da7367655 Fix ICC build break.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8158 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-23 07:30:09 +00:00
lgao4 b9e388d2d5 Correct comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8149 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-22 07:30:52 +00:00
lgao4 0a1147ed7a Update SetUp Browser doesn't set a default value to Numeric field per UEFI spec. And Update Setup Browser driver parse the introduced IFR FormSet classguid in UEFI2.1.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8146 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-22 03:18:37 +00:00
qhuang8 96f99e1df8 Use DiskIo->ReadDisk() API to avoid alignment issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8144 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-22 02:52:32 +00:00
vanjeff bdc825139c Changed ID into Id.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8130 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-20 05:47:57 +00:00
xli24 85b990a8eb Remove iScsi driver's dependency on IntelFrameworkPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8126 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 08:49:00 +00:00
xli24 46a989f7ad Add support of ACPI Table Version 3.0 in implementation of EFI_ACPI_TABLE_PROTOCOL APIs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8125 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 08:46:05 +00:00
lgao4 d91c7bf9e4 Update HiiLib to copy all IfrOpcode, not Opcode by Opcode.
Update DriverSampleDxe to use new UEFI 2.1 classguid

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8114 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 05:28:31 +00:00
jchen20 bd72aa1a31 retire AcpiTableStorage.h and implement the gEfiAcpiTableStorageGuid with a fixed at build PCD
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8108 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 02:06:51 +00:00
rsun3 cb7d01c0c9 HII Library Class interface refine.
The "HiiLib" prefix for all HII Library API function names changed to "Hii".

Remove: 
  HiiLibPreparePackageList(), replaced by HiiAddPackages()
  HiiLibNewString(), replaced by HiiSetString()
  HiiLibGetStringFromHandle(), replaced by HiiGetString()
  HiiLibGetStringFromToken(), replaced by HiiGetPackageString()
  HiiLibExtractGuidFromHiiHandle()
  HiiLibDevicePathToHiiHandle()
  HiiLibGetSupportedSecondaryLanguages()
  HiiLibGetSupportedLanguageNumber()
  HiiLibExportPackageLists()
  HiiLibListPackageLists()
  
Interface change:
  HiiAddPackages()
  HiiSetString()
  HiiGetString()
  HiiGetHiiHandles()

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8083 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-14 10:47:19 +00:00
vanjeff 169a34619b Use default UNDI information if NII protocol not exists.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8082 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-14 08:52:06 +00:00
lgao4 3c7449e4aa Merge new defined HII library APIs into HiiLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8069 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-13 06:22:14 +00:00
lgao4 7e3bcccb0e Update UefiHiiLib to support new defined IFR related HII APIs.
Apply new defined IFR related HII APIs in PlatOverMngr, DriverSample, IScsiDxe and Setup drivers.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8066 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-13 06:05:15 +00:00
lgao4 e34e769924 Remove unused IfrSupportLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8064 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-12 03:18:19 +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 7b23d0d8b9 Allow EbcLowLevel.S to be linked correctly with 'ELFGCC' toolchain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8059 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-10 20:58:04 +00:00
vanjeff 0428a6cb12 fixed DMA not be stopped issue when gBS->ExitBootServices called.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8058 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-10 08:31:45 +00:00
qhuang8 7b06dc8a91 Add ASSERT() check for StringInfo pointer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8055 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-10 04:27:35 +00:00
gikidy f1e2b80277 Using sizeof(EFO_BLOCK_IO_MEDIA) replace Macro.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8054 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-10 02:50:31 +00:00
lgao4 2f3065c0fb Add unload function for DriverSample
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8052 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-09 15:22:27 +00:00
lgao4 634303c96f Fix error when replace HexStringToBuf
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8047 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-09 08:19:40 +00:00
lgao4 63d55bb98a Replace BufToHexString by UnicodeValueToString
Replace HexStringToBuf by StrHexToUint64

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8034 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-08 00:56:51 +00:00
vanjeff 406ddad31b 1. Update the CRC32 in the EFI System Table header in BdsConsole.c
2. Removed duplicated installation for Simple Text Output protocol on ErrHandle.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8031 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-07 08:42:15 +00:00
eric_tian 2fcdca1d73 1. The original code has a bug on calculate the size of SCRATCH_SIZE. It should be maximum value between PcdMaxVariableSize and PcdMaxHardwareErrorVariableSize.
2. Boot time variable reclaim issue is caused by incorrect flash layout. Platform integrator should ensure that the size of variable region must less than FTW spare space size.
3. Per UEFI Specification, variables of attribute HARDWARE_ERROR_RECORD are guaranteed to have its own storage space size.original implementation doesn’t meet this requirement 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8029 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-07 06:42:12 +00:00
vanjeff 8a67d804b3 return value not follow spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8028 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-07 02:29:49 +00:00
qhuang8 395ed063d9 Apply WriteUnaligned64() to write DevicePath structure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8027 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-03 11:18:19 +00:00
gikidy 192b057b07 Add function DevPathFromTextRelativeOffsetRange ().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8023 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-03 08:14:36 +00:00
vanjeff 19c9b0cce3 install simple text output protocol on stderr should in ConsplitterStdErrStart() instead of in ConSplitterEntryPoint().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8020 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-03 07:39:16 +00:00
jji4 28d19b0019 Update IScsiCheckOpParams to get the declarative MaxRecvDataSegmentLength directly
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8018 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-03 06:40:25 +00:00
vanjeff f49b86e95a remove debug code
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8013 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-02 09:00:41 +00:00
vanjeff 7389f6496d 1. updated return value to EFI_SUCCESS by default.
2. add console number check.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8012 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-02 08:50:30 +00:00
rsun3 f6f910dd12 Retire Extended HII library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8011 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-02 08:48:03 +00:00
gikidy 186ca8b0cd SATA Device path updated.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8010 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-02 08:34:03 +00:00
gikidy 9e9f86ecb6 Modified for use reversion field and fix a typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8006 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-02 02:27:07 +00:00
gikidy 5755841f2a Fix some typos.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8005 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-02 01:58:19 +00:00
klu2 b6b3dc4410 1, Move introduction from header file to INF file header; 2, Refine dynamic PCD introduction according to review comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7997 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-01 06:43:16 +00:00
vanjeff 9937b36506 1. retired console control protocol.
2. removed NULL console device from consplitter module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7995 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-01 02:52:17 +00:00
klu2 9e40e4bd0a Refine comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7975 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-29 11:20:47 +00:00
klu2 cf84d2671a Add introduction of PCD database in PCD Database.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7974 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-29 11:20:12 +00:00
klu2 a5eca427cb Add introduction of PCD database in PCD PEIM.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7973 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-29 07:43:05 +00:00
vanjeff 3d31d868b6 fixed one bug in ConSpliterUgaDrawSetMode().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7971 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-27 05:10:28 +00:00
eric_tian 6f90dfbc0d update the QueryVariableInfo interface to first determine if the pointer checked is pointing to a memory address inside Variable area.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7969 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-27 05:05:48 +00:00
qhuang8 bd37f9718f Add ASSERT() check for StringInfoIn structure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7968 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-27 04:56:54 +00:00
niry a78d176c14 Fix coding style issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7957 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-26 02:40:48 +00:00
qhuang8 bf9af1b959 Apply GetBestLanguage() for the implementation of HiiStringIdToImage() API.
E.g. L"PlatformLang" variable is "en" and registered string supports "en-US" 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7954 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-25 10:07:39 +00:00
qhuang8 2fef9e5f7a Fix a potential bug that GetLanguages() API may return incorrect languages in a string package when the *LanguageSize == OutputSize.
This issue was hidden since UefiHiiLib API HiiLibGetSupportedLanguages() allocates large enough (4K) buffer to get the supported languages.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7953 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-25 09:41:09 +00:00
xli24 28487361ff Move registration of Font into driver entry point.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7948 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-25 07:25:52 +00:00
niry 52b2a30825 Fixing coding style issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7945 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-25 05:43:16 +00:00
niry 5fe2f07f0f Fixing coding style issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7944 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-25 05:42:55 +00:00
jljusten bd682470fc Prefix variable services functions with 'Emu'. Specifically this is
done to avoid a conflict with the 'GetVariable' function defined
in edk2/MdePkg/Include/Library/UefiLib.h.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7941 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-24 18:42:18 +00:00
eric_tian 4601f37455 correct a wrong offset arithmetic, replace EFI_FAULT_TOLERANT_WRITE_HEADER with EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER. It will cause FTW write operation break.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7931 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-24 08:25:01 +00:00
vanjeff 3fb46d0b04 Status should be initialzied to be EFI_SUCCESS.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7925 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-23 06:54:38 +00:00
vanjeff 2d73ba9fbd remove EFI 1.10 network stack.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7920 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-22 04:27:03 +00:00
vanjeff 6c822f41fc remove clean console control protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7919 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-22 04:09:51 +00:00
jljusten 5f55c70046 Add ACPI drivers:
* Universal/Acpi/AcpiTableDxe
  Implementation of EFI_ACPI_TABLE_PROTOCOL
  (MdePkg/Include/Protocol/AcpiTable.h)
* Universal/Acpi/AcpiPlatformDxe
  Sample "ACPI Platform Driver" which populates the
  system ACPI tables by reading them from an
  FFS file and using EFI_ACPI_TABLE_PROTOCOL
  to make them available to the system.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7917 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-20 20:58:47 +00:00
eric_tian fba0ee1f4c Fix tracker 202216:linux runtime test issue.
[Root Cause]
The root cause is that in FindVariable function, original code logic will traverse all variable stored in variable volatile/non-volatile area. If the non-variable area is full and Linux sets a new variable, the caller of GetNextVariablePtr will get the address of next memory block, but this block doesn't be reserved as RUNTIME attribute. Therefore its corresponding page translation table doesn't exist and causes linux kernel panic.

Note that, Variable Pei driver has not such issue as the flash area is accessed in pre-os environment.All page table entries are filled. The access to next memory block will not cause such issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7910 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-19 08:50:41 +00:00
eric_tian 533020ef80 close notify event to avoid variable architectural protocol to be installed twice or more.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7904 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-19 03:13:08 +00:00
qwang12 c40aa22af0 Remove Feature PCD PcdSupportFullConfigRoutingProtocol as EDK II sample implementation is UEFI compliant system which always produces gEfiHiiConfigRoutingProtocolGuid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7892 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-16 10:24:01 +00:00
eric_tian 7974918212 Fix tracker 202216:linux runtime test issue.
[Root Cause]
The root cause is that in FindVariable function, original code logic will traverse all variable stored in variable volatile/non-volatile area. If the non-variable area is full and Linux sets a new variable, the caller of GetNextVariablePtr will get the address of next memory block, but this block doesn't be reserved as RUNTIME attribute. Therefore its corresponding page translation table doesn't exist and causes linux kernel panic.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7890 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-16 09:57:10 +00:00
vanjeff 319075ff6e 1. sync PXE boot trackers for Windows 2008 server.
2. fixed one bug for SetIpfilter().

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7886 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-16 06:45:46 +00:00
eric_tian 933676058b retire gEfiAlternateFvBlockGuid. All platform FvbRuntimeDxe drivers will not produce such protocol to signify itself support writable FVB protocol.
FaultTolerantWrite driver and variable driver will register notification event to locate right protocol.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7865 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-12 05:10:53 +00:00
lgao4 f0480ecf80 Fix K8 check error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7849 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 08:40:29 +00:00
lgao4 4941d8817d Retire TCG platform protocol, which will be replaced by PI Security Architecture protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7848 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 07:57:15 +00:00
xli24 28af9a489d Fix the bug in DebugPort on error reporting.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7843 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 05:38:54 +00:00
vanjeff dad608335f 1. retried PrimaryConsoleInDeviceGuid, PrimaryConsoleOutDeviceGuid and PrimaryStandardErrorDeviceGuid.
Consplitter will not install these protocols any more.

2. added logic in Bds to check console handles in System table, if no console handle assigned. Bds module will fill these handles in system table accordingly.

3. fixed one bug before call ConsoleControl->SetMode in FrontPage.c.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7841 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 03:10:15 +00:00
lgao4 e51d07a670 remove unused local variable FvbHandle
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7839 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 00:56:48 +00:00
eric_tian 00f3851372 retire FvbServiceLib class in MdeModulePkg, and also remove the two instances in MdeModulePkg and ItaniumPlatformPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7837 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-09 09:20:57 +00:00
eric_tian 8a9e0b7274 1. retire the FvbServiceLib. Directly locating FVB protocol to access interfaces.
2. modify the method of getting right FVB protocol interface. move the notification event of FVB installation into variable driver. and also move ExitBootService event into variable driver.
3. use EFI_FVB2_WRITE_STATUS flag to distinct whether the FVB protocol supports writing operation or not.Currently, DxeCore installs FVB which has ~EFI_FVB2_WRITE_STATUS(that is, disable write) attrbiute. FvbRuntimeDxe driver should provide a full FVB protocol, which returns EFI_FVB2_WRITE_STATUS attribute to signify itself provide writable FVB protocol. So other modules which need write data by FVB protocol can locate it correctly.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7835 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-09 06:39:13 +00:00
lgao4 97b2c9b514 Update PeiCore to handle FvImage with PI FV extension header
Update Capsule PCDs PcdMaxSizePopulateCapsule and  PcdMaxSizeNonPopulateCapsule to the flexible PCD type.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7805 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 05:05:57 +00:00
eric_tian 5bb820af59 1. add missing free operation in conditional branch.
2. when variable store header is invalid status, we will return EFI_VOLUME_CORRUPTED to let code assert, which is helpful to find root cause quickly.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7804 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 02:59:11 +00:00
eric_tian e4ddc00886 use pcd to enable/disable variableInfo statistic feature in EmuRuntimeDxe driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7797 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-04 07:21:11 +00:00
xli24 ca6b86efed Update ConPlatform to ensure console dev variable is correct.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7796 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-04 05:48:09 +00:00
vanjeff 0dc9978436 add check for invalid handle.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7795 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-04 04:31:46 +00:00
vanjeff ea2d90867a retired PcdNtEmulatorEnable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7792 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-04 02:10:20 +00:00
lgao4 88a5561c66 Update Variable driver to depend on full version FaultTolerantWrite protocol, and remove the lite version FaultTolerantWrite Dxe Driver. New full version FaultTolerantWriteDxe driver is added in MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7788 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-04 01:27:50 +00:00
lgao4 85e923a528 Add full version FaultTolerantWrite Dxe driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7787 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-04 01:05:31 +00:00
eric_tian 3709c4cd5b 1. delete Include/Guid/VariableInfo.h
2. move VariableFormat.h into GUID directory and change the “Signature” field of the VARIABLE_STORE_HEADER to gEfiVariableGuid value.
3. merging VARIABLE_INFO_ENTRY structure into the new Include/Guid/VariableFormat.h
4. change gEfiVariableInfoGuid into gEfiVariableGuid.
5. modify FDF files to use new guid value instead of the original signature.
6. all code related to signature is changed to use guid value.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7728 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-27 05:35:08 +00:00
klu2 746be876f1 If variable does not exist for a HII PCD, a new NV variable need to be created.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7705 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 06:39:56 +00:00
eric_tian 18efbdff45 All UEFI applications in the MdeModukePkg should be placed in MdeModulePkg/Application
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7704 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 05:29:29 +00:00
lgao4 de5b0df93f Correct minor comments in meta data file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7697 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 15:35:58 +00:00
qhuang8 37226e89c7 Add a work around to set the PCD protocol lock to TPL_NOTIFY to relax the restriction on caller of PCD protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7695 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 14:00:54 +00:00
eric_tian 3dcdbe7a52 update
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7694 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 13:08:46 +00:00
klu2 c7a6f87dc1 Fix GCC building broken, GCC does not allow \ character at end of line in comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7693 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 12:49:02 +00:00
klu2 4f22e23be9 Add missing library class header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7692 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 12:07:44 +00:00
klu2 16a44a1473 Remove unreferenced library class
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7691 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 12:07:17 +00:00
klu2 afac5e1165 Remove unreferenced library class
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7690 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 12:06:50 +00:00
klu2 32610f38e1 Add missing library class header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7689 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 12:06:27 +00:00
klu2 1ba692112f Remove unreferenced library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7687 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 11:50:57 +00:00
klu2 bba6c99b41 Refine comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7684 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 11:45:03 +00:00
klu2 58612f248f Fix typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7683 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 10:50:45 +00:00
vanjeff a8fdba528b remove dependent package from inf files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7681 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 09:27:01 +00:00
lgao4 f806dd277e Use single one PcdFrameworkCompatibilitySupport PCD to support framework HII and FvHob.
Remove patchable type Flash related PCD.
Simplify single one PcdPeiFullPcdDatabaseEnable to produce full or minimal Pei PCD services.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7678 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 09:04:47 +00:00
klu2 3d53ba8b45 Merge GetSizeTableIndexA to GetSizeTableIndex function because it only be invoked by GetSizeTableIndex.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7675 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 08:11:42 +00:00
vanjeff 7c2228d2cb update hotplug check logic
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7674 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 07:57:45 +00:00
vanjeff f1aec6ccb4 1. Retired HotPlugDevice protocol.
2. Check devicepath node to get hot plug information. Currently, USB and PCCard device are checked.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7673 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 07:54:57 +00:00
xli24 34070f1dbf Remove private event description from INF.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7672 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 07:47:56 +00:00
xli24 9fdeb0988c Correct some misleading comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7671 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 07:47:11 +00:00
klu2 599a55a5f7 Add sample for auto-generated PCD
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7670 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 07:43:53 +00:00
vanjeff 7fc80d4484 Retired gSimpleTextInExNotifyGuid, used local structure address to be notify handle.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7666 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 05:35:12 +00:00
lgao4 96cb78a1e3 Use gEfiCallerIdGuid as the private guid for PcdPeim module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7653 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 15:24:53 +00:00
lgao4 b6349c0537 Change directory name PlatformDriOverride to PlatformDriOverrideDxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7643 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 08:33:03 +00:00
lgao4 de4647f5ae Reduce directory deep
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7642 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 08:29:15 +00:00
lgao4 e4b99ad979 Change library class PlatDriOverLib to PlatformDriOverrideLib
Move Application Platform Override Manager into Application directory.
Add comments in Network library class to say they are only intended to be used by UEFI network stack modules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7641 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 08:26:40 +00:00
vanjeff 4986c56135 temporary roll back changing on gEfiHotPlugDevice.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7640 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 08:03:42 +00:00
eric_tian d5893e0b04 fix the bug of calculating subnetmask prefix length. It is a regression issue, which incorrectly take "&" operation as "&&"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7639 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 07:57:25 +00:00
niry 5be56d99a9 Fix function comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7636 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 07:47:59 +00:00
lgao4 5c52673637 Move MdeModuleHii.h into Include\Guid directory
Move Capsule.h into MdePkg\Include\Protocol directory because Capsule is defined in PI1.0a.
Merge WorkingBlockHeader.h into SystemNvDataGuid.h
Remove unused NvDataFvHob.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7606 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 15:18:48 +00:00
qhuang8 e0312446c4 Update the variable name and GUID to set time zone and daylight saving: Use L"RTC" for shorter name and gEfiCallerIdGuid since this variable is private for this driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7577 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:17:27 +00:00
qhuang8 589f16d2bf Update consplitter driver to use dynamic PCD to set console output mode instead of use L"ConOutMode" and gEfiGenericPlatformVariableGuid to set console output mode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7574 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:11:13 +00:00
qhuang8 bb9153a122 Split the Print functionality from SetupBrowserDxe. Platform should use PrintDxe to produces Print2 Protocol and PrintThunk for Edk Print protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7572 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:05:23 +00:00
qhuang8 610b2cbf97 Add PrintDxe to produce EDKII print2 protocol on top of PrintLib in MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7571 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:04:26 +00:00
vanjeff 3f57706fa9 remove console control protocol consuming in DrawImage(), caller should make sure current mode is graphics mode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7568 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:02:07 +00:00
vanjeff aa8f4f55ff 1. Retired HotPlugDevice protocol.
2. Check devicepath node to get hot plug information. Currently, USB and PCCard device are checked.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7562 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 02:51:45 +00:00
xli24 d73be1d1b1 Remove BaseMemoryTest PPI and related producers and consumers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7560 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 02:39:20 +00:00
vanjeff ea1ac7a0f7 Clean up gEfiHotPlugDeviceGuid in ConPlatformDxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7559 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 02:12:01 +00:00
gikidy 88fa231e94 Meta-data verified.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7537 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-18 03:13:32 +00:00
hchen30 309e31222f update code to pass K8.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7536 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-17 09:13:35 +00:00
klu2 c948a51548 Fix EBC build broken.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7534 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-17 05:39:12 +00:00
klu2 acd3b0e62d Fix EBC build broken.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7533 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-17 05:36:10 +00:00
vanjeff 7174e04c2b 1.enhanced security check.
2.remove un-necessary ASSERT.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7522 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-13 06:39:44 +00:00
vanjeff 89c18a1e9e enhanced security check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7520 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-13 06:07:36 +00:00
lgao4 1fef733cc7 Fix security check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7519 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-13 05:20:55 +00:00
vanjeff db0bd81c85 enhanced security check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7516 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-13 03:36:02 +00:00
vanjeff df80a83c8a enhanced security check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7509 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-12 06:05:08 +00:00
vanjeff 7c1bc8d656 Enhanced status return check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7508 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-12 03:03:47 +00:00
vanjeff e618d0cb67 add return value check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7507 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-12 02:33:23 +00:00
vanjeff 892b7f90c5 add NULL pointer check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7506 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-12 01:55:32 +00:00
qhuang8 4cfc3293c7 Fix the typo in comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7503 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-11 07:09:19 +00:00
qhuang8 96a5ac5b0d Adjust code to fix potential array out-bound issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7502 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-11 07:05:43 +00:00
qhuang8 51195fbe8c Remove several unicode in comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7501 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-11 06:02:54 +00:00
qhuang8 ead7e7dc74 Fix the potential illegal EBC opcode issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7500 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-11 06:01:07 +00:00
lgao4 98b15cf156 Include the missing Guid header file to refer the global Guid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7498 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-11 04:57:42 +00:00
lgao4 b998288321 Correct typo in comments, clean IfrSupportLib.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7494 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-10 13:32:19 +00:00
qwang12 a935a0d8b7 Add in ASSERT to avoid NULL point dereference.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7491 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-10 09:40:27 +00:00
vanjeff 05b1c4143c update meta.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7482 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-09 06:11:51 +00:00
qwang12 d1a54e2c3e ECC cleanup: Non-Boolean comparisons should use a compare operator (==, !=, >, < >=, <=)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7481 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-09 05:29:17 +00:00
lgao4 2517435c8d Clean Network Driver to include Uefi.h, not PiDxe.h.
Network driver don't depend on PI definition.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7479 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-09 02:59:07 +00:00
niry 9cff2f8d36 Roll back the DEBUG mask change which cause SerialIo read_conf test item failure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7477 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-09 01:22:19 +00:00
mdkinney ba5e88f965 Add parenthesis to expression to make order of operations clear
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7475 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 20:40:48 +00:00
lgao4 276a49b699 Clean up FaultTolerantWriteDxe to remove the duplicated definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7471 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 09:03:12 +00:00
niry 2374b9734b fix the operator priority bug.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7470 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 08:56:45 +00:00
qhuang8 8ed62a3035 Fix minor build issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7465 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 07:42:00 +00:00
qwang12 c410589ef1 K8: Add in ASSERT to detect possible NULL pointer dereference.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7462 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 06:34:43 +00:00
jgong5 b2c0a17556 Pass ECC
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7460 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 06:08:46 +00:00
jji4 7ae9c1ce8f Coding style checked
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7458 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 05:48:16 +00:00
jgong5 d59b8b55d7 fixed more issues by scrubbing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7457 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 05:47:32 +00:00
eric_tian c24b392c30 fix ecc warning
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7456 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 05:37:46 +00:00
jgong5 81b0761486 Synced function header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7453 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 05:11:15 +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
vanjeff 9006e2bbe7 update format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7450 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 04:38:53 +00:00
jji4 9e1f123a3a Code level security checked
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7449 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 04:08:16 +00:00
klu2 7459a41ec0 Fix typo in meta data.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7423 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 13:34:10 +00:00
jji4 01a5c99447 use the GUIDed versions of events listed below: EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE and EVT_SIGNAL_EXIT_BOOT_SERVICES
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7420 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 11:09:53 +00:00
ywu21 6e4bac4dac fix some checklist issues
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7417 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 07:56:54 +00:00
vanjeff 5c998646f3 remove some internal functions and allocate some FIFO data structure instead of declaring in global variable. To save size.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7416 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 07:25:00 +00:00
jlin16 d089bd5ffe Fix non-asci char in comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7414 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 03:00:22 +00:00
qwang12 3018ca2d36 1) Clean up the INF and add in comment to describe the surface area of modules
2) Minor comment fix.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7413 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 02:23:03 +00:00
eric_tian f3e0442308 Add information in Meta-Data file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7400 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 00:31:26 +00:00
qwang12 fd0fd8918e Remove the accidental check in of test code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7392 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-02 07:27:44 +00:00
qwang12 bc166db311 Add in ASSERT to check out-of-bound and possible dereference of NULL pointers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7391 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-02 07:18:59 +00:00
eric_tian 6041576eb2 The caller of FindVariable() function ensure VariableName != NULL && VendorGuid != NULL. In the internal of this function, we only need to ensure that (VariableName[0] != 0 && VenderGuid != NULL) is true.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7389 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-02 03:13:35 +00:00
qwang12 e4a3922f03 Update the protocol function to return EFI_INVALID_PARAMETER if CallBackFunction == NULL. The PCD library function will do ASSERT if CallBackFunction is NULL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7385 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-01 10:04:40 +00:00
niry 3dc3861a4e re order the function definition to avoid unnecessary declaration.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7381 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-01 03:36:25 +00:00
mdkinney 4cf894eba8 Split out Synchronization Library from Base Library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7373 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-30 00:33:39 +00:00
xli24 7772b1760f Update for Meta data.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7361 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 10:01:51 +00:00
klu2 c516c7178a Move BdsDxe and GenericBdsLib to IntelFrameworkModulePkg, these modules need dependent on gEfiLegacyBiosProtocol to provide legacy boot support. But legacy boot is not described by PI/UEFI specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7353 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 07:23:46 +00:00
klu2 cb26370805 Fix issue from code scrub.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7349 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 03:32:01 +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