interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / vendor / uefi / src / proto / hii / config.rs

30 lines · 1108 bytes Raw Blame History
1// SPDX-License-Identifier: MIT OR Apache-2.0
2
3//! HII Configuration protocols.
4
5use uefi_macros::unsafe_protocol;
6use uefi_raw::protocol::hii::config::{ConfigKeywordHandlerProtocol, HiiConfigAccessProtocol};
7
8/// The HII Keyword Handler Protocol.
9///
10/// # UEFI Specification
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)]
17pub struct ConfigKeywordHandler(ConfigKeywordHandlerProtocol);
18
19/// The HII Configuration Access Protocol.
20///
21/// # UEFI Specification
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)]
30pub struct HiiConfigAccess(HiiConfigAccessProtocol);