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.cc | |
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.cc')
-rw-r--r-- | riscv/csrs.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/csrs.cc b/riscv/csrs.cc index c41890b..15a17d4 100644 --- a/riscv/csrs.cc +++ b/riscv/csrs.cc @@ -8,7 +8,7 @@ #include "processor.h" #include "mmu.h" // For get_field(): -#include "decode.h" +#include "decode_macros.h" // For trap_virtual_instruction and trap_illegal_instruction: #include "trap.h" // For require(): |