FuncId

Enum FuncId 

Source
#[repr(u32)]
pub enum FuncId {
Show 58 variants Error = 2_214_592_608, Success32 = 2_214_592_609, Success64 = 3_288_334_433, Interrupt = 2_214_592_610, Version = 2_214_592_611, Features = 2_214_592_612, RxAcquire = 2_214_592_644, RxRelease = 2_214_592_613, RxTxMap32 = 2_214_592_614, RxTxMap64 = 3_288_334_438, RxTxUnmap = 2_214_592_615, PartitionInfoGet = 2_214_592_616, PartitionInfoGetRegs = 3_288_334_475, IdGet = 2_214_592_617, SpmIdGet = 2_214_592_645, ConsoleLog32 = 2_214_592_650, ConsoleLog64 = 3_288_334_474, MsgWait = 2_214_592_619, Yield = 2_214_592_620, Run = 2_214_592_621, NormalWorldResume = 2_214_592_636, MsgSend2 = 2_214_592_646, MsgSendDirectReq32 = 2_214_592_623, MsgSendDirectReq64 = 3_288_334_447, MsgSendDirectReq64_2 = 3_288_334_477, MsgSendDirectResp32 = 2_214_592_624, MsgSendDirectResp64 = 3_288_334_448, MsgSendDirectResp64_2 = 3_288_334_478, NotificationBitmapCreate = 2_214_592_637, NotificationBitmapDestroy = 2_214_592_638, NotificationBind = 2_214_592_639, NotificationUnbind = 2_214_592_640, NotificationSet = 2_214_592_641, NotificationGet = 2_214_592_642, NotificationInfoGet32 = 2_214_592_643, NotificationInfoGet64 = 3_288_334_467, El3IntrHandle = 2_214_592_652, SecondaryEpRegister32 = 2_214_592_647, SecondaryEpRegister64 = 3_288_334_471, MemDonate32 = 2_214_592_625, MemDonate64 = 3_288_334_449, MemLend32 = 2_214_592_626, MemLend64 = 3_288_334_450, MemShare32 = 2_214_592_627, MemShare64 = 3_288_334_451, MemRetrieveReq32 = 2_214_592_628, MemRetrieveReq64 = 3_288_334_452, MemRetrieveResp = 2_214_592_629, MemRelinquish = 2_214_592_630, MemReclaim = 2_214_592_631, MemPermGet32 = 2_214_592_648, MemPermGet64 = 3_288_334_472, MemPermSet32 = 2_214_592_649, MemPermSet64 = 3_288_334_473, MemOpPause = 2_214_592_632, MemOpResume = 2_214_592_633, MemFragRx = 2_214_592_634, MemFragTx = 2_214_592_635,
}
Expand description

Function IDs of the various FF-A interfaces.

Variants§

§

Error = 2_214_592_608

§

Success32 = 2_214_592_609

§

Success64 = 3_288_334_433

§

Interrupt = 2_214_592_610

§

Version = 2_214_592_611

§

Features = 2_214_592_612

§

RxAcquire = 2_214_592_644

§

RxRelease = 2_214_592_613

§

RxTxMap32 = 2_214_592_614

§

RxTxMap64 = 3_288_334_438

§

RxTxUnmap = 2_214_592_615

§

PartitionInfoGet = 2_214_592_616

§

PartitionInfoGetRegs = 3_288_334_475

§

IdGet = 2_214_592_617

§

SpmIdGet = 2_214_592_645

§

ConsoleLog32 = 2_214_592_650

§

ConsoleLog64 = 3_288_334_474

§

MsgWait = 2_214_592_619

§

Yield = 2_214_592_620

§

Run = 2_214_592_621

§

NormalWorldResume = 2_214_592_636

§

MsgSend2 = 2_214_592_646

§

MsgSendDirectReq32 = 2_214_592_623

§

MsgSendDirectReq64 = 3_288_334_447

§

MsgSendDirectReq64_2 = 3_288_334_477

§

MsgSendDirectResp32 = 2_214_592_624

§

MsgSendDirectResp64 = 3_288_334_448

§

MsgSendDirectResp64_2 = 3_288_334_478

§

NotificationBitmapCreate = 2_214_592_637

§

NotificationBitmapDestroy = 2_214_592_638

§

NotificationBind = 2_214_592_639

§

NotificationUnbind = 2_214_592_640

§

NotificationSet = 2_214_592_641

§

NotificationGet = 2_214_592_642

§

NotificationInfoGet32 = 2_214_592_643

§

NotificationInfoGet64 = 3_288_334_467

§

El3IntrHandle = 2_214_592_652

§

SecondaryEpRegister32 = 2_214_592_647

§

SecondaryEpRegister64 = 3_288_334_471

§

MemDonate32 = 2_214_592_625

§

MemDonate64 = 3_288_334_449

§

MemLend32 = 2_214_592_626

§

MemLend64 = 3_288_334_450

§

MemShare32 = 2_214_592_627

§

MemShare64 = 3_288_334_451

§

MemRetrieveReq32 = 2_214_592_628

§

MemRetrieveReq64 = 3_288_334_452

§

MemRetrieveResp = 2_214_592_629

§

MemRelinquish = 2_214_592_630

§

MemReclaim = 2_214_592_631

§

MemPermGet32 = 2_214_592_648

§

MemPermGet64 = 3_288_334_472

§

MemPermSet32 = 2_214_592_649

§

MemPermSet64 = 3_288_334_473

§

MemOpPause = 2_214_592_632

§

MemOpResume = 2_214_592_633

§

MemFragRx = 2_214_592_634

§

MemFragTx = 2_214_592_635

Implementations§

Source§

impl FuncId

Source

pub fn is_32bit(&self) -> bool

Returns true if this is a 32-bit call, or false if it is a 64-bit call.

Source

pub fn minimum_ffa_version(&self) -> Version

Returns the FF-A version that has introduced the function ID.

Trait Implementations§

Source§

impl Clone for FuncId

Source§

fn clone(&self) -> FuncId

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for FuncId

Source§

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

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

impl From<FuncId> for u32

Source§

fn from(enum_value: FuncId) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for FuncId

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · 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 TryFrom<u32> for FuncId

Source§

type Error = Error

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

fn try_from(number: u32) -> Result<Self, Error>

Performs the conversion.
Source§

impl TryFromPrimitive for FuncId

Source§

const NAME: &'static str = "FuncId"

Source§

type Primitive = u32

Source§

type Error = Error

Source§

fn try_from_primitive(number: Self::Primitive) -> Result<Self, Error>

Source§

impl Copy for FuncId

Source§

impl Eq for FuncId

Source§

impl StructuralPartialEq for FuncId

Auto Trait Implementations§

§

impl Freeze for FuncId

§

impl RefUnwindSafe for FuncId

§

impl Send for FuncId

§

impl Sync for FuncId

§

impl Unpin for FuncId

§

impl UnwindSafe for FuncId

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, 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.