From 18297536774b87ceec687bd2fa4bee330e325762 Mon Sep 17 00:00:00 2001 From: mlarkin Date: Wed, 24 Jun 2015 07:18:13 +0000 Subject: [PATCH] Remove a couple of unused and old #defines that discussed phys and virt address widths in 1st-gen amd64 cpus. ok kettenis, deraadt, guenther --- sys/arch/amd64/include/pmap.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/sys/arch/amd64/include/pmap.h b/sys/arch/amd64/include/pmap.h index b311d0baa2b..3d6aec252df 100644 --- a/sys/arch/amd64/include/pmap.h +++ b/sys/arch/amd64/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.55 2015/03/10 20:12:39 kettenis Exp $ */ +/* $OpenBSD: pmap.h,v 1.56 2015/06/24 07:18:13 mlarkin Exp $ */ /* $NetBSD: pmap.h,v 1.1 2003/04/26 18:39:46 fvdl Exp $ */ /* @@ -130,17 +130,6 @@ * complexity to the calculations. */ -/* - * The first generation of Hammer processors can use 48 bits of - * virtual memory, and 40 bits of physical memory. This will be - * more for later generations. These defines can be changed to - * variable names containing the # of bits, extracted from an - * extended cpuid instruction (variables are harder to use during - * bootstrap, though) - */ -#define VIRT_BITS 48 -#define PHYS_BITS 40 - /* * Mask to get rid of the sign-extended part of addresses. */ -- 2.20.1