Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hppa/hppa -Wno-error=array-bounds



details:   https://anonhg.NetBSD.org/src/rev/3699f14c1451
branches:  trunk
changeset: 943995:3699f14c1451
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Sep 14 16:11:00 2020 +0000

description:
-Wno-error=array-bounds

diffstat:

 sys/arch/hppa/hppa/machdep.h |  8 ++++++--
 sys/arch/hppa/hppa/trap.S    |  5 ++++-
 2 files changed, 10 insertions(+), 3 deletions(-)

diffs (47 lines):

diff -r 2f32305eb7fe -r 3699f14c1451 sys/arch/hppa/hppa/machdep.h
--- a/sys/arch/hppa/hppa/machdep.h      Mon Sep 14 16:05:09 2020 +0000
+++ b/sys/arch/hppa/hppa/machdep.h      Mon Sep 14 16:11:00 2020 +0000
@@ -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_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. */
diff -r 2f32305eb7fe -r 3699f14c1451 sys/arch/hppa/hppa/trap.S
--- a/sys/arch/hppa/hppa/trap.S Mon Sep 14 16:05:09 2020 +0000
+++ b/sys/arch/hppa/hppa/trap.S Mon Sep 14 16:11:00 2020 +0000
@@ -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 @@
        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))



Home | Main Index | Thread Index | Old Index