[][src]Trait solana_rbpf::ebpf::SyscallObject

pub trait SyscallObject<E: UserDefinedError> {
    fn call(
        &mut self,
        _: u64,
        _: u64,
        _: u64,
        _: u64,
        _: u64,
        _: &[MemoryRegion],
        _: &[MemoryRegion]
    ) -> Result<u64, EbpfError<E>>; }

Syscall with context

Required methods

fn call(
    &mut self,
    _: u64,
    _: u64,
    _: u64,
    _: u64,
    _: u64,
    _: &[MemoryRegion],
    _: &[MemoryRegion]
) -> Result<u64, EbpfError<E>>

Call the syscall function

Loading content...

Implementors

Loading content...