-/* $OpenBSD: pmap.h,v 1.60 2021/05/30 15:08:08 visa Exp $ */
+/* $OpenBSD: pmap.h,v 1.61 2023/01/21 19:39:28 miod Exp $ */
/* $NetBSD: pmap.h,v 1.1 1996/09/30 16:34:29 ws Exp $ */
/*-
void pmap_release(struct pmap *);
void pmap_real_memory(vaddr_t *start, vsize_t *size);
-void switchexit(struct proc *);
int pte_spill_v(struct pmap *pm, u_int32_t va, u_int32_t dsisr, int exec_fault);
#define pmap_copy(dst_pmap, src_pmap, dst_addr, len, src_addr) ;
typedef struct pmap *pmap_t;
-/*
- * Encode IO space for pmap_enter()
- *
- * Since sun4u machines don't have separate IO spaces, this is a noop.
- */
-#define PMAP_IOENC(io) 0
-
extern struct pmap kernel_pmap_;
#define pmap_kernel() (&kernel_pmap_)
#define __HAVE_PMAP_COLLECT
/* SPARC specific? */
-void pmap_redzone(void);
-int pmap_dumpsize(void);
-int pmap_dumpmmu(int (*)(dev_t, daddr_t, caddr_t, size_t), daddr_t);
-int pmap_pa_exists(paddr_t);
-struct proc;
-void switchexit(struct proc *);
+int pmap_dumpsize(void);
+int pmap_dumpmmu(int (*)(dev_t, daddr_t, caddr_t, size_t), daddr_t);
+int pmap_pa_exists(paddr_t);
/* SPARC64 specific */
int ctx_alloc(struct pmap*);
typedef struct pv_entry {
struct pv_entry *pv_next; /* next pv_entry */
struct pmap *pv_pmap; /* pmap where mapping lies */
- vaddr_t pv_va; /* virtual address for mapping */
+ vaddr_t pv_va; /* virtual address for mapping */
} *pv_entry_t;
/* PV flags encoded in the low bits of the VA of the first pv_entry */
-/* $OpenBSD: machdep.c,v 1.205 2022/10/30 17:43:40 guenther Exp $ */
+/* $OpenBSD: machdep.c,v 1.206 2023/01/21 19:39:28 miod Exp $ */
/* $NetBSD: machdep.c,v 1.108 2001/07/24 19:30:14 eeh Exp $ */
/*-
* Set up buffers, so they can be used to read disk labels.
*/
bufinit();
-
-#if 0
- pmap_redzone();
-#endif
}
/*