hc
2024-10-16 50a212ec906f7524620675f0c57357691c26c81f
kernel/arch/arm64/include/asm/sdei.h
....@@ -17,6 +17,9 @@
1717
1818 #include <asm/virt.h>
1919
20
+DECLARE_PER_CPU(struct sdei_registered_event *, sdei_active_normal_event);
21
+DECLARE_PER_CPU(struct sdei_registered_event *, sdei_active_critical_event);
22
+
2023 extern unsigned long sdei_exit_mode;
2124
2225 /* Software Delegated Exception entry point from firmware*/
....@@ -29,6 +32,9 @@
2932 unsigned long pc,
3033 unsigned long pstate);
3134
35
+/* Abort a running handler. Context is discarded. */
36
+void __sdei_handler_abort(void);
37
+
3238 /*
3339 * The above entry point does the minimum to call C code. This function does
3440 * anything else, before calling the driver.