From fbfb955028d072fa49ac57b83e3f6e7e02c67d2a Mon Sep 17 00:00:00 2001 From: kato Date: Sat, 24 Apr 1999 04:16:22 +0000 Subject: 1MB is not 1024 * 1024 * 1024 but 1024 * 1024. --- sys/amd64/amd64/legacy.c | 4 ++-- sys/amd64/amd64/nexus.c | 4 ++-- sys/i386/i386/legacy.c | 4 ++-- sys/i386/i386/nexus.c | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sys/amd64/amd64/legacy.c b/sys/amd64/amd64/legacy.c index cfb7b03..76e4d3f 100644 --- a/sys/amd64/amd64/legacy.c +++ b/sys/amd64/amd64/legacy.c @@ -26,7 +26,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: nexus.c,v 1.3 1999/04/19 08:04:19 peter Exp $ + * $Id: nexus.c,v 1.4 1999/04/21 07:26:26 peter Exp $ */ /* @@ -245,7 +245,7 @@ nexus_alloc_resource(device_t bus, device_t child, int type, int *rid, if (type == SYS_RES_MEMORY) { caddr_t vaddr = 0; - if (rv->r_end < 1024 * 1024 * 1024) { + if (rv->r_end < 1024 * 1024) { /* * The first 1Mb is mapped at KERNBASE. */ diff --git a/sys/amd64/amd64/nexus.c b/sys/amd64/amd64/nexus.c index cfb7b03..76e4d3f 100644 --- a/sys/amd64/amd64/nexus.c +++ b/sys/amd64/amd64/nexus.c @@ -26,7 +26,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: nexus.c,v 1.3 1999/04/19 08:04:19 peter Exp $ + * $Id: nexus.c,v 1.4 1999/04/21 07:26:26 peter Exp $ */ /* @@ -245,7 +245,7 @@ nexus_alloc_resource(device_t bus, device_t child, int type, int *rid, if (type == SYS_RES_MEMORY) { caddr_t vaddr = 0; - if (rv->r_end < 1024 * 1024 * 1024) { + if (rv->r_end < 1024 * 1024) { /* * The first 1Mb is mapped at KERNBASE. */ diff --git a/sys/i386/i386/legacy.c b/sys/i386/i386/legacy.c index cfb7b03..76e4d3f 100644 --- a/sys/i386/i386/legacy.c +++ b/sys/i386/i386/legacy.c @@ -26,7 +26,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: nexus.c,v 1.3 1999/04/19 08:04:19 peter Exp $ + * $Id: nexus.c,v 1.4 1999/04/21 07:26:26 peter Exp $ */ /* @@ -245,7 +245,7 @@ nexus_alloc_resource(device_t bus, device_t child, int type, int *rid, if (type == SYS_RES_MEMORY) { caddr_t vaddr = 0; - if (rv->r_end < 1024 * 1024 * 1024) { + if (rv->r_end < 1024 * 1024) { /* * The first 1Mb is mapped at KERNBASE. */ diff --git a/sys/i386/i386/nexus.c b/sys/i386/i386/nexus.c index cfb7b03..76e4d3f 100644 --- a/sys/i386/i386/nexus.c +++ b/sys/i386/i386/nexus.c @@ -26,7 +26,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: nexus.c,v 1.3 1999/04/19 08:04:19 peter Exp $ + * $Id: nexus.c,v 1.4 1999/04/21 07:26:26 peter Exp $ */ /* @@ -245,7 +245,7 @@ nexus_alloc_resource(device_t bus, device_t child, int type, int *rid, if (type == SYS_RES_MEMORY) { caddr_t vaddr = 0; - if (rv->r_end < 1024 * 1024 * 1024) { + if (rv->r_end < 1024 * 1024) { /* * The first 1Mb is mapped at KERNBASE. */ -- cgit v1.1