Module Name: src
Committed By: thorpej
Date: Thu Mar 4 03:13:54 UTC 2021
Modified Files:
src/sys/arch/evbppc/ev64260: machdep.c
Log Message:
Don't forget to 0-terminate the BAT mapping list passed to oea_batinit()!
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/evbppc/ev64260/machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/evbppc/ev64260/machdep.c
diff -u src/sys/arch/evbppc/ev64260/machdep.c:1.33 src/sys/arch/evbppc/ev64260/machdep.c:1.34
--- src/sys/arch/evbppc/ev64260/machdep.c:1.33 Sun Jul 15 05:16:42 2018
+++ src/sys/arch/evbppc/ev64260/machdep.c Thu Mar 4 03:13:54 2021
@@ -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 @@ initppc(u_int startkernel, u_int endkern
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);