Type Alias Eui64ComponentType

Source
pub type Eui64ComponentType = Eui64;

Aliased Type§

struct Eui64ComponentType { /* private fields */ }

Implementations

Source§

impl Eui64

Source

pub fn new(eui64: u64) -> Eui64

Trait Implementations

Source§

impl SyscallDriver for Eui64

Source§

fn command( &self, command_num: usize, _: usize, _: usize, _: ProcessId, ) -> CommandReturn

Control the Eui64.

§command_num
  • 0: Driver existence check.
  • 1: Obtain EUI64 - providing the value within a u64 returncode.
Source§

fn allocate_grant(&self, _: ProcessId) -> Result<(), Error>

Request to allocate a capsule’s grant for a specific process. Read more
Source§

fn allow_userspace_readable( &self, app: ProcessId, which: usize, slice: ReadWriteProcessBuffer, ) -> Result<ReadWriteProcessBuffer, (ReadWriteProcessBuffer, ErrorCode)>

System call for a process to pass a buffer (a UserspaceReadableProcessBuffer) to the kernel that the kernel can either read or write. The kernel calls this method only after it checks that the entire buffer is within memory the process can both read and write. Read more