diff options
Diffstat (limited to 'src/arch/x86/include')
-rw-r--r-- | src/arch/x86/include/arch/exception.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/arch/x86/include/arch/exception.h b/src/arch/x86/include/arch/exception.h index d4e9658f75..8f7213d27e 100644 --- a/src/arch/x86/include/arch/exception.h +++ b/src/arch/x86/include/arch/exception.h @@ -30,6 +30,13 @@ #ifndef _ARCH_EXCEPTION_H #define _ARCH_EXCEPTION_H +#include <arch/cpu.h> +#include <rules.h> + +#if IS_ENABLED(CONFIG_IDT_IN_EVERY_STAGE) || ENV_RAMSTAGE +asmlinkage void exception_init(void); +#else static inline void exception_init(void) { /* not implemented */ } +#endif #endif |