summaryrefslogtreecommitdiff
path: root/sys/arch/vax/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-08-15 22:38:24 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-08-15 22:38:24 +0000
commit242c364a8ebb8e7e6a55f734898740a6d1f7bb85 (patch)
tree58e6f01c9ab725d1a3eb6c9aedb9f87365e0a195 /sys/arch/vax/include
parent61567d20f19a942433118834d8cd969217e72589 (diff)
Rename the cpu_dep hook ``steal_pages'' to ``init'', as it serves as an
early initialization routine (to enable caches, etc) while still running physical, and does not allocate memory anymore. (The irony in this is that forthcoming KA60 support actually steals pages in its init function...)
Diffstat (limited to 'sys/arch/vax/include')
-rw-r--r--sys/arch/vax/include/cpu.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/vax/include/cpu.h b/sys/arch/vax/include/cpu.h
index 4dc1b5a8654..19bd039089a 100644
--- a/sys/arch/vax/include/cpu.h
+++ b/sys/arch/vax/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.27 2008/07/18 23:43:31 art Exp $ */
+/* $OpenBSD: cpu.h,v 1.28 2008/08/15 22:38:20 miod Exp $ */
/* $NetBSD: cpu.h,v 1.41 1999/10/21 20:01:36 ragge Exp $ */
/*
@@ -69,7 +69,7 @@ extern struct cpu_info cpu_info_store;
* struct for the current cpu is set up in locore.c.
*/
struct cpu_dep {
- void (*cpu_steal_pages)(void); /* pmap init before mm is on */
+ void (*cpu_init)(void); /* pmap init before mm is on */
int (*cpu_mchk)(caddr_t); /* Machine check handling */
void (*cpu_memerr)(void); /* Memory subsystem errors */
/* Autoconfiguration */
@@ -97,7 +97,6 @@ extern int bootdev;
#define setsoftnet() mtpr(IPL_SOFTNET,PR_SIRR)
#define setsoftclock() mtpr(IPL_SOFTCLOCK,PR_SIRR)
-#define todr() mfpr(PR_TODR)
/*
* Preempt the current process if in interrupt from user mode,
* or after the current trap/syscall if in system mode.