mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-08-13 15:24:19 +00:00
.github
.vscode
arch
core
exec
files
include
boot
cpu
arm
x86
x32
x64
cpuid_amd.hpp
cpuid_intel.hpp
exceptions.hpp
hypervisor.hpp
interrupts.hpp
membar.hpp
signatures.hpp
filesystem
memory
net
stb
syscall
abi.h
acpi.hpp
bitmap.hpp
cargs.h
convert.h
cpu.hpp
crc32.h
cwalk.h
debug.h
disk.hpp
display.hpp
driver.hpp
dumper.hpp
elf.h
exec.hpp
filesystem.hpp
hashmap.hpp
ini.h
intrin.hpp
ints.hpp
io.h
kconfig.hpp
kshell.hpp
lock.hpp
md5.h
memory.hpp
msexec.h
pci.hpp
power.hpp
printf.h
rand.hpp
signal.hpp
smart_ptr.hpp
smp.hpp
symbols.hpp
syscalls.hpp
targp.h
task.hpp
time.hpp
types.h
uart.hpp
vm.hpp
include_std
kshell
library
network
profiling
storage
syscalls
tasking
tests
virtualization
.gdbinit
.gitignore
CREDITS.md
Doxyfile
ISSUES.md
LICENSE.md
LICENSES.md
Makefile
README.md
TODO.md
driver.h
dump.sh
kernel.cpp
kernel.h
kernel_config.cpp
kernel_thread.cpp
kernel_vfs.cpp
syscalls.h
55 lines
1.6 KiB
C++
55 lines
1.6 KiB
C++
/*
|
|
This file is part of Fennix Kernel.
|
|
|
|
Fennix Kernel is free software: you can redistribute it and/or
|
|
modify it under the terms of the GNU General Public License as
|
|
published by the Free Software Foundation, either version 3 of
|
|
the License, or (at your option) any later version.
|
|
|
|
Fennix Kernel is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with Fennix Kernel. If not, see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef __FENNIX_KERNEL_CPU_x86_EXCEPTIONS_H__
|
|
#define __FENNIX_KERNEL_CPU_x86_EXCEPTIONS_H__
|
|
|
|
#include <types.h>
|
|
|
|
namespace CPU
|
|
{
|
|
namespace x86
|
|
{
|
|
enum ISRExceptions
|
|
{
|
|
DivideByZero = 0x0,
|
|
Debug = 0x1,
|
|
NonMaskableInterrupt = 0x2,
|
|
Breakpoint = 0x3,
|
|
Overflow = 0x4,
|
|
BoundRange = 0x5,
|
|
InvalidOpcode = 0x6,
|
|
DeviceNotAvailable = 0x7,
|
|
DoubleFault = 0x8,
|
|
CoprocessorSegmentOverrun = 0x9,
|
|
InvalidTSS = 0xa,
|
|
SegmentNotPresent = 0xb,
|
|
StackSegmentFault = 0xc,
|
|
GeneralProtectionFault = 0xd,
|
|
PageFault = 0xe,
|
|
x87FloatingPoint = 0x10,
|
|
AlignmentCheck = 0x11,
|
|
MachineCheck = 0x12,
|
|
SIMDFloatingPoint = 0x13,
|
|
Virtualization = 0x14,
|
|
Security = 0x1e
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif // !__FENNIX_KERNEL_CPU_x86_EXCEPTIONS_H__
|