From a062e36c58738321295e1031bebb1b89a0cdf01a Mon Sep 17 00:00:00 2001 From: j_mayer Date: Sun, 30 Sep 2007 00:38:38 +0000 Subject: Implement the PowerPC alternate time-base, following the 2.04 specification. Share most code with the time-base management routines. Remove time-base write routines from user-mode emulation environments. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3277 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-ppc/cpu.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'target-ppc/cpu.h') diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h index 21c3061f4..e4d12163a 100644 --- a/target-ppc/cpu.h +++ b/target-ppc/cpu.h @@ -625,6 +625,10 @@ uint32_t cpu_ppc_load_tbl (CPUPPCState *env); uint32_t cpu_ppc_load_tbu (CPUPPCState *env); void cpu_ppc_store_tbu (CPUPPCState *env, uint32_t value); void cpu_ppc_store_tbl (CPUPPCState *env, uint32_t value); +uint32_t cpu_ppc_load_atbl (CPUPPCState *env); +uint32_t cpu_ppc_load_atbu (CPUPPCState *env); +void cpu_ppc_store_atbl (CPUPPCState *env, uint32_t value); +void cpu_ppc_store_atbu (CPUPPCState *env, uint32_t value); uint32_t cpu_ppc_load_decr (CPUPPCState *env); void cpu_ppc_store_decr (CPUPPCState *env, uint32_t value); #if defined(TARGET_PPC64H) @@ -798,8 +802,8 @@ int ppc_dcr_write (ppc_dcr_t *dcr_env, int dcrn, target_ulong val); #define SPR_BOOKE_SPEFSCR (0x200) #define SPR_E500_BBEAR (0x201) #define SPR_E500_BBTAR (0x202) -#define SPR_BOOKE_ATBL (0x20E) -#define SPR_BOOKE_ATBU (0x20F) +#define SPR_ATBL (0x20E) +#define SPR_ATBU (0x20F) #define SPR_IBAT0U (0x210) #define SPR_BOOKE_IVOR32 (0x210) #define SPR_IBAT0L (0x211) -- cgit v1.2.3