diff options
author | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-09-30 00:38:38 +0000 |
---|---|---|
committer | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-09-30 00:38:38 +0000 |
commit | a062e36c58738321295e1031bebb1b89a0cdf01a (patch) | |
tree | 46bc4ffc59fa6f26dd710a93cba5a18cbff9e5f2 /target-ppc/translate_init.c | |
parent | 4887d78b01594d994d51db8d11c1a04e65fca032 (diff) |
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
Diffstat (limited to 'target-ppc/translate_init.c')
-rw-r--r-- | target-ppc/translate_init.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c index 53a6abf9c8..285e351432 100644 --- a/target-ppc/translate_init.c +++ b/target-ppc/translate_init.c @@ -162,6 +162,18 @@ static void spr_read_tbu (void *opaque, int sprn) gen_op_load_tbu(); } +__attribute__ (( unused )) +static void spr_read_atbl (void *opaque, int sprn) +{ + gen_op_load_atbl(); +} + +__attribute__ (( unused )) +static void spr_read_atbu (void *opaque, int sprn) +{ + gen_op_load_atbu(); +} + #if !defined(CONFIG_USER_ONLY) static void spr_write_tbl (void *opaque, int sprn) { @@ -172,6 +184,18 @@ static void spr_write_tbu (void *opaque, int sprn) { gen_op_store_tbu(); } + +__attribute__ (( unused )) +static void spr_write_atbl (void *opaque, int sprn) +{ + gen_op_store_atbl(); +} + +__attribute__ (( unused )) +static void spr_write_atbu (void *opaque, int sprn) +{ + gen_op_store_atbu(); +} #endif #if !defined(CONFIG_USER_ONLY) |