Crate openvm_platform

Source
Expand description

Platform definitions for OpenVM, including memory regions, low-level runtime functions, custom instruction constants, and assembly macros. This crate is intended to be lightweight and imported both when the target is OpenVM and when it is a normal host machine.

Modules§

  • Standard IO file descriptors for use with sys_read and sys_write.
  • This module contains the components required to link a Rust binary.

Constants§

  • Size of a zkVM memory page.
  • 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§