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 enable the full 1GB of RAM
details: https://anonhg.NetBSD.org/src/rev/5ffa98f7a5a7
branches: trunk
changeset: 336694:5ffa98f7a5a7
user: macallan <macallan%NetBSD.org@localhost>
date: Tue Mar 10 22:39:38 2015 +0000
description:
enable the full 1GB of RAM
TODO: actually probe for it
diffstat:
sys/arch/evbmips/ingenic/machdep.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r c5d201f41c3c -r 5ffa98f7a5a7 sys/arch/evbmips/ingenic/machdep.c
--- a/sys/arch/evbmips/ingenic/machdep.c Tue Mar 10 18:20:20 2015 +0000
+++ b/sys/arch/evbmips/ingenic/machdep.c Tue Mar 10 22:39:38 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.4 2015/03/07 15:38:32 macallan Exp $ */
+/* $NetBSD: machdep.c,v 1.5 2015/03/10 22:39:38 macallan Exp $ */
/*-
* Copyright (c) 2014 Michael Lorenz
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.4 2015/03/07 15:38:32 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.5 2015/03/10 22:39:38 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 = 0x10000000;
+ memsize = 0x40000000;
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 = 1;
+ mem_cluster_cnt = 2;
/*
* Load the available pages into the VM system.
Home |
Main Index |
Thread Index |
Old Index