Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbppc/ev64260 Don't forget to 0-terminate the BAT ...



details:   https://anonhg.NetBSD.org/src/rev/4592109d85af
branches:  trunk
changeset: 953278:4592109d85af
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Mar 04 03:13:54 2021 +0000

description:
Don't forget to 0-terminate the BAT mapping list passed to oea_batinit()!

diffstat:

 sys/arch/evbppc/ev64260/machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f4fd0f183890 -r 4592109d85af sys/arch/evbppc/ev64260/machdep.c
--- a/sys/arch/evbppc/ev64260/machdep.c Thu Mar 04 01:37:42 2021 +0000
+++ b/sys/arch/evbppc/ev64260/machdep.c Thu Mar 04 03:13:54 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.33 2018/07/15 05:16:42 maxv Exp $        */
+/*     $NetBSD: machdep.c,v 1.34 2021/03/04 03:13:54 thorpej Exp $     */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.33 2018/07/15 05:16:42 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.34 2021/03/04 03:13:54 thorpej Exp $");
 
 #include "opt_marvell.h"
 #include "opt_modular.h"
@@ -214,7 +214,7 @@
        ev64260_gt_bs_tag.pbs_offset = gt_base;
        ev64260_gt_bs_tag.pbs_base = gt_base;
        ev64260_gt_bs_tag.pbs_limit += gt_base;
-       oea_batinit(gt_base, BAT_BL_256M);
+       oea_batinit(gt_base, BAT_BL_256M, 0);
 
        oea_init(NULL);
 



Home | Main Index | Thread Index | Old Index