Struct uefi::runtime::RuntimeServices[][src]

#[repr(C)]
pub struct RuntimeServices {
Show 14 fields pub Hdr: TableHeader, pub GetTime: extern "win64" fn(Time: &mut Time, Capabilities: *mut TimeCapabilities) -> Status, pub SetTime: extern "win64" fn(Time: &Time) -> Status, pub GetWakeupTime: extern "win64" fn(Enabled: &mut bool, Pending: &mut bool, Time: &mut Time) -> Status, pub SetWakeupTime: extern "win64" fn(Enable: bool, Time: *const Time) -> Status, pub ConvertPointer: extern "win64" fn(DebugDisposition: usize, Address: &mut usize) -> Status, pub GetVariable: extern "win64" fn(VariableName: *const u16, VendorGuid: &Guid, Attributes: *mut u32, DataSize: &mut usize, Data: *mut u8) -> Status, pub GetNextVariableName: extern "win64" fn(VariableNameSize: &mut usize, VariableName: *mut u16, VendorGuid: &mut Guid) -> Status, pub SetVariable: extern "win64" fn(VariableName: *const u16, VendorGuid: &Guid, Attributes: u32, DataSize: usize, Data: *const u8) -> Status, pub GetNextHighMonotonicCount: extern "win64" fn(HighCount: &mut u32) -> Status, pub ResetSystem: extern "win64" fn(ResetType: ResetType, ResetStatus: Status, DataSize: usize, ResetData: *const u8) -> !, pub UpdateCapsule: extern "win64" fn(CapsuleHeaderArray: *const *const CapsuleHeader, CapsuleCount: usize, ScatterGatherList: PhysicalAddress) -> Status, pub QueryCapsuleCapabilities: extern "win64" fn(CapsuleHeaderArray: *const *const CapsuleHeader, CapsuleCount: usize, MaximumCapsuleSize: &mut u64, ResetType: &mut ResetType) -> Status, pub QueryVariableInfo: extern "win64" fn(Attributes: u32, MaximumVariableStorageSize: &mut u64, RemainingVariableStorageSize: &mut u64, MaximumVariableSize: &mut u64) -> Status, // some fields omitted
}

Fields

Hdr: TableHeaderGetTime: extern "win64" fn(Time: &mut Time, Capabilities: *mut TimeCapabilities) -> StatusSetTime: extern "win64" fn(Time: &Time) -> StatusGetWakeupTime: extern "win64" fn(Enabled: &mut bool, Pending: &mut bool, Time: &mut Time) -> StatusSetWakeupTime: extern "win64" fn(Enable: bool, Time: *const Time) -> StatusConvertPointer: extern "win64" fn(DebugDisposition: usize, Address: &mut usize) -> StatusGetVariable: extern "win64" fn(VariableName: *const u16, VendorGuid: &Guid, Attributes: *mut u32, DataSize: &mut usize, Data: *mut u8) -> StatusGetNextVariableName: extern "win64" fn(VariableNameSize: &mut usize, VariableName: *mut u16, VendorGuid: &mut Guid) -> StatusSetVariable: extern "win64" fn(VariableName: *const u16, VendorGuid: &Guid, Attributes: u32, DataSize: usize, Data: *const u8) -> StatusGetNextHighMonotonicCount: extern "win64" fn(HighCount: &mut u32) -> StatusResetSystem: extern "win64" fn(ResetType: ResetType, ResetStatus: Status, DataSize: usize, ResetData: *const u8) -> !UpdateCapsule: extern "win64" fn(CapsuleHeaderArray: *const *const CapsuleHeader, CapsuleCount: usize, ScatterGatherList: PhysicalAddress) -> StatusQueryCapsuleCapabilities: extern "win64" fn(CapsuleHeaderArray: *const *const CapsuleHeader, CapsuleCount: usize, MaximumCapsuleSize: &mut u64, ResetType: &mut ResetType) -> StatusQueryVariableInfo: extern "win64" fn(Attributes: u32, MaximumVariableStorageSize: &mut u64, RemainingVariableStorageSize: &mut u64, MaximumVariableSize: &mut u64) -> Status

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.