Struct SMBiosBisEntryPoint

Source
pub struct SMBiosBisEntryPoint<'a> { /* private fields */ }
Expand description

§Boot Integrity Services (BIS) (Type 31)

Structure is reserved for use by the Boot Integrity Services (BIS)

This class is compliant with: Boot Integrity Services Application Programming Interface Version 1.0 with added corrigenda: bis037 Published August 31, 1999

Note: The BIS (Boot Integrity Services) Entry Point structure is not defined in the SMBIOS DMTF document. bisapi037.pdf, section 3.1.3 typedef struct _BIS_ENTRY_POINT

Implementations§

Source§

impl<'a> SMBiosBisEntryPoint<'a>

Source

pub fn checksum(&self) -> Option<u8>

Used to make the 8-bit checksum of this structure equal zero.

Source

pub fn bis_entry_16(&self) -> Option<u32>

BIS entry point pointer for use by 16-bit real-mode callers. This is a segmented pointer(in segment:offset form).

Real Mode: In Real Mode all addresses are composed of Segment:Offset pairs, with both Segment and Offset being 16 bits.These combine to form a 20-bit physical address that cannot access above approximately the 1 Megabyte boundary.This mode is referred to in this section as “16-bit real-mode” or “16-bit mode”. Callers in this mode may only invoke BIS through the bisEntry16 entry point. The bisEntry16 function returns with the processor in 16-bit real-mode.

Source

pub fn bis_entry_32(&self) -> Option<u32>

BIS entry point pointer for use by 32-bit flat physical address mode callers. This is a 32-bit physical address.

Flat Mode: A 32-bit (protected) IA-32 processor mode where CS:0, DS:0, and SS:0 all refer to physical location 0 and all have 4 GB of address space.This mode is referred to in this section as “32-bit flat-mode” or “32-bit mode”. Callers in this mode may only invoke BIS through the bisEntry32 entry point. The bisEntry32 function returns with the processor in 32-bit flat-mode.

Trait Implementations§

Source§

impl Debug for SMBiosBisEntryPoint<'_>

Source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a> SMBiosStruct<'a> for SMBiosBisEntryPoint<'a>

Source§

const STRUCT_TYPE: u8 = 31u8

The SMBIOS structure type Read more
Source§

fn new(parts: &'a UndefinedStruct) -> Self

Creates a new instance of the implementing SMBIOS type
Source§

fn parts(&self) -> &'a UndefinedStruct

Contains the standard parts/sections of the implementing SMBIOS type.
Source§

impl Serialize for SMBiosBisEntryPoint<'_>

Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.