pub enum DirectMsgArgs {
Args32([u32; 5]),
Args64([u64; 5]),
VersionReq {
version: Version,
},
VersionResp {
version: Option<Version>,
},
PowerPsciReq32 {
params: [u32; 4],
},
PowerPsciReq64 {
params: [u64; 4],
},
PowerWarmBootReq {
boot_type: WarmBootType,
},
PowerPsciResp {
psci_status: i32,
},
VmCreated {
handle: Handle,
vm_id: u16,
},
VmCreatedAck {
sp_status: VmAvailabilityStatus,
},
VmDestructed {
handle: Handle,
vm_id: u16,
},
VmDestructedAck {
sp_status: VmAvailabilityStatus,
},
}Expand description
Arguments for the FFA_MSG_SEND_DIRECT_{REQ,RESP} interfaces.
Variants§
Args32([u32; 5])
Args64([u64; 5])
VersionReq
Message for forwarding FFA_VERSION call from Normal world to the SPMC
VersionResp
Response message to forwarded FFA_VERSION call from the Normal world Contains the version returned by the SPMC or None
PowerPsciReq32
Message for a power management operation initiated by a PSCI function
PowerPsciReq64
Message for a power management operation initiated by a PSCI function
PowerWarmBootReq
Message for a warm boot
Fields
boot_type: WarmBootTypePowerPsciResp
Response message to indicate return status of the last power management request message Return error code SUCCESS or DENIED as defined in PSCI spec. Caller is left to do the parsing of the return status.
VmCreated
Message to signal creation of a VM
VmCreatedAck
Message to acknowledge creation of a VM
Fields
sp_status: VmAvailabilityStatusVmDestructed
Message to signal destruction of a VM
VmDestructedAck
Message to acknowledge destruction of a VM
Fields
sp_status: VmAvailabilityStatusTrait Implementations§
Source§impl Clone for DirectMsgArgs
impl Clone for DirectMsgArgs
Source§fn clone(&self) -> DirectMsgArgs
fn clone(&self) -> DirectMsgArgs
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more