Crate risc0_zkvm_platform

Source
Expand description

Platform definitions for the RISC Zero zkVM, including IO port addresses, memory regions, and low-level runtime functions.

Modules§

fileno
Standard IO file descriptors for use with sys_read and sys_write.
memory
syscall

Macros§

declare_syscall
Construct a SyscallName declaration at compile time.

Constants§

PAGE_SIZE
Size of a zkVM memory page.
WORD_SIZE
Size of a zkVM machine word in bytes. 4 bytes (i.e. 32 bits) as the zkVM is an implementation of the rv32im ISA.

Functions§

align_up
Align address upwards.