Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/evbarm G/C unused flag



details:   https://anonhg.NetBSD.org/src/rev/d62008208cfe
branches:  trunk
changeset: 1022862:d62008208cfe
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Aug 10 06:47:48 2021 +0000

description:
G/C unused flag

diffstat:

 sys/arch/evbarm/imx23_olinuxino/imx23_olinuxino_machdep.c |  4 ++--
 sys/arch/evbarm/include/bootconfig.h                      |  3 +--
 sys/arch/evbarm/integrator/integrator_machdep.c           |  6 +++---
 3 files changed, 6 insertions(+), 7 deletions(-)

diffs (62 lines):

diff -r 2f7ad9fac6b3 -r d62008208cfe sys/arch/evbarm/imx23_olinuxino/imx23_olinuxino_machdep.c
--- a/sys/arch/evbarm/imx23_olinuxino/imx23_olinuxino_machdep.c Tue Aug 10 06:31:16 2021 +0000
+++ b/sys/arch/evbarm/imx23_olinuxino/imx23_olinuxino_machdep.c Tue Aug 10 06:47:48 2021 +0000
@@ -1,4 +1,4 @@
-/* $Id: imx23_olinuxino_machdep.c,v 1.11 2020/11/28 14:02:30 skrll Exp $ */
+/* $Id: imx23_olinuxino_machdep.c,v 1.12 2021/08/10 06:47:48 skrll Exp $ */
 
 /*
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -178,7 +178,7 @@
        bootconfig.dramblocks = 1;
        bootconfig.dram[0].address = DRAM_BASE;
        bootconfig.dram[0].pages = ram_size / PAGE_SIZE;
-       bootconfig.dram[0].flags = BOOT_DRAM_CAN_DMA | BOOT_DRAM_PREFER;
+       bootconfig.dram[0].flags = BOOT_DRAM_CAN_DMA;
 
         arm32_bootmem_init(bootconfig.dram[0].address, ram_size,
             ((vsize_t)&KERNEL_BASE_phys));
diff -r 2f7ad9fac6b3 -r d62008208cfe sys/arch/evbarm/include/bootconfig.h
--- a/sys/arch/evbarm/include/bootconfig.h      Tue Aug 10 06:31:16 2021 +0000
+++ b/sys/arch/evbarm/include/bootconfig.h      Tue Aug 10 06:47:48 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bootconfig.h,v 1.10 2018/06/18 13:05:20 jmcneill Exp $ */
+/*     $NetBSD: bootconfig.h,v 1.11 2021/08/10 06:47:48 skrll Exp $    */
 
 /*
  * Copyright (c) 1994 Mark Brinicombe.
@@ -51,7 +51,6 @@
        u_int pages;
        u_int flags;
 #define BOOT_DRAM_CAN_DMA 1    /* Can DMA direct to this memory.  */
-#define BOOT_DRAM_PREFER  2    /* UVM should prefer this memory.  */
 } PhysMem;
 
 #ifndef        DRAM_BLOCKS
diff -r 2f7ad9fac6b3 -r d62008208cfe sys/arch/evbarm/integrator/integrator_machdep.c
--- a/sys/arch/evbarm/integrator/integrator_machdep.c   Tue Aug 10 06:31:16 2021 +0000
+++ b/sys/arch/evbarm/integrator/integrator_machdep.c   Tue Aug 10 06:47:48 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: integrator_machdep.c,v 1.79 2020/04/18 11:00:39 skrll Exp $    */
+/*     $NetBSD: integrator_machdep.c,v 1.80 2021/08/10 06:47:49 skrll Exp $    */
 
 /*
  * Copyright (c) 2001,2002 ARM Ltd
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: integrator_machdep.c,v 1.79 2020/04/18 11:00:39 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: integrator_machdep.c,v 1.80 2021/08/10 06:47:49 skrll Exp $");
 
 #include "opt_arm_debug.h"
 #include "opt_console.h"
@@ -371,7 +371,7 @@
        bootconfig.dramblocks = 1;
        bootconfig.dram[0].address = memstart;
        bootconfig.dram[0].pages = memsize / PAGE_SIZE;
-       bootconfig.dram[0].flags = BOOT_DRAM_CAN_DMA | BOOT_DRAM_PREFER;
+       bootconfig.dram[0].flags = BOOT_DRAM_CAN_DMA;
 
        arm32_bootmem_init(bootconfig.dram[0].address,
                bootconfig.dram[0].pages * PAGE_SIZE, (unsigned int) KERNEL_BASE_phys);



Home | Main Index | Thread Index | Old Index