diff options
author | Bharata B Rao <bharata@linux.vnet.ibm.com> | 2014-09-26 14:37:37 +0530 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-11-04 23:26:12 +0100 |
commit | 54ff58bb10acd6938b43dd3504ece4a7f4eb3fa1 (patch) | |
tree | 9fd8735530e5cd45a22f6b7956c38cee6a6e43cc /target-ppc/cpu.h | |
parent | bf362e96106648f5dd53c7a4af4e5aed3ef09f5d (diff) |
target-ppc: Use macros in opcodes table handling code
Define and use macros instead of direct numbers wherever
possible in ppc opcodes table handling code.
This doesn't change any code functionality.
Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/cpu.h')
-rw-r--r-- | target-ppc/cpu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h index f367344475..068fcb24a2 100644 --- a/target-ppc/cpu.h +++ b/target-ppc/cpu.h @@ -924,7 +924,8 @@ struct ppc_segment_page_sizes { /* The whole PowerPC CPU context */ #define NB_MMU_MODES 3 -#define PPC_CPU_OPCODES_LEN 0x40 +#define PPC_CPU_OPCODES_LEN 0x40 +#define PPC_CPU_INDIRECT_OPCODES_LEN 0x20 struct CPUPPCState { /* First are the most commonly used resources |