blob: 562f8554aa40d0878bda2c6f19784bc31c6605cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#pragma once
#include <stdbool.h>
#include <stdint.h>
/* Settings of the platform implementation. */
#define DEFAULT_RSTVEC 0x00001000
#define SAIL_XLEN 64
extern bool rv_enable_dirty_update;
extern bool rv_enable_misaligned;
extern uint64_t rv_ram_base;
extern uint64_t rv_ram_size;
extern uint64_t rv_rom_base;
extern uint64_t rv_rom_size;
extern uint64_t rv_clint_base;
extern uint64_t rv_clint_size;
extern uint64_t rv_htif_tohost;
extern uint64_t rv_insns_per_tick;
extern int term_fd;
void plat_term_write_impl(char c);
|