Commit Graph

398 Commits

Author SHA1 Message Date
mdkinney 467d15ae63 Add generic SerialPortLib instance for 16550 UARTs configured through PCDs. Depends on new library class called PlatformHookLib to perform platform specific initialization of the UART.
Add PlatformHookLib.h that defines the PlatformHookLib class
Add PlatformHookLibNull instance that is a Null implementation of the PlatformHookLib class





git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11184 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-18 01:02:59 +00:00
tye1 4bad9adabc Add a TcpIo library to facilitate usage of TCP service.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11162 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-14 03:19:21 +00:00
gdong1 8a2d49964e Add SMM Variable implementation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11151 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-10 09:27:54 +00:00
xdu2 7b126c2e80 Include BaseMemoryLib.h for macro EFI_IP4_EQUAL, EFI_IP6_EQUAL etc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11078 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-22 05:21:26 +00:00
mdkinney 9035e1189d Fix spelling error in comment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11058 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-16 00:33:52 +00:00
qianouyang 705f53a9b4 Update IPsec.h file to follow approved ECR which will be collected into future UEFI 2.3 Specification after 2.3 errata B and future UEFI Specifications after 2.3. The changes mainly include:
1. Add EFI_IPSEC2_PROTOCOL
  2. Remove IPsec Authentication Algorithm Definition and IPsec Encryption Algorithm    
     Definition.
  3. Add EFI_IPSEC_SA_DATA2 data structure.
