Add sys/ directory to stage2

This commit is contained in:
mintsuki 2020-09-18 20:02:10 +02:00
parent dbf38b766a
commit c2bf4835ef
16 changed files with 12 additions and 12 deletions

Binary file not shown.

View File

@ -7,7 +7,7 @@
#include <lib/term.h>
#include <lib/real.h>
#include <lib/cio.h>
#include <lib/e820.h>
#include <sys/e820.h>
#include <lib/print.h>
uint8_t bcd_to_int(uint8_t val) {

View File

@ -2,7 +2,7 @@
#include <stdint.h>
#include <stdbool.h>
#include <lib/memmap.h>
#include <lib/e820.h>
#include <sys/e820.h>
#include <lib/blib.h>
#include <lib/print.h>

View File

@ -2,7 +2,7 @@
#define __LIB__MEMMAP_H__
#include <stdint.h>
#include <lib/e820.h>
#include <sys/e820.h>
void init_memmap(void);
void *ext_mem_balloc(size_t count);

View File

@ -20,7 +20,7 @@ asm (
#include <lib/libc.h>
#include <lib/part.h>
#include <lib/config.h>
#include <lib/e820.h>
#include <sys/e820.h>
#include <lib/memmap.h>
#include <lib/print.h>
#include <fs/file.h>

View File

@ -13,7 +13,7 @@
#include <lib/real.h>
#include <drivers/vbe.h>
#include <lib/term.h>
#include <drivers/pic.h>
#include <sys/pic.h>
#include <fs/file.h>
#include <mm/vmm64.h>
#include <stivale/stivale.h>

View File

@ -4,7 +4,7 @@
#include <stdbool.h>
#include <stdint.h>
#include <lib/memmap.h>
#include <lib/e820.h>
#include <sys/e820.h>
#include <mm/vmm64.h>
void stivale_load(char *cmdline, int boot_drive);

View File

@ -14,10 +14,10 @@
#include <lib/rand.h>
#include <lib/real.h>
#include <lib/libc.h>
#include <lib/smp.h>
#include <sys/smp.h>
#include <drivers/vbe.h>
#include <lib/term.h>
#include <drivers/pic.h>
#include <sys/pic.h>
#include <fs/file.h>
#include <stivale/stivale2.h>

View File

@ -1,6 +1,6 @@
#include <stdint.h>
#include <stddef.h>
#include <lib/e820.h>
#include <sys/e820.h>
#include <lib/real.h>
#include <lib/blib.h>
#include <lib/print.h>

View File

@ -1,7 +1,7 @@
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
#include <drivers/pic.h>
#include <sys/pic.h>
#include <lib/cio.h>
void pic_eoi(int irq) {

View File

@ -5,8 +5,8 @@
#include <lib/cio.h>
#include <lib/blib.h>
#include <lib/print.h>
#include <lib/smp.h>
#include <drivers/lapic.h>
#include <sys/smp.h>
#include <sys/lapic.h>
#include <mm/vmm64.h>
struct madt {