File tree Expand file tree Collapse file tree 4 files changed +38
-0
lines changed Expand file tree Collapse file tree 4 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 44- Added ` ConfigTableEntry::MEMORY_ATTRIBUTES_GUID ` and ` ConfigTableEntry::IMAGE_SECURITY_DATABASE_GUID ` .
55- Added ` proto::usb::io::UsbIo ` .
66- Added ` proto::pci::PciRootBridgeIo ` .
7+ - Added ` proto::hii::config::ConfigKeywordHandler ` .
8+ - Added ` proto::hii::config::HiiConfigAccess ` .
79
810## Changed
911- ** Breaking:** ` boot::stall ` now take ` core::time::Duration ` instead of ` usize ` .
Original file line number Diff line number Diff line change 1+ // SPDX-License-Identifier: MIT OR Apache-2.0
2+
3+ //! HII Configuration protocols.
4+
5+ use uefi_macros:: unsafe_protocol;
6+ use uefi_raw:: protocol:: hii:: config:: { ConfigKeywordHandlerProtocol , HiiConfigAccessProtocol } ;
7+
8+ /// The HII Keyword Handler Protocol.
9+ ///
10+ /// # UEFI Spec Description
11+ ///
12+ /// This protocol provides the mechanism to set and get the values associated
13+ /// with a keyword exposed through a x-UEFI- prefixed configuration language namespace.
14+ #[ derive( Debug ) ]
15+ #[ repr( transparent) ]
16+ #[ unsafe_protocol( ConfigKeywordHandlerProtocol :: GUID ) ]
17+ pub struct ConfigKeywordHandler ( ConfigKeywordHandlerProtocol ) ;
18+
19+ /// The HII Configuration Access Protocol.
20+ ///
21+ /// # UEFI Spec Description
22+ ///
23+ /// This protocol is responsible for facilitating access to configuration data from HII.
24+ /// It is typically invoked by the HII Configuration Routing Protocol for handling
25+ /// configuration requests. Forms browsers also interact with this protocol through
26+ /// the `Callback()` function.
27+ #[ derive( Debug ) ]
28+ #[ repr( transparent) ]
29+ #[ unsafe_protocol( HiiConfigAccessProtocol :: GUID ) ]
30+ pub struct HiiConfigAccess ( HiiConfigAccessProtocol ) ;
Original file line number Diff line number Diff line change 1+ // SPDX-License-Identifier: MIT OR Apache-2.0
2+
3+ //! HII Protocols
4+
5+ pub mod config;
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ pub mod console;
3737pub mod debug;
3838pub mod device_path;
3939pub mod driver;
40+ pub mod hii;
4041pub mod loaded_image;
4142pub mod media;
4243pub mod misc;
You can’t perform that action at this time.
0 commit comments