diff options
| author | Leon Alrae | 2014-07-07 12:23:56 +0200 |
|---|---|---|
| committer | Leon Alrae | 2014-11-03 12:48:34 +0100 |
| commit | 55e9409366c5b7954a5dfb3efec9b191c238dd12 (patch) | |
| tree | 4cefa163beecf3218ba9e30b09646e29cee24d1d /include | |
| parent | target-mips: add KScratch registers (diff) | |
| download | qemu-55e9409366c5b7954a5dfb3efec9b191c238dd12.tar.gz qemu-55e9409366c5b7954a5dfb3efec9b191c238dd12.tar.xz qemu-55e9409366c5b7954a5dfb3efec9b191c238dd12.zip | |
softmmu: provide softmmu access type enum
New MIPS features depend on the access type and enum is more convenient than
using the numbers directly.
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/exec/cpu-common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/exec/cpu-common.h b/include/exec/cpu-common.h index e3ec4c8e0c..427b8515a3 100644 --- a/include/exec/cpu-common.h +++ b/include/exec/cpu-common.h @@ -26,6 +26,12 @@ typedef struct CPUListState { FILE *file; } CPUListState; +typedef enum MMUAccessType { + MMU_DATA_LOAD = 0, + MMU_DATA_STORE = 1, + MMU_INST_FETCH = 2 +} MMUAccessType; + #if !defined(CONFIG_USER_ONLY) enum device_endian { |
