Kernel: Rename assert.h to kassert.h so IDEs pickup the kernel header instead of the userspace one
This commit is contained in:
parent
a002e75725
commit
62d631f1b4
@ -1,7 +1,7 @@
|
||||
#define MODULE "gdt"
|
||||
|
||||
#include "gdt/GDT.h"
|
||||
#include "assert.h"
|
||||
#include "kassert.h"
|
||||
#include "log/Log.h"
|
||||
#include "memory/MemoryManager.h"
|
||||
#include "std/string.h"
|
||||
|
@ -1,12 +1,12 @@
|
||||
#define MODULE "init"
|
||||
|
||||
#include "init/Init.h"
|
||||
#include "assert.h"
|
||||
#include "bootboot.h"
|
||||
#include "cpu/CPU.h"
|
||||
#include "init/InitRD.h"
|
||||
#include "interrupts/Interrupts.h"
|
||||
#include "io/Serial.h"
|
||||
#include "kassert.h"
|
||||
#include "log/Log.h"
|
||||
#include "memory/MemoryManager.h"
|
||||
#include "memory/PMM.h"
|
||||
|
@ -1,10 +1,10 @@
|
||||
#define MODULE "isr"
|
||||
|
||||
#include "assert.h"
|
||||
#include "interrupts/Context.h"
|
||||
#include "interrupts/IRQ.h"
|
||||
#include "interrupts/Interrupts.h"
|
||||
#include "io/Serial.h"
|
||||
#include "kassert.h"
|
||||
#include "log/Log.h"
|
||||
#include "misc/hang.h"
|
||||
#include "panic/Panic.h"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#define MODULE "idt"
|
||||
|
||||
#include "interrupts/IDT.h"
|
||||
#include "assert.h"
|
||||
#include "kassert.h"
|
||||
#include "log/Log.h"
|
||||
|
||||
struct IDTEntry
|
||||
|
@ -1,7 +1,6 @@
|
||||
#define MODULE "main"
|
||||
|
||||
#include "acpi/RSDT.h"
|
||||
#include "assert.h"
|
||||
#include "config.h"
|
||||
#include "cpu/CPU.h"
|
||||
#include "fs/VFS.h"
|
||||
@ -15,6 +14,7 @@
|
||||
#include "io/PCI.h"
|
||||
#include "io/PIC.h"
|
||||
#include "io/Serial.h"
|
||||
#include "kassert.h"
|
||||
#include "log/Log.h"
|
||||
#include "memory/AddressSpace.h"
|
||||
#include "memory/Memory.h"
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include "log/Log.h"
|
||||
#endif
|
||||
|
||||
#include "assert.h"
|
||||
#include "kassert.h"
|
||||
#include "memory/KernelHeap.h"
|
||||
#include "memory/MemoryManager.h"
|
||||
#include "memory/PMM.h"
|
||||
|
@ -1,8 +1,8 @@
|
||||
#define MODULE "mem"
|
||||
|
||||
#include "memory/PMM.h"
|
||||
#include "assert.h"
|
||||
#include "bootboot.h"
|
||||
#include "kassert.h"
|
||||
#include "memory/Memory.h"
|
||||
#include "memory/MemoryManager.h"
|
||||
#include "misc/utils.h"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#define MODULE "vmm"
|
||||
|
||||
#include "memory/VMM.h"
|
||||
#include "assert.h"
|
||||
#include "kassert.h"
|
||||
#include "log/Log.h"
|
||||
#include "memory/PMM.h"
|
||||
#include "misc/utils.h"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#define MODULE "rand"
|
||||
|
||||
#include "rand/Mersenne.h"
|
||||
#include "assert.h"
|
||||
#include "kassert.h"
|
||||
#include <stddef.h>
|
||||
|
||||
typedef uint64_t word_t;
|
||||
|
@ -1,10 +1,10 @@
|
||||
#define MODULE "elf"
|
||||
|
||||
#include "sys/elf/ELFLoader.h"
|
||||
#include "assert.h"
|
||||
#include "errno.h"
|
||||
#include "fs/VFS.h"
|
||||
#include "init/InitRD.h"
|
||||
#include "kassert.h"
|
||||
#include "log/Log.h"
|
||||
#include "memory/Memory.h"
|
||||
#include "memory/MemoryManager.h"
|
||||
|
@ -1,8 +1,8 @@
|
||||
#define MODULE "exec"
|
||||
|
||||
#include "assert.h"
|
||||
#include "errno.h"
|
||||
#include "interrupts/Interrupts.h"
|
||||
#include "kassert.h"
|
||||
#include "memory/MemoryManager.h"
|
||||
#include "memory/PMM.h"
|
||||
#include "memory/VMM.h"
|
||||
|
@ -1,8 +1,8 @@
|
||||
#define MODULE "sched"
|
||||
|
||||
#include "thread/Scheduler.h"
|
||||
#include "assert.h"
|
||||
#include "interrupts/Interrupts.h"
|
||||
#include "kassert.h"
|
||||
#include "log/Log.h"
|
||||
#include "memory/MemoryManager.h"
|
||||
#include "memory/VMM.h"
|
||||
|
Loading…
Reference in New Issue
Block a user