summaryrefslogtreecommitdiffstats
path: root/src/arch/x86/include/arch/exception.h
blob: 14e35b914db78f6ea1451687d45d4563dce5d916 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: BSD-3-Clause */

#ifndef _ARCH_EXCEPTION_H
#define _ARCH_EXCEPTION_H

#include <arch/cpu.h>

#if CONFIG(IDT_IN_EVERY_STAGE) || ENV_RAMSTAGE
asmlinkage void exception_init(void);
#else
static inline void exception_init(void) { /* not implemented */ }
#endif

#endif