Restructuration part 2: libc, programs
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#ifndef INCLUDE_IO_H
|
||||
#define INCLUDE_IO_H
|
||||
|
||||
#include "stdint.h"
|
||||
#include "../libc/stdint.h"
|
||||
|
||||
void outb(unsigned short port, unsigned char data);
|
||||
unsigned char inb(unsigned short port);
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "system.h"
|
||||
#include "stdio.h"
|
||||
#include "../libc/stdio.h"
|
||||
#include "idt.h"
|
||||
|
||||
extern void isr0();
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "io.h"
|
||||
#include "stdio.h"
|
||||
#include "../libc/stdio.h"
|
||||
#include "system.h"
|
||||
|
||||
unsigned char kbdus[128] =
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "stdio.h"
|
||||
#include "../libc/stdio.h"
|
||||
#include "serial.h"
|
||||
#include "gdt.h"
|
||||
#include "idt.h"
|
||||
@@ -29,7 +29,6 @@ int kmain(int retvalue)
|
||||
// TODO: Fix scrolling bug (framebuffer driver)
|
||||
// TODO: Fix keyboard driver bug (some keys mapped weirdly) + add suport for SHIFT and backspace (deleting character)
|
||||
// TODO: Grub modules to load programs
|
||||
// TODO: Folder and build process restructuration
|
||||
|
||||
//timer_install();
|
||||
keyboard_install();
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "system.h"
|
||||
#include "stdio.h"
|
||||
#include "../libc/stdio.h"
|
||||
|
||||
int timer_ticks = 0;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "io.h"
|
||||
#include "../kernel/io.h"
|
||||
#include "stdio.h"
|
||||
#include "string.h"
|
||||
#include "stdint.h"
|
||||
Reference in New Issue
Block a user