From 36fe465c85d14950c37b7002fa52b0af179b0bc0 Mon Sep 17 00:00:00 2001 From: Per Fogelstrom Date: Wed, 4 Sep 1996 21:18:26 +0000 Subject: Some changes for new arc boxes --- sys/arch/arc/include/pte.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/arch/arc/include/pte.h') diff --git a/sys/arch/arc/include/pte.h b/sys/arch/arc/include/pte.h index a5e6ee48054..5ef6c626fd4 100644 --- a/sys/arch/arc/include/pte.h +++ b/sys/arch/arc/include/pte.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pte.h,v 1.1 1996/06/24 09:07:18 pefo Exp $ */ +/* $OpenBSD: pte.h,v 1.2 1996/09/04 21:18:24 pefo Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -106,6 +106,7 @@ typedef union pt_entry { #define PG_FRAME 0x3fffffc0 #define PG_SHIFT 6 #define vad_to_pfn(x) (((unsigned)(x) >> PG_SHIFT) & PG_FRAME) +#define vad_to_pfn64(x) (((quad_t)(x) >> PG_SHIFT) & PG_FRAME) #define pfn_to_vad(x) (((x) & PG_FRAME) << PG_SHIFT) #define vad_to_vpn(x) ((unsigned)(x) & PG_SVPN) #define vpn_to_vad(x) ((x) & PG_SVPN) -- cgit v1.2.3