mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 13:25:31 +00:00
target-sparc: Remove MMU_MODE*_SUFFIX
The functions that these generate are no longer used. Backports commit 47b2696b975b794c6fa7b9fa8ae4699e749d662c from qemu
This commit is contained in:
parent
00fc847229
commit
6b09040e23
|
@ -638,23 +638,15 @@ static inline CPUSPARCState *cpu_init(struct uc_struct *uc, const char *cpu_mode
|
|||
/* MMU modes definitions */
|
||||
#if defined (TARGET_SPARC64)
|
||||
#define MMU_USER_IDX 0
|
||||
#define MMU_MODE0_SUFFIX _user
|
||||
#define MMU_USER_SECONDARY_IDX 1
|
||||
#define MMU_MODE1_SUFFIX _user_secondary
|
||||
#define MMU_KERNEL_IDX 2
|
||||
#define MMU_MODE2_SUFFIX _kernel
|
||||
#define MMU_KERNEL_SECONDARY_IDX 3
|
||||
#define MMU_MODE3_SUFFIX _kernel_secondary
|
||||
#define MMU_NUCLEUS_IDX 4
|
||||
#define MMU_MODE4_SUFFIX _nucleus
|
||||
#define MMU_HYPV_IDX 5
|
||||
#define MMU_MODE5_SUFFIX _hypv
|
||||
#define MMU_PHYS_IDX 6
|
||||
#else
|
||||
#define MMU_USER_IDX 0
|
||||
#define MMU_MODE0_SUFFIX _user
|
||||
#define MMU_KERNEL_IDX 1
|
||||
#define MMU_MODE1_SUFFIX _kernel
|
||||
#define MMU_PHYS_IDX 2
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue