summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1999-04-24 04:16:22 +0000
committerkato <kato@FreeBSD.org>1999-04-24 04:16:22 +0000
commitfbfb955028d072fa49ac57b83e3f6e7e02c67d2a (patch)
treeeb5622fd4b01c5b6ae313b7eae7c67dc05a70a1f
parent62191265703d93ac96d08e284efb482853a7f9ab (diff)
downloadFreeBSD-src-fbfb955028d072fa49ac57b83e3f6e7e02c67d2a.zip
FreeBSD-src-fbfb955028d072fa49ac57b83e3f6e7e02c67d2a.tar.gz
1MB is not 1024 * 1024 * 1024 but 1024 * 1024.
-rw-r--r--sys/amd64/amd64/legacy.c4
-rw-r--r--sys/amd64/amd64/nexus.c4
-rw-r--r--sys/i386/i386/legacy.c4
-rw-r--r--sys/i386/i386/nexus.c4
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.
*/
OpenPOWER on IntegriCloud