Skip to main content

KernelDriver

Enum KernelDriver 

Source
#[repr(u32)]
pub enum KernelDriver {
Show 27 variants ArmPsci = 1_229_149_008, ArmPsciCpuSuspend = 1_396_921_168, ArmGicV2 = 843_270_471, ArmGicV3 = 860_047_687, ArmGenericTimer = 1_296_651_329, ArmGenericTimerMmio = 1_296_913_473, Pl011Uart = 1_429_228_624, AmlogicUart = 1_431_063_873, AmlogicHdcp = 1_212_960_065, Dw8250Uart = 1_146_566_741, AmlogicRng = 1_212_960_082, Generic32Watchdog = 842_220_631, GeniUart = 1_229_866_311, I8250PioUart = 808_792_632, I8250Mmio32Uart = 1_295_331_896, I8250Mmio8Uart = 1_110_782_520, MotmotPower = 1_296_913_488, As370Power = 1_345_337_139, MoonflowerPower = 1_296_975_440, IrisPower = 1_230_132_048, ImxUart = 1_431_850_313, RiscvPlic = 1_128_877_136, RiscvGenericTimer = 1_296_651_346, PxaUart = 1_347_961_173, ExynosUsiUart = 1_163_417_941, QcomRng = 1_196_315_217, ArmSmmu = 1_431_129_425,
}
Expand description

ZBI_TYPE_KERNEL_DRIVER item types (for zbi_header_t.extra)

Variants§

§

ArmPsci = 1_229_149_008

‘PSCI’

§

ArmPsciCpuSuspend = 1_396_921_168

‘PSCS’

§

ArmGicV2 = 843_270_471

‘GIC2’

§

ArmGicV3 = 860_047_687

‘GIC3’

§

ArmGenericTimer = 1_296_651_329

‘ATIM’

§

ArmGenericTimerMmio = 1_296_913_473

‘ATMM’

§

Pl011Uart = 1_429_228_624

‘PL0U’

§

AmlogicUart = 1_431_063_873

‘AMLU’

§

AmlogicHdcp = 1_212_960_065

‘AMLH’

§

Dw8250Uart = 1_146_566_741

‘DW8U’

§

AmlogicRng = 1_212_960_082

‘RMLH’ (typoed, originally intended to by ‘AMLR’)

§

Generic32Watchdog = 842_220_631

‘WD32’

§

GeniUart = 1_229_866_311

‘GENI’

§

I8250PioUart = 808_792_632

‘8250’

§

I8250Mmio32Uart = 1_295_331_896

‘825M’

§

I8250Mmio8Uart = 1_110_782_520

‘825B’

§

MotmotPower = 1_296_913_488

‘MMTP’

§

As370Power = 1_345_337_139

‘370P’

§

MoonflowerPower = 1_296_975_440

‘MNFP’

§

IrisPower = 1_230_132_048

‘IRSP’

§

ImxUart = 1_431_850_313

‘IMXU’

§

RiscvPlic = 1_128_877_136

‘PLIC’

§

RiscvGenericTimer = 1_296_651_346

‘RTIM’

§

PxaUart = 1_347_961_173

‘PXAU’

§

ExynosUsiUart = 1_163_417_941

‘EXYU’

§

QcomRng = 1_196_315_217

QRNG

§

ArmSmmu = 1_431_129_425

‘SMMU’

Implementations§

Source§

impl KernelDriver

Source

pub fn from_raw(raw: u32) -> Option<Self>

Trait Implementations§

Source§

impl Clone for KernelDriver

Source§

fn clone(&self) -> KernelDriver

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for KernelDriver

Source§

impl Debug for KernelDriver

Source§

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

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

impl Eq for KernelDriver

Source§

impl IntoBytes for KernelDriver
where (): PaddingFree<Self, { _ }>,

Source§

impl PartialEq for KernelDriver

Source§

fn eq(&self, other: &KernelDriver) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for KernelDriver

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.