pub struct General {Show 39 fields
pub secure_boot_enabled: bool,
pub secure_boot_template: SecureBootTemplateType,
pub bios_guid: Guid,
pub console_mode: UefiConsoleMode,
pub battery_enabled: bool,
pub processor_idle_enabled: bool,
pub tpm_enabled: bool,
pub com1_enabled: bool,
pub com1_debugger_mode: bool,
pub com1_vmbus_redirector: bool,
pub com2_enabled: bool,
pub com2_debugger_mode: bool,
pub com2_vmbus_redirector: bool,
pub firmware_debugging_enabled: bool,
pub hibernation_enabled: bool,
pub suppress_attestation: Option<bool>,
pub generation_id: Option<[u8; 16]>,
pub legacy_memory_map: bool,
pub pause_after_boot_failure: bool,
pub pxe_ip_v6: bool,
pub measure_additional_pcrs: bool,
pub disable_frontpage: bool,
pub disable_sha384_pcr: bool,
pub media_present_enabled_by_default: bool,
pub vpci_boot_enabled: bool,
pub memory_protection_mode: MemoryProtectionMode,
pub num_lock_enabled: bool,
pub pcat_boot_device_order: [PcatBootDevice; 4],
pub vpci_instance_filter: Option<Guid>,
pub nvdimm_count: u16,
pub psp_enabled: bool,
pub vmbus_redirection_enabled: bool,
pub always_relay_host_mmio: bool,
pub vtl2_settings: Option<Vtl2Settings>,
pub is_servicing_scenario: bool,
pub watchdog_enabled: bool,
pub firmware_mode_is_pcat: bool,
pub imc_enabled: bool,
pub cxl_memory_enabled: bool,
}
Expand description
All available general device platform configuration.
Fields§
§secure_boot_enabled: bool
§secure_boot_template: SecureBootTemplateType
§bios_guid: Guid
§console_mode: UefiConsoleMode
§battery_enabled: bool
§processor_idle_enabled: bool
§tpm_enabled: bool
§com1_enabled: bool
§com1_debugger_mode: bool
§com1_vmbus_redirector: bool
§com2_enabled: bool
§com2_debugger_mode: bool
§com2_vmbus_redirector: bool
§firmware_debugging_enabled: bool
§hibernation_enabled: bool
§suppress_attestation: Option<bool>
§generation_id: Option<[u8; 16]>
§legacy_memory_map: bool
§pause_after_boot_failure: bool
§pxe_ip_v6: bool
§measure_additional_pcrs: bool
§disable_frontpage: bool
§disable_sha384_pcr: bool
§media_present_enabled_by_default: bool
§vpci_boot_enabled: bool
§memory_protection_mode: MemoryProtectionMode
§num_lock_enabled: bool
§pcat_boot_device_order: [PcatBootDevice; 4]
§vpci_instance_filter: Option<Guid>
§nvdimm_count: u16
§psp_enabled: bool
§vmbus_redirection_enabled: bool
§always_relay_host_mmio: bool
§vtl2_settings: Option<Vtl2Settings>
§is_servicing_scenario: bool
§watchdog_enabled: bool
§firmware_mode_is_pcat: bool
§imc_enabled: bool
§cxl_memory_enabled: bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for General
impl RefUnwindSafe for General
impl Send for General
impl Sync for General
impl Unpin for General
impl UnwindSafe for General
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more