#ifndef __SMCC_RISCV32_ASM_H__ #define __SMCC_RISCV32_ASM_H__ #include #include #include "symtab_asm.h" typedef struct rv32_prog { strpool_t* strpool; symtab_asm_t symtab; u32_t text_base_address; u32_t data_base_address; VECTOR_HEADER(data, iptr_t); mcode_rv32_t mcode; } rv32_prog_t; void init_rv32_prog(rv32_prog_t* prog, strpool_t* strpool); #endif