Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/bcm53xx add call to bcm53xx_dma_bootstrap.
details: https://anonhg.NetBSD.org/src/rev/da0819b4c435
branches: trunk
changeset: 781926:da0819b4c435
user: matt <matt%NetBSD.org@localhost>
date: Sun Oct 07 19:17:24 2012 +0000
description:
add call to bcm53xx_dma_bootstrap.
diffstat:
sys/arch/evbarm/bcm53xx/bcm53xx_machdep.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (33 lines):
diff -r 571e77786998 -r da0819b4c435 sys/arch/evbarm/bcm53xx/bcm53xx_machdep.c
--- a/sys/arch/evbarm/bcm53xx/bcm53xx_machdep.c Sun Oct 07 19:16:39 2012 +0000
+++ b/sys/arch/evbarm/bcm53xx/bcm53xx_machdep.c Sun Oct 07 19:17:24 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bcm53xx_machdep.c,v 1.3 2012/09/27 00:22:39 matt Exp $ */
+/* $NetBSD: bcm53xx_machdep.c,v 1.4 2012/10/07 19:17:24 matt Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
#define IDM_PRIVATE
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm53xx_machdep.c,v 1.3 2012/09/27 00:22:39 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm53xx_machdep.c,v 1.4 2012/10/07 19:17:24 matt Exp $");
#include "opt_evbarm_boardtype.h"
#include "opt_broadcom.h"
@@ -237,11 +237,13 @@
#endif
psize_t memsize = bcm53xx_memprobe();
- //memsize = 128*1024*1024;
+ //memsize = 512*1024*1024;
arm32_bootmem_init(KERN_VTOPHYS(KERNEL_BASE), memsize,
(paddr_t)KERNEL_BASE_phys);
+ bcm53xx_dma_bootstrap(memsize);
+
/*
* This is going to do all the hard work of setting up the first and
* and second level page tables. Pages of memory will be allocated
Home |
Main Index |
Thread Index |
Old Index