From: jsg Date: Mon, 29 Apr 2024 13:01:54 +0000 (+0000) Subject: remove prototypes for removed functions X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=08c42a48f5d0daca40dc0c7577e0ebd1537b884f;p=openbsd remove prototypes for removed functions --- diff --git a/sys/arch/arm64/arm64/machdep.c b/sys/arch/arm64/arm64/machdep.c index 7ae80ca6b83..98437f72c2f 100644 --- a/sys/arch/arm64/arm64/machdep.c +++ b/sys/arch/arm64/arm64/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.88 2024/03/17 13:05:40 kettenis Exp $ */ +/* $OpenBSD: machdep.c,v 1.89 2024/04/29 13:01:54 jsg Exp $ */ /* * Copyright (c) 2014 Patrick Wildt * Copyright (c) 2021 Mark Kettenis @@ -620,11 +620,6 @@ dumpsys(void) int (*dump)(dev_t, daddr_t, caddr_t, size_t); int error; -#if 0 - /* Save registers. */ - savectx(&dumppcb); -#endif - if (dumpdev == NODEV) return; diff --git a/sys/arch/arm64/include/cpu.h b/sys/arch/arm64/include/cpu.h index fc44e19d14e..4cc24ee7235 100644 --- a/sys/arch/arm64/include/cpu.h +++ b/sys/arch/arm64/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.45 2024/04/19 10:22:50 mpi Exp $ */ +/* $OpenBSD: cpu.h,v 1.46 2024/04/29 13:01:54 jsg Exp $ */ /* * Copyright (c) 2016 Dale Rahn * @@ -96,10 +96,6 @@ extern uint64_t cpu_id_aa64pfr1; #define PROC_PC(p) ((p)->p_addr->u_pcb.pcb_tf->tf_elr) #define PROC_STACK(p) ((p)->p_addr->u_pcb.pcb_tf->tf_sp) -/* The address of the vector page. */ -extern vaddr_t vector_page; -void arm32_vector_init(vaddr_t, int); - /* * Per-CPU information. For now we assume one CPU. */ @@ -276,29 +272,15 @@ void need_resched(struct cpu_info *); // asm code to start new kernel contexts. void proc_trampoline(void); -void child_trampoline(void); /* * Random cruft */ void dumpconf(void); -// cpuswitch.S -struct pcb; -void savectx (struct pcb *pcb); - -// machdep.h -void bootsync (int); - -// fault.c -int badaddr_read (void *, size_t, void *); - // syscall.c void svc_handler (trapframe_t *); -/* machine_machdep.c */ -void board_startup(void); - // functions to manipulate interrupt state static __inline void restore_daif(uint32_t daif)