feat: reformatted code base to be more standard

This commit is contained in:
2021-03-10 22:01:13 +01:00
parent dc4bf71b5a
commit 586b8191b4
81 changed files with 431 additions and 338 deletions

View File

@@ -2,10 +2,11 @@
// Created by rick on 23-02-21.
//
#include <libc/kprintf.h>
#include <tasks/task.h>
#include <mem/malloc.h>
#include <mem/pmm.h>
#include <stdio.h>
#include <myke/tasks/task.h>
#include <myke/mem/malloc.h>
#include <myke/mem/pmm.h>
// retrieved from https://github.com/blanham/liballoc

View File

@@ -2,12 +2,13 @@
// Created by rick on 22-04-20.
//
#include <mem/pmm.h>
#include <types.h>
#include <mem/mem.h>
#include <libc/kprintf.h>
#include <libk/libk.h>
#include <attributes.h>
#include <stdio.h>
#include <sys/types.h>
#include <myke/mem/pmm.h>
#include <myke/mem/mem.h>
#include <myke/libk/libk.h>
#include <myke/attributes.h>
#define MEMMAP_ENTRIES 16

View File

@@ -2,10 +2,11 @@
// Created by rick on 21-02-21.
//
#include <mem/paging.h>
#include <types.h>
#include <stdbool.h>
#include <attributes.h>
#include <sys/types.h>
#include <myke/mem/paging.h>
#include <myke/attributes.h>
#define TABLE_ADDR_MASK 0xFFFFF000
#define DIRECTORY_SIZE 1024

View File

@@ -3,9 +3,10 @@
//
#include <stdbool.h>
#include <libc/libc.h>
#include <libk/libk.h>
#include <mem/pmm.h>
#include <string.h>
#include <myke/libk/libk.h>
#include <myke/mem/pmm.h>
#define NUM_PAGING_INFOS 16