trap: explicitly handle certain exceptions
This commit is contained in:
parent
fba82790a9
commit
4a997cec35
4 changed files with 29 additions and 0 deletions
8
include/kernel/trap.h
Normal file
8
include/kernel/trap.h
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
#ifndef _TRAP_H_
|
||||
#define _TRAP_H_
|
||||
|
||||
void exception(int vector, int error);
|
||||
void exception_init();
|
||||
|
||||
#endif
|
||||
Loading…
Reference in a new issue