diff options
author | Jerry Zhao <jerryz123@berkeley.edu> | 2022-12-12 12:58:35 -0800 |
---|---|---|
committer | Jerry Zhao <jerryz123@berkeley.edu> | 2022-12-15 11:02:52 -0800 |
commit | 1d6381386c607dcc82f29b59a01bbb1b387973b4 (patch) | |
tree | 3b56efec8b1a996925ff039bf3a84a3b9d3e7ba8 /riscv/csrs.h | |
parent | d00c01d2af6c141c0a9147533323582e6491e9c3 (diff) | |
download | riscv-isa-sim-1d6381386c607dcc82f29b59a01bbb1b387973b4.zip riscv-isa-sim-1d6381386c607dcc82f29b59a01bbb1b387973b4.tar.gz riscv-isa-sim-1d6381386c607dcc82f29b59a01bbb1b387973b4.tar.bz2 |
Split decode.h into public decode.h and private decode_macros.h
* decode.h contains constants/typedefs/classes. This should not depend on config.h
* decode_macros.h contains internally used macros, and depends on config.h
Diffstat (limited to 'riscv/csrs.h')
-rw-r--r-- | riscv/csrs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/riscv/csrs.h b/riscv/csrs.h index 83ae2fa..8734339 100644 --- a/riscv/csrs.h +++ b/riscv/csrs.h @@ -2,6 +2,8 @@ #ifndef _RISCV_CSRS_H #define _RISCV_CSRS_H +#include "common.h" +#include "encoding.h" // For reg_t: #include "decode.h" // For std::shared_ptr |