]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Darwin-user: Compile fix for ppc targets, by Pierre d'Herbemont.
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 19 Aug 2007 21:43:54 +0000 (21:43 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 19 Aug 2007 21:43:54 +0000 (21:43 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3123 c046a42c-6fe2-441c-8c8c-71466251a162

darwin-user/main.c

index 78cf864c1ed8f195256bafbdc3f0191b8c4ea7bd..fd62fc1b86e6bddb19f3521e6777341d108f1cf0 100644 (file)
@@ -150,6 +150,21 @@ void cpu_ppc_store_decr (CPUState *env, uint32_t value)
     /* TO FIX */
 }
 
+void cpu_ppc601_store_rtcu (CPUState *env, uint32_t value)
+{
+    cpu_ppc_store_tbu( env, value );
+}
+
+uint32_t cpu_ppc601_load_rtcu (CPUState *env)
+{
+    cpu_ppc_load_tbu(env);
+}
+
+uint32_t cpu_ppc601_load_rtcl (CPUState *env)
+{
+    return cpu_ppc_load_tbl(env) & 0x3FFFFF80;
+}
+
 void cpu_loop(CPUPPCState *env)
 {
     int trapnr;