And also update IPv4 driver to call EFI_IPSEC2_PROTOCOL.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10941 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-15 05:40:41 +00:00
vanjeff 4cf7e0380e 1. Add init flag DEBUG_AGENT_INIT_DXE_AP.
2. Add definition DEBUG_AGENT_CONTINUE.
3. Update the definition of InitializeDebugAgent() more comments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10660 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-19 02:26:09 +00:00
tye1 25400c63fa Add routing header type to NetLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10616 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-30 02:34:07 +00:00
qianouyang 2a2e33b20f Add a UNION definition (IP_IO_IP_PROTOOCL) for EFI_IP4/6_PROTOCOL and change IP_IO structure using this UNION to point the special IP Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10578 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-13 08:18:10 +00:00
lgao4 e22812c731 Add three HiiLib APIs: HiiCreateTextOpCode, HiiCreateDateOpCode and HiiCreateTimeOpCode
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10544 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-27 02:54:25 +00:00
hhtian cd5ebaa06d Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10420 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-24 09:49:11 +00:00
geekboy15a e798cd87ca Fixed GCC 4.4 build issues due to EFIAPI not being used when required.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10379 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-16 23:24:45 +00:00
rsun3 3b1464d5ac git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10288 6f19259b-4bc3-4df7-8a09-765794883524 2010-03-19 06:55:58 +00:00
rsun3 abe31ad579 Roll back previous change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10274 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-18 03:11:12 +00:00
myronporter 1d5cbb48c3 Former change breaks build; changed back to commented lines 58 & 59, but as regular comments (not Doxygen comments).
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10270 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-17 23:27:19 +00:00
myronporter 64a80549c8 Grammatical and disclaimer changes (does not follow internal C coding stds.)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10269 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-17 20:48:52 +00:00
vanjeff 213fecefbb 1. update the definitions in debug agent library, rename DEBUG_AGENT_INIT_DXE to DEBUG_AGENT_INIT_DXE_CORE and add DEBUG_AGENT_INIT_S3.
2. disable debug timer interrupt in ExitBootServices().

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10239 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-13 16:52:46 +00:00
rsun3 0c1a4aa69a Minor update to some protocol interface function prototype for Doxygen document
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10207 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-05 06:31:45 +00:00
jchen20 3c447c2760 Enable "Load Module At fixed Address" feature in SMM Core
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10166 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-03 05:45:50 +00:00
xli24 17dd1ce959 Rollback change of revision 10061.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10144 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 08:23:03 +00:00
vanjeff e7af83aece 1. Refine debug agent library.
2. DxeCore and DxeIpl consume debug agent library. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10119 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-27 17:04:12 +00:00
vanjeff fe92ab29bf import Debug Agent Library and null instance in MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10099 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26 05:38:04 +00:00
xli24 ea02543004 Add support for capsule above 4G.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10061 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-24 08:45:08 +00:00
jchen20 8a90a5a56f revise the comments style
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9938 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-05 08:08:49 +00:00
jchen20 54ea99a798 Enable the Load Module At fixed Address feature
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9937 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-05 07:54:16 +00:00
xdu2 dd29f3edb9 For network dynamic media support:
1. add library function NetLibDetectMedia to NetLib for media detection
2. update MnpDxe to periodically poll for media status update and check for media status before packet transmit
3. update Ip4Dxe to return ModeData using Mnp->GetModeData()
4. update IScsiDxe to check for media status before try to do DHCP and session login
5. update UefiPxeBcDxe to check for media status before PXE start

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9919 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-03 04:37:53 +00:00
tye1 e4ef0031cd Add StrToIp functions to NetLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9798 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-25 02:19:04 +00:00
lgao4 84213069e9 Correct comments to match function declaration.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9773 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-15 07:12:08 +00:00
vanjeff e285199897 refine the code and add more security check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9691 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-08 02:35:56 +00:00
xdu2 779ae35798 Add VLAN support.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9649 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-30 13:47:55 +00:00
xdu2 1204fe8319 Code clean up in NetLib:
1. Add GLOBAL_REMOVE_IF_UNREFERENCED to all globals
2. Update NTOHL and NTOHS to be BaseLib func SwapBytes32/SwapBytes16
3. Remove duplicate NET_SWAP_SHORT (to use NTOHS instead)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9648 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-30 13:44:11 +00:00
xli24 75dea6bdd5 Create DxeReportStatusCodeLib instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9627 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-29 07:39:14 +00:00
xli24 10c5d87ef7 Remove status code modules' dependency on IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9603 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-25 06:33:46 +00:00
lgao4 cd98f30502 Add new SecurityManagementLib, and update SecurityStub driver to use this lib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9488 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-26 01:31:48 +00:00
rsun3 aa2614b728 EFI_HII_DATABASE_PROTOCOL.NewPackageList() allows installation of multiple package lists with same package list GUID onto different handles. According, change behavior of the HII Library function HiiAddPackages() to be consistent with EFI_HII_DATABASE_PROTOCOL.NewPackageList().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9452 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-20 02:34:21 +00:00
qouyang a09ee46d9a Updated the IpIoLiband and the change includes:
1) Add one structure member – IpHdrLen in the EFI_NET_SESSION_DATA data structure.
2) Pass IP header length to upper-layer through this new member. The length of IP header will be used for ICMP6 packet generation in upper-layer.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9437 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-17 07:57:02 +00:00
xdu2 df8d0595dc Update function description to be consistent with code definition: HEX_RADIX => RADIX_HEX.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9434 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-17 01:46:51 +00:00
tye a1503a32a8 1. Add Link MTU support to IP4 and TCP4 driver.
2. Integrate IPsec functionality to IP4 driver.
3. Move IP_VERSION_4/IP_VERSION_6 definition from IpIoLib to NetLib.
4. Move the Ip6/Udp6 protocol declaration from driver INF to Library INF (DxeIpIoLib and DxeUdpIoLib) for better readability.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9413 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-11 07:06:27 +00:00
rsun3 7992c0b02d Change the behavior of the HII Library function HiiGetHiiHandles() when the PackageListGuid parameter is not NULL. The original behavior is that if this parameter is not NULL at most 1 HII Handle is returned. Behavior after change is if this parameter is not NULL zero or more HII Handles associated with PackageListGuid are returned, because it is possible that there are multiple package lists with same package list GUID in the HII Database.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9393 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-05 08:53:47 +00:00
vanjeff 44770e5910 fixed typo
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9392 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-04 08:39:25 +00:00
tye f6b7393ceb [Change summary]:
1. Update NetLib to a combined NetLib support dual network stack:
1) Add Network Debug facility for IPv4 stack.
2) Extend the library APIs to support IPv6 stack:
   a. NetIp6IsUnspecifiedAddr
   b. NetIp6IsLinkLocalAddr   
   c. NetIp6IsNetEqual
   d. NetLibCreateIPv6DPathNode.
   e. NetIp6PseudoHeadChecksum
   f. NetIp6IsValidUnicast
