#pragma once
#include <stdint.h>

#define pageSize 0x1000 //0x1000 is the start of memory
#define PageAligned __attribute__((aligned(pageSize))) //aligning

typedef uint64_t pagingDesc;
extern uint64_t pageDir[1024] __attribute__((aligned(4096)));
extern uint64_t PageTable1[1024] __attribute__((aligned(4096))); //the first page table

void PageDirectory();

typedef struct{ 
	pagingDesc entries[512];
}PageAligned PagingTable;