Kernel: Rename assert.h to kassert.h so IDEs pickup the kernel header instead of the userspace one

This commit is contained in:
apio 2022-10-15 12:56:48 +02:00
parent a002e75725
commit 62d631f1b4
13 changed files with 12 additions and 12 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -1,7 +1,7 @@
#define MODULE "idt"
#include "interrupts/IDT.h"
#include "assert.h"
#include "kassert.h"
#include "log/Log.h"
struct IDTEntry

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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;

View File

@ -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"

View File

@ -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"

View File

@ -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"