3) Update the structure definitions:
   a. Update NET_BUF to add EFI_IP6_HEADER and EFI_UDP_HEADER
   b. Add NET_IP6_PSEUDO_HDR
4) Update Ip4IsUnicast to NetIp4IsUnicast

2. Update the impacted modules to adopt the combined NetLib.

3. Clean up coding style errors in all network drivers and libraries.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9391 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-04 08:18:34 +00:00
vanjeff 7be273b7f5 added comments for CAPSULE_HOB_INFO in CapsuleVendor.h (MdeModuleModulePkg).
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9390 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-04 06:51:34 +00:00
xli24 25126a0530 Enable Report Status Code Router introduced in PI 1.2 for PEI and DXE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9388 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-03 02:39:10 +00:00
lgao4 4e069e8b68 Correct the typo in comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9383 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-30 07:08:22 +00:00
tye b45b45b2d2 1. Update the UdpIo to a combined UdpIo to support both v4 and v6 stack.
2. Update Dhcp4 and Mtftp4 driver to adopt the combined UdpIo.
3. Clean up coding style problems in combined IpIoLib/NetLib. Update Tcp4 and Udp4 to adopt the changes.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9382 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-30 05:11:38 +00:00
vanjeff 72f01d4b4a add back CAPSULE_HOB_INFO definition for back-compatible.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9381 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-29 01:49:20 +00:00
vanjeff 53c13ffba4 remove CAPSULE_HOB_INFO definition from MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9380 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-28 07:54:40 +00:00
tye 3cf888f5f9 Fix the EBC build problem in DxeIpIoLib of r9374.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9375 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-27 02:45:43 +00:00
tye fb115c6150 NetLib:
1. Add new interface Ip6IsValidUnicast 
2. Add new enum IP6_EXTENSION_HEADER_TYPE
3. Add new structure IP6_ICMP_* definitions
4. Update structure from EFI_UDP4_HEADER to EFI_UDP_HEADER
5. Add new macro EFI_IP6_EQUAL


IpIoLib:
1. Update the IpIoLib to a combined library for both v4 and v6 network stack 
2. Fix a bug in IpIoIcmpHandler() - for IPv6 packet, the header length is variable (basic header + extension) rathar than fixed length.
   The fix removes the IPv6 header fields and notify the user with the ICMPv6 packet only containing payload.

