gmux 0.1.0
Linux on Cloudflare Workers
Loading...
Searching...
No Matches
kb_cpu Struct Reference

#include <kb.h>

Data Fields

uint64_t r [KB_NREGS]
uint64_t pc
uint64_t fs
uint64_t tpidr
int n
int z
int c
int v
int p
int lz
int lz_w
uint64_t lz_b
uint64_t lz_c
uint64_t lz_r
int df
int arch
int exited
int status
struct kb_mapping maps [1024]
int nmaps
struct kb_image images [KB_IMAGES]
int nimages
struct kb_file files [KB_FILES]
int nfiles
uint64_t image_total
uint64_t image_filled
uint32_t mapgen
struct { 
   uint64_t   lo 
   uint64_t   end 
   uint64_t   tab 
   uint32_t   gen 
} ckno
uint32_t codegen
uint32_t hardgen
struct kb_cmark * marks
uint32_t nmarks
uint32_t capmarks
uint64_t wver
uint64_t brk_start
uint64_t brk_end
uint64_t mmap_next
struct kb_block * cache [4096]
const char * fault
const char * last_fault
uint64_t steps
int noplan
uint64_t plan_flags
uint64_t plan_flags_removed
uint64_t plan_flags_run
uint64_t plan_flags_ran
uint64_t plan_mem
uint64_t plan_mem_grouped
uint64_t plan_ops
uint64_t plan_ops_removed
int tracing
int segments
uint64_t decoded
uint64_t loaded
uint64_t lookups
void * persist
uint64_t traces
uint64_t trace_exits
uint64_t plan_ops_run
uint64_t plan_ops_ran
uint64_t ipc
uint64_t x [32][2]
uint32_t fpcr
uint32_t fpsr
uint32_t mxcsr
uint64_t excl
f80 st [8]
int top
uint8_t ftag
uint16_t fcw
uint16_t fcc
FILE * trace
struct kb_sigaction sig [65]
uint64_t sigmask
uint64_t saved_mask
int restore_mask
int fault_sig
int fault_code
int sigreturned
int segv_code
uint64_t fault_addr

Detailed Description

a foreign Linux process (x86-64 or AArch64 ELF) run by decoding its instructions to the gmux IR and interpreting that; its syscalls become the host's own POSIX calls. Guest addresses are 64-bit and live in mappings, each backed by host blocks of one piece each


The documentation for this struct was generated from the following file: