|
NeKernel dev
|
#include <ArchKit/ArchKit.h>#include <KernelKit/ProcessScheduler.h>#include <KernelKit/UserMgr.h>#include <NeKit/KString.h>#include <SignalKit/Signals.h>Functions | |
| EXTERN_C Kernel::Void | idt_handle_breakpoint (Kernel::UIntPtr rip) |
| STATIC void | hal_idt_send_eoi (UInt8 vector) |
| Notify APIC and PIC that we're done with the interrupt. | |
| EXTERN_C Kernel::Void | idt_handle_gpf (Kernel::UIntPtr rsp) |
| Handle GPF fault. | |
| EXTERN_C void | idt_handle_pf (Kernel::UIntPtr rsp) |
| Handle page fault. | |
| EXTERN_C void | idt_handle_scheduler (Kernel::UIntPtr rsp) |
| Handle scheduler interrupt. | |
| EXTERN_C void | idt_handle_math (Kernel::UIntPtr rsp) |
| Handle math fault. | |
| EXTERN_C void | idt_handle_generic (Kernel::UIntPtr rsp) |
| Handle any generic fault. | |
| EXTERN_C void | idt_handle_ud (Kernel::UIntPtr rsp) |
| Handle #UD fault. | |
| EXTERN_C Kernel::Void | hal_system_call_enter (Kernel::UIntPtr rcx_hash, Kernel::UIntPtr rdx_syscall_arg) |
| Enter syscall from assembly (libSystem only). | |
| EXTERN_C Kernel::Void | hal_kernel_call_enter (Kernel::UIntPtr rcx_hash, Kernel::SizeT cnt, Kernel::UIntPtr arg, Kernel::SizeT sz) |
| Enter Kernel call from assembly (libDDK only). | |
Variables | |
| EXTERN_C Kernel::UIntPtr | kApicBaseAddress |
| STATIC BOOL | kIsRunning = NO |
Notify APIC and PIC that we're done with the interrupt.
| EXTERN_C Kernel::Void hal_kernel_call_enter | ( | Kernel::UIntPtr | rcx_hash, |
| Kernel::SizeT | cnt, | ||
| Kernel::UIntPtr | arg, | ||
| Kernel::SizeT | sz ) |
Enter Kernel call from assembly (libDDK only).
| stack | the stack pushed from assembly routine. |
| EXTERN_C Kernel::Void hal_system_call_enter | ( | Kernel::UIntPtr | rcx_hash, |
| Kernel::UIntPtr | rdx_syscall_arg ) |
Enter syscall from assembly (libSystem only).
| stack | the stack pushed from assembly routine. |
| EXTERN_C Kernel::Void idt_handle_breakpoint | ( | Kernel::UIntPtr | rip | ) |
| EXTERN_C void idt_handle_generic | ( | Kernel::UIntPtr | rsp | ) |
Handle any generic fault.
| rsp |
| EXTERN_C Kernel::Void idt_handle_gpf | ( | Kernel::UIntPtr | rsp | ) |
Handle GPF fault.
| rsp |
| EXTERN_C void idt_handle_math | ( | Kernel::UIntPtr | rsp | ) |
Handle math fault.
| rsp |
| EXTERN_C void idt_handle_pf | ( | Kernel::UIntPtr | rsp | ) |
Handle page fault.
| rsp |
| EXTERN_C void idt_handle_scheduler | ( | Kernel::UIntPtr | rsp | ) |
Handle scheduler interrupt.
| EXTERN_C void idt_handle_ud | ( | Kernel::UIntPtr | rsp | ) |
Handle #UD fault.
| rsp |
| EXTERN_C Kernel::UIntPtr kApicBaseAddress |