Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/aarch64/include Add fields for per-cpu GICv3 state



details:   https://anonhg.NetBSD.org/src/rev/e1c11b35fcb6
branches:  trunk
changeset: 363702:e1c11b35fcb6
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Wed Aug 08 19:01:15 2018 +0000

description:
Add fields for per-cpu GICv3 state

diffstat:

 sys/arch/aarch64/include/cpu.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 619e03fd720f -r e1c11b35fcb6 sys/arch/aarch64/include/cpu.h
--- a/sys/arch/aarch64/include/cpu.h    Wed Aug 08 19:00:53 2018 +0000
+++ b/sys/arch/aarch64/include/cpu.h    Wed Aug 08 19:01:15 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.5 2018/07/23 22:32:22 ryo Exp $ */
+/* $NetBSD: cpu.h,v 1.6 2018/08/08 19:01:15 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -78,6 +78,10 @@
        struct evcnt ci_vfp_reuse;
        struct evcnt ci_vfp_save;
        struct evcnt ci_vfp_release;
+
+       /* interrupt controller */
+       u_int ci_gic_redist;    /* GICv3 redistributor index */
+       uint64_t ci_gic_sgir;   /* GICv3 SGIR target */
 };
 
 static inline struct cpu_info *



Home | Main Index | Thread Index | Old Index