mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
tcg: Declare TARGET_INSN_START_EXTRA_WORDS in 'cpu-param.h'
To avoid including the huge "cpu.h" for a simple definition, move TARGET_INSN_START_EXTRA_WORDS to "cpu-param.h". Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
79b835f139
commit
21d41c566d
23 changed files with 34 additions and 30 deletions
|
@ -16,6 +16,14 @@
|
|||
# define TARGET_VIRT_ADDR_SPACE_BITS 32 /* sv32 */
|
||||
#endif
|
||||
#define TARGET_PAGE_BITS 12 /* 4 KiB Pages */
|
||||
|
||||
/*
|
||||
* RISC-V-specific extra insn start words:
|
||||
* 1: Original instruction opcode
|
||||
* 2: more information about instruction
|
||||
*/
|
||||
#define TARGET_INSN_START_EXTRA_WORDS 2
|
||||
|
||||
/*
|
||||
* The current MMU Modes are:
|
||||
* - U mode 0b000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue