Paging headers & comp errors

paging
E. Almqvist 3 years ago
parent 149f9945a9
commit 9d2aaf95c6
  1. 8
      kernel/paging.c
  2. 2
      kernel/paging.h

@ -1,6 +1,8 @@
#include "paging.h" #include "paging.h"
struct page_entry { struct page_entry {
int index; unsigned int index;
int start_addr; unsigned int start_addr;
} page_table[PAGE_TABLE_SIZE]; };
page_entry page_table[PAGE_TABLE_SIZE];

@ -2,3 +2,5 @@
#define PAGE_TABLE_SIZE 128 #define PAGE_TABLE_SIZE 128
struct page_entry; struct page_entry;
// page_entry page_table[PAGE_TABLE_SIZE];

Loading…
Cancel
Save