summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Universal/DriverSampleDxe
Commit message (Collapse)AuthorAgeFilesLines
* Co-work with patch V11137 to refine the Hii menu.ydong102010-12-091-0/+0
| | | | | | | 1. Move the Mac address string from the form title to form title help for the driver Ipv4 and VLAN. 2. Change the menu show in the device manager from "Network Controller Information" to "ABC Information Sample". git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11138 6f19259b-4bc3-4df7-8a09-765794883524
* Rename one file to follow the file naming convention.rsun32010-09-072-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10855 6f19259b-4bc3-4df7-8a09-765794883524
* Rename one file to follow the file naming convention.rsun32010-09-071-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10854 6f19259b-4bc3-4df7-8a09-765794883524
* Per UEFI spec, FORM_OPEN/FORM_CLOSE Callback function should be called for ↵lgao42010-06-022-47/+84
| | | | | | | | | each question in the form when this form opens or closes. Update SetupBrowser driver to call Callback function (FORM_OPEN/FORM_CLOSE) based on UEFI spec, and update all EDKII HII drivers to correctly handle FORM_OPEN and FORM_CLOSE call back. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10560 6f19259b-4bc3-4df7-8a09-765794883524
* Small code refinement in MdeModulePkg.rsun32010-05-171-7/+8
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10492 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Use the max string size to compare password string.lgao42010-05-101-2/+2
| | | | | | 2. Check whether the local variable is valid as the array index. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10473 6f19259b-4bc3-4df7-8a09-765794883524
* Update the copyright notice formathhtian2010-04-248-12/+12
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10418 6f19259b-4bc3-4df7-8a09-765794883524
* Add sample use case for IFR security op-code.rsun32010-03-163-0/+12
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10255 6f19259b-4bc3-4df7-8a09-765794883524
* Add some robustness check in DriverSample driver.rsun32010-03-051-0/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10209 6f19259b-4bc3-4df7-8a09-765794883524
* Update HiiConfigAccess.ExtractConfig interface to support NULL request ↵lgao42010-03-041-87/+119
| | | | | | string and ConfigHdr request string. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10180 6f19259b-4bc3-4df7-8a09-765794883524
* Add FormMap form example. lgao42010-02-283-4/+68
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10125 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Correct File header to ## @filelgao42010-02-241-4/+4
| | | | | | 2. Remove unnecessary .common] postfix on section. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10052 6f19259b-4bc3-4df7-8a09-765794883524
* Add example of Name/Value pair var store to DriverSamplelgao42010-02-115-9/+327
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9975 6f19259b-4bc3-4df7-8a09-765794883524
* Add disableif statement example, and suppressif form example.lgao42009-12-311-102/+104
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9653 6f19259b-4bc3-4df7-8a09-765794883524
* Fix incorrect return status usage of HiiGetBrowserData().xdu22009-12-081-2/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9539 6f19259b-4bc3-4df7-8a09-765794883524
* Add Example for EFI_BROWSER_ACTION_RETRIEVE callbacklgao42009-11-132-6/+23
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9426 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Update SetupBrowser to pass correct buffer value for OrderedList Callbackxdu22009-11-121-2/+2
| | | | | | | 2. Fix UI hang issue in SuppressIf Form support checkin 3. Update DriverSample to demo storage width of OrderedList could be defined to types other than UINT8. (Note: this requires BaseTools >= r9397 for updated VfrCompiler.exe) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9418 6f19259b-4bc3-4df7-8a09-765794883524
* Add example usage of EFI_BROWSER_ACTION_FORM_OPEN and ↵xdu22009-10-263-33/+119
| | | | | | EFI_BROWSER_ACTION_FORM_CLOSE to DriverSample. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9365 6f19259b-4bc3-4df7-8a09-765794883524
* Add the example for default opcode usage.lgao42009-10-192-1/+5
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9343 6f19259b-4bc3-4df7-8a09-765794883524
* Add check that Progress is NULL lgao42009-07-081-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8789 6f19259b-4bc3-4df7-8a09-765794883524
* Correct DriverSample ConfigAcess protocol ExtractConfig interface.lgao42009-06-251-12/+11
| | | | | | Correct SetupBrowser to set default value for default sting ID. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8660 6f19259b-4bc3-4df7-8a09-765794883524
* Update DriverSample and PlatDriOverrideDxe driver to correct the return ↵lgao42009-05-211-23/+14
| | | | | | value for ConfigAccess ExtractConfig interface. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8365 6f19259b-4bc3-4df7-8a09-765794883524
* Update HiiDataBase to fix the SCT hang issues by the invalid device path.lgao42009-05-201-2/+4
| | | | | | Update the driver config access protocol extractconfig and routeconfig interface to check the input parameters. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8349 6f19259b-4bc3-4df7-8a09-765794883524
* Correct DriverSample to produce the ConfigAccess protocollgao42009-05-181-14/+31
| | | | | | 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
* Retire original HII APIs: IfrLibExtractDefault and ConstructConfigAltResp, ↵lgao42009-05-181-1/+1
| | | | | | which are replaced by HiiSetToDefaults API. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8319 6f19259b-4bc3-4df7-8a09-765794883524
* Update HiiDataBase to fix parsing Hii package error. Some HiiPackages have ↵lgao42009-05-141-0/+1
| | | | | | 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
* 1. Update the implementation of HII ConfigRouting Protocol in HiiDataBase ↵lgao42009-05-143-79/+94
| | | | | | | | | | | 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
* Update HiiGetBrowserData APIlgao42009-04-272-5/+9
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8176 6f19259b-4bc3-4df7-8a09-765794883524
* update DriverSample driver unload function to remove the installed package list.lgao42009-04-241-13/+11
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8171 6f19259b-4bc3-4df7-8a09-765794883524
* Update HiiLib to copy all IfrOpcode, not Opcode by Opcode.lgao42009-04-172-5/+6
| | | | | | 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
* HII Library Class interface refine.rsun32009-04-143-53/+42
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Merge new defined HII library APIs into HiiLib lgao42009-04-131-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8069 6f19259b-4bc3-4df7-8a09-765794883524
* Update UefiHiiLib to support new defined IFR related HII APIs.lgao42009-04-135-195/+256
| | | | | | 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
* Add unload function for DriverSample lgao42009-04-092-39/+69
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8052 6f19259b-4bc3-4df7-8a09-765794883524
* Retire Extended HII library class.rsun32009-04-023-19/+79
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8011 6f19259b-4bc3-4df7-8a09-765794883524
* Move MdeModuleHii.h into Include\Guid directorylgao42009-02-231-1/+1
| | | | | | | | 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
* Correct typo in comments, clean IfrSupportLib.hlgao42009-02-101-3/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7494 6f19259b-4bc3-4df7-8a09-765794883524
* 1) Clean up the INF and add in comment to describe the surface area of modulesqwang122009-02-031-5/+5
| | | | | | 2) Minor comment fix. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7413 6f19259b-4bc3-4df7-8a09-765794883524
* K8: add new variable PasswordSize to remove immeidate constant.qwang122009-01-201-4/+7
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7307 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up to update the reference of the these macros:qhuang82008-12-161-1/+1
| | | | | | | | | | | | | 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@7056 6f19259b-4bc3-4df7-8a09-765794883524
* Clean DriverSampleDxe for ICC build.xli242008-12-141-22/+22
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7020 6f19259b-4bc3-4df7-8a09-765794883524
* 1) Update file header.qwang122008-12-112-8/+5
| | | | | | 2) Make use of standard macro defined in MdePkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6988 6f19259b-4bc3-4df7-8a09-765794883524
* Update function comment and use MdePkg Library FreePool function.qwang122008-12-031-17/+11
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6822 6f19259b-4bc3-4df7-8a09-765794883524
* Remove some useless EDK_RELEASE_VERSION, EFI_SPECIFICATION_VERSION ,and ↵gikidy2008-12-031-3/+0
| | | | | | review VALID_ARCHITECTURES in inf files with DSC file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6818 6f19259b-4bc3-4df7-8a09-765794883524
* ECC Cleanup: Update Doxygen commentqwang122008-11-193-8/+43
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6633 6f19259b-4bc3-4df7-8a09-765794883524
* [VfrCompiler FeatureRequest] Generate data for ConfigAccess.ExtractConfig() implqwang122008-11-181-2/+0
| | | | | | Update the platform code after the above VfrCompiler checkin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6614 6f19259b-4bc3-4df7-8a09-765794883524
* Refine MdeModulePkg to pass GCC build.xli242008-11-181-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6575 6f19259b-4bc3-4df7-8a09-765794883524
* Remove over specific BaseLib library class for DriverSampleDxe module.klu22008-11-051-2/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6398 6f19259b-4bc3-4df7-8a09-765794883524
* Sync in bug fix from EDK I:qwang122008-11-045-102/+244
| | | | | | | | | | | 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@6378 6f19259b-4bc3-4df7-8a09-765794883524
* Update to use DOS formatqhuang82008-10-312-174/+174
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6336 6f19259b-4bc3-4df7-8a09-765794883524