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 4
4
- Added ` ConfigTableEntry::MEMORY_ATTRIBUTES_GUID ` and ` ConfigTableEntry::IMAGE_SECURITY_DATABASE_GUID ` .
5
5
- Added ` proto::usb::io::UsbIo ` .
6
6
- Added ` proto::pci::PciRootBridgeIo ` .
7
+ - Added ` proto::hii::config::HiiKeywordHandler ` .
8
+ - Added ` proto::hii::config::HiiConfigAccess ` .
7
9
8
10
## Changed
9
11
- ** 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:: { HiiConfigAccessProtocol , HiiKeywordHandlerProtocol } ;
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( HiiKeywordHandlerProtocol :: GUID ) ]
17
+ pub struct HiiKeywordHandler ( HiiKeywordHandlerProtocol ) ;
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 @@ -16,6 +16,7 @@ pub mod console;
16
16
pub mod debug;
17
17
pub mod device_path;
18
18
pub mod driver;
19
+ pub mod hii;
19
20
pub mod loaded_image;
20
21
pub mod media;
21
22
pub mod misc;
You can’t perform that action at this time.
0 commit comments