diff options
| author | Prashanth Mundkur | 2018-09-10 12:16:42 -0700 |
|---|---|---|
| committer | Prashanth Mundkur | 2018-10-23 15:32:15 -0700 |
| commit | 2cef8d0c31a09ea4fac9a48faff882dde4e98641 (patch) | |
| tree | a69ee2f3f27742cb971fadad6b29feb0700835ad /riscv/riscv_platform_impl.h | |
| parent | e489f2d37efa4c320004d35c3025c77e0a0c60d0 (diff) | |
RISC-V: Refactor c platform bits.
Diffstat (limited to 'riscv/riscv_platform_impl.h')
| -rw-r--r-- | riscv/riscv_platform_impl.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/riscv/riscv_platform_impl.h b/riscv/riscv_platform_impl.h new file mode 100644 index 00000000..baae2749 --- /dev/null +++ b/riscv/riscv_platform_impl.h @@ -0,0 +1,20 @@ +#pragma once + +#include <stdbool.h> +#include <stdint.h> + +/* Settings of the platform implementation. */ + +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; |
