Clean cpu parts

This commit is contained in:
thomas committed 2022-01-15 21:25:33 +01:00
1 parent 0e1cf97e19
commit 824edea9dd
4 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
#include <interrupts.h>
#include <cpu/interrupts.h>
void cpu_init()
{
+1 -1
View File
@@ -1,4 +1,4 @@
#include <interrupts.h>
#include <cpu/interrupts.h>
#include <stdint.h>
#include <memory.h>
#include <cpu.h>
File renamed without changes.
+1
View File
@@ -1,6 +1,7 @@
#include <stdint.h>
#include <memory.h>
#include <debug.h>
#include <string.h>
#define FLAGS_MASK (PAGE_SIZE-1)
#define MASK_FLAGS(addr) ((uint64_t)addr & ~FLAGS_MASK)