TcpDxe/UdpDxe:
1. Update to adapt the new combined IpIoLib
2. Add gEfiIp6ProtocolGuid/gEfiIp6ServiceBindingProtocolGuid to [Protocols] in INF file since the Ip6.h is included in IpIoLib and NetLib.
3. Pass the TCP4/UDP4 UEFI SCT test on NT32 platform.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9374 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-26 10:15:40 +00:00
tye 3a15fd5268 Add a MACRO IP6_IS_MULTICAST.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9357 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-22 06:32:44 +00:00
qhuang8 5933acc3cb Update the comments for S3Lib and RecoveryLib class and instance to state that they are deprecated.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9047 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-11 15:51:48 +00:00
mdkinney d8d26fb207 Retire NetLibQueueDpc() and NetLibDispatchDpc() and use QueueDpc() and DispatchDpc() from the DpcLib instead.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8897 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-11 22:51:51 +00:00
klu2 4a13fda739 Refine doxygen comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8726 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-02 18:06:45 +00:00
xli24 a29645c4c7 Remove library class of MemoryTestLib and related library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8722 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-02 07:54:51 +00:00
mdkinney 064d5de378 Add Null implementation of the Reset System Library that generated an ASSERT() on all reset APIs.
This library can be used as a template to implement a Reset System Library for a specific platform.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8693 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01 00:03:38 +00:00
lgao4 1b954bea09 Fix Parameter IN OUT
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8537 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-12 05:58:40 +00:00
lgao4 e40b7d5d1b Update some comments for MdeModulePkg Include header files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8536 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-12 05:47:03 +00:00
pkandel e9b67286ad Committing changes to the comments, to improve code documentation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8533 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-11 14:17:23 +00:00
lgao4 b4f26bb184 Make comments align.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8503 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-10 05:38:20 +00:00
mdkinney 504dcb0a4e This checkin addresses the compatibility issue of passing arguments of type VA_LIST between components. The type VA_LIST is mapped onto the compiler specific implementation of varargs. As a result, modules build with different compilers may not use the same VA_LIST structure. The solution to this issue is to define a new type called BASE_LIST that is a compiler independent method of passing varargs between modules.
1) Update the Print2 Protocol to only use arguments of type BASE_LIST.  Since this is a change to the protocol definition, the GUID has also been updated.
2) Update the implementation of DxePrintLibPrint2Protocol for the update definition of the Print2 Protocol.  Since the PrintLib does contain APIs that use VA_LIST, this library must convert arguments of type VA_LIST to arguments of type BASE_LIST prior to calling the Print2 Protocol services.
3) Update the implementation of PrintDxe to match the updated Print2 Prootocol





