summaryrefslogtreecommitdiff
path: root/lib/libkvm
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2008-03-30 14:49:46 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2008-03-30 14:49:46 +0000
commit36e1e857c366155854af14216f532b22b16db953 (patch)
tree72f6e0fcc8ac6e99c18005fbdfb7a13469a3be5f /lib/libkvm
parent41c4d8fced2068df2998cf9b2c0b1565c3eccaca (diff)
Unbreak build.
Diffstat (limited to 'lib/libkvm')
-rw-r--r--lib/libkvm/kvm_sparc64.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libkvm/kvm_sparc64.c b/lib/libkvm/kvm_sparc64.c
index 13953c46916..d8a313a9024 100644
--- a/lib/libkvm/kvm_sparc64.c
+++ b/lib/libkvm/kvm_sparc64.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_sparc64.c,v 1.6 2006/03/20 15:11:48 mickey Exp $ */
+/* $OpenBSD: kvm_sparc64.c,v 1.7 2008/03/30 14:49:45 kettenis Exp $ */
/* $NetBSD: kvm_sparc64.c,v 1.7 2001/08/05 03:33:15 matt Exp $ */
/*-
@@ -63,6 +63,12 @@
#include "kvm_private.h"
+/*
+ * UltraSPARC T1 & T2 implement only a 40-bit real address range, just
+ * like older UltraSPARC CPUs.
+ */
+#define TLB_PA_MASK SUN4U_TLB_PA_MASK
+
int _kvm_kvatop(kvm_t *, u_long, u_long *);
void