Clean cpu parts

This commit is contained in:
Thomas Lovén 2022-01-15 21:25:33 +01:00
parent 0e1cf97e19
commit 824edea9dd
4 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#include <interrupts.h>
#include <cpu/interrupts.h>
void cpu_init()
{

View File

@ -1,4 +1,4 @@
#include <interrupts.h>
#include <cpu/interrupts.h>
#include <stdint.h>
#include <memory.h>
#include <cpu.h>

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)