From: mlarkin Date: Wed, 24 Jun 2015 07:18:13 +0000 (+0000) Subject: Remove a couple of unused and old #defines that discussed phys and virt X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=18297536774b87ceec687bd2fa4bee330e325762;p=openbsd Remove a couple of unused and old #defines that discussed phys and virt address widths in 1st-gen amd64 cpus. ok kettenis, deraadt, guenther --- 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. */