Module Name: src
Committed By: skrll
Date: Mon Sep 14 16:11:00 UTC 2020
Modified Files:
src/sys/arch/hppa/hppa: machdep.h trap.S
Log Message:
-Wno-error=array-bounds
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/hppa/hppa/machdep.h
cvs rdiff -u -r1.72 -r1.73 src/sys/arch/hppa/hppa/trap.S
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/hppa/hppa/machdep.h
diff -u src/sys/arch/hppa/hppa/machdep.h:1.18 src/sys/arch/hppa/hppa/machdep.h:1.19
--- src/sys/arch/hppa/hppa/machdep.h:1.18 Mon Apr 15 20:45:08 2019
+++ src/sys/arch/hppa/hppa/machdep.h Mon Sep 14 16:11:00 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.h,v 1.18 2019/04/15 20:45:08 skrll Exp $ */
+/* $NetBSD: machdep.h,v 1.19 2020/09/14 16:11:00 skrll Exp $ */
/*
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -95,11 +95,15 @@ void hppa_ktext_stw(vaddr_t, int);
void hppa_ktext_stb(vaddr_t, char);
/* Machine check handling. */
-extern u_int os_hpmc;
+extern u_int os_hpmc[8];
extern u_int os_hpmc_cont;
extern u_int os_hpmc_cont_end;
+extern u_int os_hpmc_checksum[1];
+
int os_toc(void);
extern u_int os_toc_end;
+extern u_int os_toc_checksum[1];
+
void hppa_machine_check(int);
/* BTLB handling. */
Index: src/sys/arch/hppa/hppa/trap.S
diff -u src/sys/arch/hppa/hppa/trap.S:1.72 src/sys/arch/hppa/hppa/trap.S:1.73
--- src/sys/arch/hppa/hppa/trap.S:1.72 Tue Apr 16 07:08:46 2019
+++ src/sys/arch/hppa/hppa/trap.S Mon Sep 14 16:11:00 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.S,v 1.72 2019/04/16 07:08:46 skrll Exp $ */
+/* $NetBSD: trap.S,v 1.73 2020/09/14 16:11:00 skrll Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -841,8 +841,11 @@ L$check_do_rfi:
nop
nop
nop
+
+ALTENTRY(os_hpmc_checksum)
nop
ALTENTRY(os_hpmc_cont_end)
+ALTENTRY(os_toc_checksum)
nop
ALTENTRY(os_toc_end)
EXIT(TLABEL(hpmc))