git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8405 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-30 23:49:35 +00:00
mdkinney 9d9c659dd1 Remove redundant #include statements
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8358 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 23:13:01 +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
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 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
lgao4 278663ab10 HiiLib exports HiiCreateRawOpCode API
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8216 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 05:58:47 +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
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 97d77ccf43 Retire IfrSupportLib and ExtendedIfrSupportLib, which have been replaced by HiiLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8152 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-23 02:49:24 +00:00
eric_tian 023c0fec45 retain gEfiLoadPeImageProtocolGuid, and only published by DxeCore to keep backward compatibility.
Native EDKII module should not use such protocol to load image

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8110 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 04:47:55 +00:00
rsun3 0f2685219d Retire HiiLibGetNextLanguage() API from HII Library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8109 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 02:38:11 +00:00
rsun3 ad5a96ab2d Retire language conversion APIs from HII library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8104 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-16 08:46:28 +00:00
eric_tian af3888e0b7 remove the gEfiLoadPeImageProtocolGuid and replace all references for it with BasePeCoffLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8096 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-16 02:44:03 +00:00
rsun3 33ae1b2d87 Remove duplicate HII Library API prototypes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8086 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-15 03:28:08 +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
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 cd8ec63636 Update NewHii library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8063 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-12 02:47:10 +00:00
lgao4 253a25e8cc Add NewHii and UefiHiiServiceLib library header file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8048 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-09 15:11:04 +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
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
qhuang8 ea7cd3ec1a Apply GetBestLanguage() API in UEFI to display HII string.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7964 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-27 03:23:45 +00:00
niry 8d7e5af111 Fixing coding style issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7943 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-25 05:42:36 +00:00
vanjeff a0afd24c9c retired some private protocols used by EFI 1.10 network stack.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7921 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-22 04:45:29 +00:00
xli24 d11ad58418 Rename BaseMemoryTestLib to MemoryTestLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7876 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-13 07:33:05 +00:00
xli24 40571bfb80 Refine some comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7871 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-13 03:10:43 +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 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
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
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
xli24 b6ee92ecea Refine BaseMemoryTestLib and add instance with full functionality.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7831 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-06 03:34:25 +00:00
qhuang8 92650d2199 Remove PeRemove PeiPeCoffLoader.h and gPeiPeCoffLoaderGuid, and Add PeCoffExtraActionLib class and instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7810 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 09:18:06 +00:00
eric_tian 08c4ca5bca retire gEfiBootStateGuid and replace it with dynamic hii pcd. so the different boot times can know whether it needs to do full/minimal/no_changes configuration.
[Impact]
EDK still keep this guid. and if we ports such platforms to EDKII, it will do full configuration

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7793 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-04 02:43:10 +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
qhuang8 eea4d00606 remove Bmp.h and ShellFile.h From MdeModulePkg to IntelFrameworkPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7755 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 06:07:56 +00:00
eric_tian d4cb8e71ac remove redundant judgement as ALIGNMENT can only equate with 1 or 8 instead of 0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7729 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-27 07:07:27 +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 86b7139e82 Move OEMBadging protocol from MdeModulePkg to IntelFrameworkModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7703 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 04:40:53 +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
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
xli24 ad801d0121 Check in library class of BaseMemoryTestLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7663 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 02:09:31 +00:00
klu2 87fbccbe40 Move library class GenericBdsLib and PlatformBdsLib to IntelFrameworkModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7655 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 15:52:09 +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 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
lgao4 76f1dde2c4 Move Crc32GuidedSectionExtraction from Protocol to Guid directory
Move DiskInfo protocol from MdeModulePkg to IntelFrameworkModulePkg
Retire unused FvbExtension protocol.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7638 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 07:53:20 +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
eric_tian f999350bcf retire gEfiFirmwareVolumeDispatcherProtocolGuid as its original design is used to signify such FV need to be dispatched or not.
Currently our code has not such usage model, so Mike recommended us to retire this guid

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7593 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 05:35:08 +00:00
qhuang8 9105d2c338 Retire GenericPlatformVariableGuid in MdeModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7566 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:00:22 +00:00
qhuang8 8704a8ab10 retire PeiPerformanceHob.h, all its information has been integrated into Include\Guid\Performance.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7565 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 02:59:33 +00:00
qhuang8 e996a8c98a Retire Print protocol in MdeModulePkg and update Print2 protocol to provide full set of API in PrintLib classes
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7564 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 02:58:46 +00:00
qhuang8 72aff63a93 Merge performance protocol, pei performance hob into a single performance.h in MdeModulePkg\Include\Guid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7563 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 02:57:46 +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
lgao4 8a3f79bf36 Add the missing Guid header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7496 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-10 14:33:55 +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
lgao4 19f1707078 Remove FlashMap Ppi that has been replaced by Flash related PCDs.
Remove OperatorPresence Ppi that is only related to TCG driver, which should be not in this package.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7435 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-05 03:15:10 +00:00
lgao4 6426c8ffb4 Add comments for these header files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7364 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 14:45:13 +00:00
qwang12 4a1102c9ae K8:
1) add in more ASSERT condition and updates the comment for HexStringToBuf.
2) Check the pointer returned by HiiLibGetHiiHandles.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7324 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 05:33:41 +00:00
gikidy 8d4cd91527 1.Moved HotPlugDevice.h & SimpleTextInNotify.h from /Guid to /Protocol
2.Modified the reference of two Guids in DEC file, Inf files and h files;

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7294 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-16 07:33:08 +00:00
ywu21 361468ede3 fix one minor comment error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7262 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 08:56:00 +00:00
ywu21 3a1ab4bc2c sync Netlib function from c file
fix file header issues
add in out
add . at the end of lines

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7260 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 08:51:55 +00:00
ywu21 cdfdbb970a add macro function comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7242 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-12 02:39:41 +00:00
lgao4 e561879137 Add INF extension Information
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7228 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 06:26:42 +00:00
vanjeff ed055f1b63 ECC clean up.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7211 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-08 08:21:40 +00:00
eric_tian c351b60d13 clean-up MdeModulePkg/Include/Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7192 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06 06:54:29 +00:00
lgao4 109e9a6156 Code scrub for the following drivers and librarys.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7172 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-04 03:20:55 +00:00
jgong5 e29a2e7e80 Enhance function header
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7156 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-30 12:12:46 +00:00
jgong5 c8d8f1e332 code scrub for Ip4ConfigDxe
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7149 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-30 02:21:34 +00:00
jgong5 ca9d3a9ded Add () after function name so that Doxygen can create reference in doc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7145 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-29 03:49:50 +00:00
jgong5 99fd60317f no need to use EFIAPI
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7142 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-26 09:33:26 +00:00
jgong5 cab450ccda Add more comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7138 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-26 09:09:02 +00:00
niry 7557df4df3 Add more comments for Netbuf* functions in NetLib.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7126 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-25 14:19:52 +00:00
lgao4 68dbca6c14 Code Clean for Driver PlatformDriOverrideDxe and PlatOverMngr application. And Clean PlatDriOver library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7121 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-25 09:13:53 +00:00
ywu21 c3a78fc8f9 Fix function header
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7099 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-23 07:38:59 +00:00
ywu21 ae213b7de6 Fix function header
Fix return status issues
Fix  in out issues


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7097 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-23 07:29:54 +00:00
eric_tian 257efb0ba3 fix ECC tool's warning
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7095 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-23 05:08:24 +00:00
eric_tian 498aeaf367 correct the guid value of EFI_CAPSULE_ARCH_PROTOCOL_GUID which is differ from PI1.1 spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7094 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-23 04:58:23 +00:00
eric_tian d2bc9f321f refine comments for EFI_CONSOLE_CONTROL_PROTOCOL
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7091 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-23 02:56:44 +00:00
eric_tian aae4ad0583 remedy the comment of EFI_CONSOLE_CONTROL_PROTOCOL_LOCK_STD_IN
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7090 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-23 02:32:07 +00:00
qhuang8 f3f2e05db8 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@7056 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 15:34:21 +00:00
gikidy d7db090280 Fix some typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7008 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-12 06:04:02 +00:00
lgao4 cebc8d486e Code Scrub for Pcd, PlatformDriOverride and PlatOverMngr driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6998 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-11 09:30:13 +00:00
klu2 2bd6a5f8a5 Fix typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6927 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-09 05:27:04 +00:00
mdkinney 50d7ebad92 Change _CR() to BASE_CR() to follow naming convention
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6888 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-06 01:23:24 +00:00
qwang12 53dff89953 Update function comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6821 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 14:22:56 +00:00
gikidy cfc8865f17 Remove some useless EDK_RELEASE_VERSION, EFI_SPECIFICATION_VERSION ,and 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
2008-12-03 09:08:05 +00:00
lgao4 346cf9ace3 Code scrub for MdeModule Include header file (Protocol and DEC)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6817 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 08:55:36 +00:00
klu2 e6b7d45e9d Code scrub for PlatformBdsLibNull.inf library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6801 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-02 08:09:28 +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 11e9250309 Add GetCurrentLanguage() to HiiLib in MdeModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6758 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 07:43:56 +00:00
lgao4 ebafc55b92 Add additional comments for structure definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6750 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 04:53:43 +00:00
qwang12 f875a4f16e 1) Change the return type of IfrLibFreeUpdateData to VOID.
2) Remove some unused #include and library instance.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6747 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 02:34:39 +00:00
vanjeff 519f076a47 1.retried graphics library class from MdePkg
2.retried graphics library instance from MdeModulePkg
3.Move EnableQuietBoot(), DisableQuietBoot() and LockKeyboards() into GenericBdsLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6691 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 05:49:59 +00:00
qwang12 35d59af39e 1) StrGather (Build.exe) in compatible mode add a Framework Package Header to replace the original “ArrayLength” generated in the output.
2) VfrCompiler in compatible mode add a Framework Package Header to replace the original “ArrayLength” generated in the output.
3) HII Thunk module nows support Narrow Font registered using Framework New Pack HII interface.
4) Fix a bug in IfrLibCreatePopUp2 by updating the prototype. The previous way of using VA_START to get the address of parameter in the argument list and expecting the parameters that follows will be found using VA_ARG macro is wrong. 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6673 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 15:08:07 +00:00
qwang12 7b05e2c958 Add in comment on the EFI_IFR_GUID_VAREQNAME.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6573 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 06:30:49 +00:00
xli24 0bcd913074 Refine the prototype of CheckMapping() in PlatDriOverLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6553 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-17 02:45:37 +00:00
qhuang8 4c76e9cc9a Add FvbServiceLib, HiiLib & IfrSupportLib.h
They originate from MdePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6502 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 08:41:24 +00:00
klu2 1232b21473 1, Add <Library/DevicePathLib.h> for all source that use device path utility macros
2, Add DevicePathLib library class to module's INF that use device path utility macros

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6456 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-11 15:42:40 +00:00
qwang12 8d00a0f195 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@6378 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-04 14:28:08 +00:00
qhuang8 97b38d4e35 Update to use DOS format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6321 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 03:46:40 +00:00
mdkinney 34c4ae475d Add performance measurement token for SEC
Reduce length of performance measurement token strings for Driver Binding related events.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6293 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 04:05:31 +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
qwang12 190344219a Remove the unnecessary include, such as PiDxe.h, PiPei.h, Base.h and Uefi.h in header file. The module should include these files before include the Protocol/Ppi/Guid/Library header files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6111 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-14 15:34:00 +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
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
qwang12 2b4d6ac808 To improve backward compatibility, add gEfiPrint2ProtocolGuid and rename gEfiPrintProtocolGuid to the previous GUID value used in EDK I. gEfiPrint2ProtocolGuid is a enhanced version of gEfiPrintProtocolGuid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5772 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-02 01:58:16 +00:00
qwang12 217697afd2 To improve backward compatibility, add gEfiPrint2ProtocolGuid and rename gEfiPrintProtocolGuid to the previous GUID value used in EDK I. gEfiPrint2ProtocolGuid is a enhanced version of gEfiPrintProtocolGuid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5766 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-02 01:20:36 +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 35f8f32669 Remove a duplicated definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5671 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-18 08:40:37 +00:00
qwang12 f2a05cc2b0 Add the support of GUID opcode which enable SetupBrowser to support IFR generated by a VFR compiler in Framework VFR compatible mode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5667 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-18 08:16:40 +00:00
klu2 7d839888ff Remove the blank in function typedef, it will break doxygen document generation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5590 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-31 07:09:47 +00:00
lgao4 f02d0c0fe9 Add comments to MdeModulePkg.dec, Correct minor comments for other files and Add new guided IFR opcode to framework option key value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5581 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-28 05:51:09 +00:00
lgao4 2a958a00c6 Merge Tracker EDK877
The WriteQueueSize in EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER was changed from UINT32 to UINT64 to fix the unaligned problem with the ftw record on IPF platform. 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5513 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-17 07:05:21 +00:00
qwang12 aa103f4802 Add PcdSupportFullConfigRoutingProtocol and gEfiDiskInfoAhciInterfaceGuid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5511 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-17 03:23:14 +00:00
qwang12 c7493fe5f3 [Description]:
Sync 1 trackers.
 EDK 1098   
