-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathcheriot.toml
More file actions
102 lines (89 loc) · 2.45 KB
/
Copy pathcheriot.toml
File metadata and controls
102 lines (89 loc) · 2.45 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# This is a config for Sail RISC-V in 32-bit mode
pc = "PC"
# No ifetch semantics for RISC-V
ifetch = "Read_ifetch"
read_exclusives = []
write_exclusives = []
assembler = "clang -target riscv32-unknown-unknown -mcpu=cheriot -mabi=cheriot -mxcheri-rvc -c -x assembler"
objdump = "llvm-objdump"
linker = "ld.lld"
nm = "nm"
# Currently not used for RISC-V
[mmu]
page_table_base = "0x300000"
page_size = "4096"
s2_page_table_base = "0x200000"
s2_page_size = "4096"
[threads]
base = "0x80100000"
top = "0x80300000"
stride = "0x10000"
[symbolic_addrs]
base = "0x80310000"
top = "0x80410000"
stride = "0x10"
[registers.defaults]
[reads]
Read_RISCV_acquire = "A"
Read_RISCV_strong_acquire = "A"
Read_RISCV_reserved_acquire = ["A", "X"]
Read_RISCV_reserved_strong_acquire = ["A", "X"]
[writes]
Write_RISCV_release = "L"
Write_RISCV_strong_release = "L"
Write_RISCV_conditional_release = ["L", "X"]
Write_RISCV_conditional_strong_release = ["L", "X"]
[cache_ops]
[barriers]
Barrier_RISCV_rw_rw = "Fence.rw.rw"
Barrier_RISCV_r_rw = "Fence.r.rw"
Barrier_RISCV_r_r = "Fence.r.r"
Barrier_RISCV_rw_w = "Fence.rw.w"
Barrier_RISCV_w_w = "Fence.w.w"
Barrier_RISCV_w_rw = "Fence.w.rw"
Barrier_RISCV_rw_r = "Fence.rw.r"
Barrier_RISCV_r_w = "Fence.r.w"
Barrier_RISCV_w_r = "Fence.w.r"
Barrier_RISCV_tso = "Fence.tso"
Barrier_RISCV_i = "Fence.i"
[const_primops]
get_config_print_reg = false
get_config_print_instr = false
get_config_print_platform = false
get_config_print_mem = false
get_config_print_exception = false
sys_enable_fdext = false
sys_enable_zfinx = false
sys_enable_rvc = true
sys_enable_next = false
sys_enable_vext = false
sys_enable_writable_fiom = true
sys_enable_writable_misa = true
sys_enable_bext = false
sys_pmp_count = "0 : %i64"
sys_pmp_grain = "0 : %i64"
plat_enable_pmp = false
plat_enable_dirty_update = false
plat_enable_misaligned_access = false
plat_mtval_has_illegal_inst_bits = false
plat_insns_per_tick = 10
plat_ram_base = "0x80000000"
plat_ram_size = "0x04000000"
plat_rom_base = "0x00001000"
plat_rom_size = "0x00000100"
plat_clint_base = "0x02000000"
plat_clint_size = "0x000c0000"
plat_uart_base = "0x10000000"
plat_uart_size = "0x00000100"
plat_htif_tohost = "0x40001000"
plat_get_16_random_bits = "undefined : %bv16"
plat_term_write = "()"
print_reg = "()"
print_platform = "()"
print_instr = "()"
print_mem_access = "()"
speculate_conditional = "undefined : %bool"
match_reservation = "true"
cancel_reservation = "()"
load_reservation = "()"
platform_write_mem_ea = "()"