summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/include/cpu.h7
-rw-r--r--sys/powerpc/include/md_var.h3
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/powerpc/include/cpu.h b/sys/powerpc/include/cpu.h
index 84ffb3b..ae3893d 100644
--- a/sys/powerpc/include/cpu.h
+++ b/sys/powerpc/include/cpu.h
@@ -92,8 +92,13 @@ get_cyclecount(void)
#define cpu_getstack(td) ((td)->td_frame->fixreg[1])
-void savectx(struct pcb *);
+void cpu_halt(void);
+void cpu_reset(void);
void fork_trampoline(void);
+void swi_vm(void *);
+
+/* XXX the following should not be here. */
+void savectx(struct pcb *);
int kcopy(const void *, void *, size_t);
#endif /* _MACHINE_CPU_H_ */
diff --git a/sys/powerpc/include/md_var.h b/sys/powerpc/include/md_var.h
index cc57618..9e98647 100644
--- a/sys/powerpc/include/md_var.h
+++ b/sys/powerpc/include/md_var.h
@@ -51,10 +51,7 @@ struct cam_sim;
struct pcicfg;
void busdma_swi(void);
-void cpu_halt(void);
-void cpu_reset(void);
int is_physical_memory(vm_offset_t addr);
-void swi_vm(void *);
void decr_init(void);
OpenPOWER on IntegriCloud