Module Name: src
Committed By: jmcneill
Date: Wed Aug 8 19:01:15 UTC 2018
Modified Files:
src/sys/arch/aarch64/include: cpu.h
Log Message:
Add fields for per-cpu GICv3 state
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/aarch64/include/cpu.h
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/aarch64/include/cpu.h
diff -u src/sys/arch/aarch64/include/cpu.h:1.5 src/sys/arch/aarch64/include/cpu.h:1.6
--- src/sys/arch/aarch64/include/cpu.h:1.5 Mon Jul 23 22:32:22 2018
+++ src/sys/arch/aarch64/include/cpu.h Wed Aug 8 19:01:15 2018
@@ -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 cpu_info {
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 *