Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbmips/ingenic only use the first 256MB for now un...
details: https://anonhg.NetBSD.org/src/rev/dc3dbe8314c6
branches: trunk
changeset: 806738:dc3dbe8314c6
user: macallan <macallan%NetBSD.org@localhost>
date: Sat Mar 07 15:38:32 2015 +0000
description:
only use the first 256MB for now until I figure out how to properly access
the rest
diffstat:
sys/arch/evbmips/ingenic/machdep.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 336f805f16c7 -r dc3dbe8314c6 sys/arch/evbmips/ingenic/machdep.c
--- a/sys/arch/evbmips/ingenic/machdep.c Sat Mar 07 15:37:46 2015 +0000
+++ b/sys/arch/evbmips/ingenic/machdep.c Sat Mar 07 15:38:32 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.3 2014/12/23 15:09:13 macallan Exp $ */
+/* $NetBSD: machdep.c,v 1.4 2015/03/07 15:38:32 macallan Exp $ */
/*-
* Copyright (c) 2014 Michael Lorenz
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.3 2014/12/23 15:09:13 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.4 2015/03/07 15:38:32 macallan Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -149,7 +149,7 @@
* Note: Reserve the first page! That's where the trap
* vectors are located.
*/
- memsize = 0x40000000;
+ memsize = 0x10000000;
printf("Memory size: 0x%08x\n", memsize);
physmem = btoc(memsize);
@@ -159,7 +159,7 @@
mem_clusters[0].size = 0x10000000 - PAGE_SIZE;
mem_clusters[1].start = 0x30000000;
mem_clusters[1].size = 0x30000000;
- mem_cluster_cnt = 2;
+ mem_cluster_cnt = 1;
/*
* Load the available pages into the VM system.
Home |
Main Index |
Thread Index |
Old Index