diff options
author | kato <kato@FreeBSD.org> | 1999-04-24 04:16:22 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1999-04-24 04:16:22 +0000 |
commit | fbfb955028d072fa49ac57b83e3f6e7e02c67d2a (patch) | |
tree | eb5622fd4b01c5b6ae313b7eae7c67dc05a70a1f /sys/amd64 | |
parent | 62191265703d93ac96d08e284efb482853a7f9ab (diff) | |
download | FreeBSD-src-fbfb955028d072fa49ac57b83e3f6e7e02c67d2a.zip FreeBSD-src-fbfb955028d072fa49ac57b83e3f6e7e02c67d2a.tar.gz |
1MB is not 1024 * 1024 * 1024 but 1024 * 1024.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/legacy.c | 4 | ||||
-rw-r--r-- | sys/amd64/amd64/nexus.c | 4 |
2 files changed, 4 insertions, 4 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. */ |