[Impaction]:
Should be minimal impact as there is no code parsing the HII vendor specific device.
[Reference Info]:
EDK 1098 Seems there are two same device path protocols in NT 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5476 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-15 09:34:35 +00:00
qwang12 6ca46b63d2 Clean up ExtendedHiiLib, HiiLib, IfrSupportLib, ExtendedIfrSupportLib for Doxygen comments requirement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5459 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-14 05:30:21 +00:00
lgao4 2a86ff1cb0 Code Scrub for DxeCrc32GuidedSectionExtractLib library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5455 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-11 08:18:17 +00:00
lgao4 5f597758e2 Code scrube for MdeModule Definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5428 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-08 13:29:42 +00:00
qwang12 552b252326 Remove the tailing ',' to ensure the code pass EBC's -Za option (Enforces strict conformance to the ANSI standard for C).
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5324 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-04 09:55:00 +00:00
qwang12 a0b629b12e Remove the non-standard definition: GLYPH_WIDTH and GLYPH_HEIGHT. All reference to these name should use the standard name defined in UEFI 2.1 specification which are EFI_GLYPH_WIDTH and EFI_GLYPH_HEIGHT
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5136 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-28 07:37:37 +00:00
vanjeff 7b414b4ed6 1. add public functions header.
2. apply for doxgen format for file header.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5043 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 03:36:07 +00:00
lgao4 bfaa7cd7fb Add comments for Tcg Platform protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5040 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 02:03:41 +00:00
lgao4 504214c487 Add comments and DoxyGen format for these files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5028 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-09 07:07:50 +00:00
qhuang8 d393bdda06 Update to follow doxygen style file header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5024 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-09 05:46:57 +00:00
qhuang8 1e354c0372 Add function headers & file header for public header files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5023 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-09 05:44:04 +00:00
qhuang8 e2270e40a4 Add function headers & file header for PlatformBdsLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5022 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-09 05:41:16 +00:00
qhuang8 83d26a8193 Add function headers & file header for GenericBdsLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5021 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-09 05:40:48 +00:00
qhuang8 af823bdc07 Clean up the unused macro.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4951 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-25 07:21:24 +00:00
qwang12 d1d249a7b6 [Description]:
1) Remove EFI_SPECIFICATION_VERSION as modules and libraries in MdeModule complies to UEFI 2.0 and later.

