From 28487340f22a1dbed1f5359ee6d9724291631dba Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Tue, 17 Sep 2002 07:47:10 +0000 Subject: [PATCH] #if 0 out the following functions: cpu_export_context() cpu_set_args() cpu_free_kse_mdstorage() cpu_export_context() --- sys/alpha/alpha/vm_machdep.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/sys/alpha/alpha/vm_machdep.c b/sys/alpha/alpha/vm_machdep.c index c34f9f1ec018..d46e5596219b 100644 --- a/sys/alpha/alpha/vm_machdep.c +++ b/sys/alpha/alpha/vm_machdep.c @@ -274,6 +274,7 @@ struct md_store { struct trapframe mds_frame; }; +#if 0 void cpu_save_upcall(struct thread *td, struct kse *newkse) { @@ -294,6 +295,7 @@ cpu_save_upcall(struct thread *td, struct kse *newkse) /* This copies most of the user mode register values. */ bcopy(td->td_frame, newkse->ke_frame, sizeof(struct trapframe)); } +#endif void cpu_set_upcall(struct thread *td, void *pcb) @@ -345,6 +347,7 @@ cpu_set_upcall(struct thread *td, void *pcb) #endif } +#if 0 void cpu_set_args(struct thread *td, struct kse *ke) { @@ -353,7 +356,9 @@ cpu_set_args(struct thread *td, struct kse *ke) (int)ke->ke_mailbox); */ } +#endif +#if 0 void cpu_free_kse_mdstorage(struct kse *kse) { @@ -363,12 +368,14 @@ cpu_free_kse_mdstorage(struct kse *kse) kse->ke_pcb = NULL; kse->ke_frame = NULL; } +#endif +#if 0 int cpu_export_context(struct thread *td) { + /* XXXKSE */ -#if 0 struct trapframe *frame; struct thread_mailbox *tm; struct trapframe *uframe; @@ -384,9 +391,9 @@ cpu_export_context(struct thread *td) * May need to fiddle a few other values too. */ return (error); -#endif return (0); } +#endif void cpu_wait(p)