summaryrefslogtreecommitdiff
path: root/sys/arch/mvmeppc/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mvmeppc/include')
-rw-r--r--sys/arch/mvmeppc/include/cpu.h14
-rw-r--r--sys/arch/mvmeppc/include/disklabel.h3
-rw-r--r--sys/arch/mvmeppc/include/vmparam.h4
3 files changed, 8 insertions, 13 deletions
diff --git a/sys/arch/mvmeppc/include/cpu.h b/sys/arch/mvmeppc/include/cpu.h
index e51c1708603..278051c2110 100644
--- a/sys/arch/mvmeppc/include/cpu.h
+++ b/sys/arch/mvmeppc/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.2 2001/09/02 19:40:24 miod Exp $ */
+/* $OpenBSD: cpu.h,v 1.3 2001/11/06 22:45:57 miod Exp $ */
/* $NetBSD: cpu.h,v 1.1 1996/09/30 16:34:21 ws Exp $ */
/*
@@ -38,10 +38,8 @@
#define CACHELINESIZE 32 /* For now XXX */
-extern __inline void
-syncicache(from, len)
- void *from;
- int len;
+static __inline void
+syncicache(void *from, int len)
{
int l = len;
char *p = from;
@@ -60,10 +58,8 @@ syncicache(from, len)
__asm__ __volatile__ ("isync");
}
-extern __inline void
-invdcache(from, len)
- void *from;
- int len;
+static __inline void
+invdcache(void *from, int len)
{
int l = len;
char *p = from;
diff --git a/sys/arch/mvmeppc/include/disklabel.h b/sys/arch/mvmeppc/include/disklabel.h
index 61ccca25afe..44a54eae871 100644
--- a/sys/arch/mvmeppc/include/disklabel.h
+++ b/sys/arch/mvmeppc/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.1 2001/06/26 21:57:44 smurph Exp $ */
+/* $OpenBSD: disklabel.h,v 1.2 2001/11/06 22:45:57 miod Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@@ -100,7 +100,6 @@ get_le(p)
void *p;
#endif
{
- u_int32_t c;
u_int8_t *_p = (u_int8_t *)p;
int x;
x = _p[0];
diff --git a/sys/arch/mvmeppc/include/vmparam.h b/sys/arch/mvmeppc/include/vmparam.h
index 418d3cda2da..c036d1c2392 100644
--- a/sys/arch/mvmeppc/include/vmparam.h
+++ b/sys/arch/mvmeppc/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.5 2001/09/22 18:00:10 miod Exp $ */
+/* $OpenBSD: vmparam.h,v 1.6 2001/11/06 22:45:57 miod Exp $ */
/* $NetBSD: vmparam.h,v 1.1 1996/09/30 16:34:38 ws Exp $ */
/*-
@@ -96,7 +96,7 @@
extern vm_offset_t ppc_kvm_size;
#define VM_KERN_ADDRESS_SIZE (ppc_kvm_size)
#define VM_MAX_KERNEL_ADDRESS ((vm_offset_t)((KERNEL_SR << ADDR_SR_SHFT) \
- + VM_KERN_ADDRESS_SIZE))
+ + SEGMENT_LENGTH))
#define VM_KMEM_SIZE (NKMEMCLUSTERS * PAGE_SIZE)
#define VM_MBUF_SIZE (NMBCLUSTERS * PAGE_SIZE)