[Impaction]:
No
[Reference Info]:
No.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4857 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-15 05:06:24 +00:00
klu2 25ca163d0c Fix GCC building warning.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4809 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 05:46:29 +00:00
lgao4 2ae8963ce8 Add comments for parameter.
Add ASSERT for the input parameters.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4749 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-25 06:29:00 +00:00
vanjeff e733f54213 remove some commented code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4694 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-15 01:28:54 +00:00
vanjeff e48e37fce2 Use Mde library and definition instead of some native definitions in NetLib, to simply network library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4693 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-14 09:40:22 +00:00
qwang12 9226efe5eb 1) Cleanup HiiLib, IfrSupportLib.
2) Add ExtendedHiiLib and ExtendedIfrSupportLib which implement APIs that require the OPcode and Device Path which is specific to Intel's implementation.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4662 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-02 13:15:44 +00:00
qwang12 93e3992d1e UEFI HII: Merge UEFI HII support changes from branch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4599 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-21 14:39:56 +00:00
vanjeff 3012ce5cf7 1. Fixed bugs in DxeNetLib to meet consistence with network module DriverBinding protocol.
2. Sync bugs in console modules.
3. Sync bugs in PlatDriOverLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4571 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-17 05:56:45 +00:00
vanjeff b290614d49 Port PlatformDriOverrideDxe into R9.
1. Add one OverrideVariableGuid in MdeModulePkg
2. Add one library PlatDriOverLib used by PlatformDriOverrideDxe.
3. Add PlatformDriOverrideDxe in MdeModulePkg

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4557 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-16 09:04:43 +00:00
yshang1 130e25699a 1) Replace MACRO with C functions.
2) Add HEADER_VALID_ONLY state of variable, which represents only the header is valid and the data/name is stale. This may be caused by incomplete data updating. Adding the state helps to check whether the header is valid. If variable header is valid, then we must skip the data of variable with the valid size. If the header is invalid, we should only skip the header of variable. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4555 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-14 06:35:23 +00:00