shithub: riscv

ref: 61a062ee9ff7bbd489baba6dd7c6adb1978e246b
dir: /sys/src/games/v8e/fns.h/

View raw version
void step(void);
u8int memread8(u32int);
u16int memread16(u32int);
u32int memread32(u32int);
void memwrite(u32int, u32int, u32int);
void syscall(u16int);
void writem(vlong, u32int, int);
void *emalloc(ulong);
void sysinit(void);
u32int readm(vlong, int);
u64int readm64(vlong, int);
u32int addrof(vlong);
void writem(vlong, u32int, int);
void writem64(vlong, u64int, int);
vlong amode(int);
int load(char *, char **, char **);