11namespace sysio {
namespace chain {
namespace eosvmoc {
18 static constexpr size_t wcb_allowance = 512u;
19 static_assert(
sizeof(
control_block) <= wcb_allowance,
"SYS VM OC memory doesn't set aside enough memory for control block");
44 static constexpr size_t stride = total_memory_per_slice;
66#define OFFSET_OF_CONTROL_BLOCK_MEMBER(M) (-(int)sysio::chain::eosvmoc::memory::cb_offset + (int)offsetof(sysio::chain::eosvmoc::control_block, M))
67#define OFFSET_OF_FIRST_INTRINSIC ((int)-sysio::chain::eosvmoc::memory::first_intrinsic_offset)
static constexpr size_t stride
uint8_t *const full_page_memory_base() const
memory(uint64_t max_pages)
memory(const memory &)=delete
static constexpr uintptr_t first_intrinsic_offset
memory & operator=(const memory &)=delete
uint8_t *const zero_page_memory_base() const
uint8_t *const start_of_memory_slices() const
static constexpr uintptr_t cb_offset
control_block *const get_control_block() const
void reset(uint64_t max_pages)
static constexpr uintptr_t linear_memory
size_t size_of_memory_slice_mapping() const
static constexpr uintptr_t max_prologue_size
#define EOS_VM_OC_CONTROL_BLOCK_OFFSET
#define EOS_VM_OC_MEMORY_STRIDE
eos_vm_oc_control_block control_block
constexpr std::size_t intrinsic_table_size()
constexpr unsigned maximum_table_elements
constexpr unsigned maximum_mutable_globals
_W64 unsigned int uintptr_t
unsigned __int64 uint64_t