diff options
| author | Aleksa Vučković <aleksav013@gmail.com> | 2021-11-02 22:50:09 +0100 |
|---|---|---|
| committer | Aleksa Vučković <aleksav013@gmail.com> | 2021-11-02 22:50:09 +0100 |
| commit | f575a0dd796106af502e8693870c49af5bee2a5d (patch) | |
| tree | 3c26583662ab92d948b1182a8ede1f4d8194f54b /src/c | |
| parent | 2a56405579be6dc341c503420e40cb30c5144a35 (diff) | |
Hosted GCC Cross-Compiler
Diffstat (limited to 'src/c')
| -rw-r--r-- | src/c/gdt.c | 2 | ||||
| -rw-r--r-- | src/c/heap.c | 2 | ||||
| -rw-r--r-- | src/c/idt.c | 6 | ||||
| -rw-r--r-- | src/c/irq.c | 4 | ||||
| -rw-r--r-- | src/c/kernel.c | 4 | ||||
| -rw-r--r-- | src/c/keyboard.c | 6 | ||||
| -rw-r--r-- | src/c/paging.c | 2 | ||||
| -rw-r--r-- | src/c/stack_protector.c | 4 | ||||
| -rw-r--r-- | src/c/stdio.c | 4 | ||||
| -rw-r--r-- | src/c/string.c | 2 | ||||
| -rw-r--r-- | src/c/timer.c | 6 | ||||
| -rw-r--r-- | src/c/tty.c | 8 | ||||
| -rw-r--r-- | src/c/vga.c | 8 |
13 files changed, 29 insertions, 29 deletions
diff --git a/src/c/gdt.c b/src/c/gdt.c index 739fe70..a9a745c 100644 --- a/src/c/gdt.c +++ b/src/c/gdt.c @@ -1,4 +1,4 @@ -#include"../include/types.h" +#include<types.h> struct gdt_entry { diff --git a/src/c/heap.c b/src/c/heap.c index 2683269..3e1ba24 100644 --- a/src/c/heap.c +++ b/src/c/heap.c @@ -1,4 +1,4 @@ -#include"../include/types.h" +#include<types.h> typedef struct _KHEAPBLOCKBM { struct _KHEAPBLOCKBM *next; diff --git a/src/c/idt.c b/src/c/idt.c index d12015e..005a05c 100644 --- a/src/c/idt.c +++ b/src/c/idt.c @@ -1,6 +1,6 @@ -#include"../include/types.h" -#include"../include/irq.h" -#include"../include/asm.h" +#include<types.h> +#include<irq.h> +#include<asm.h> #define INTERRUPT_GATE_32 0x8E diff --git a/src/c/irq.c b/src/c/irq.c index 2a1c4d4..62b53ee 100644 --- a/src/c/irq.c +++ b/src/c/irq.c @@ -1,5 +1,5 @@ -#include"../include/stdio.h" -#include"../include/asm.h" +#include<stdio.h> +#include<asm.h> #define INTERRUPT_GATE_32 0x8e diff --git a/src/c/kernel.c b/src/c/kernel.c index a00c242..df12193 100644 --- a/src/c/kernel.c +++ b/src/c/kernel.c @@ -1,5 +1,5 @@ -#include"../include/stdio.h" -#include"../include/heap.h" +#include<stdio.h> +#include<heap.h> void terminal_initialize(void); void init_idt_table(void); diff --git a/src/c/keyboard.c b/src/c/keyboard.c index d573472..5da3239 100644 --- a/src/c/keyboard.c +++ b/src/c/keyboard.c @@ -1,6 +1,6 @@ -#include"../include/types.h" -#include"../include/asm.h" -#include"../include/stdio.h" +#include<types.h> +#include<asm.h> +#include<stdio.h> #define BUFFER_SIZE 200 char buffer[BUFFER_SIZE]; diff --git a/src/c/paging.c b/src/c/paging.c index becc79d..660ee8c 100644 --- a/src/c/paging.c +++ b/src/c/paging.c @@ -1,4 +1,4 @@ -#include"../include/types.h" +#include<types.h> extern void loadPageDirectory(uint32_t*); extern void enablePaging(); diff --git a/src/c/stack_protector.c b/src/c/stack_protector.c index 3289cec..9ce3cba 100644 --- a/src/c/stack_protector.c +++ b/src/c/stack_protector.c @@ -1,5 +1,5 @@ -#include <stdint.h> -#include"../include/stdio.h" +#include<stdint.h> +#include<stdio.h> #if UINT32_MAX == UINTPTR_MAX #define STACK_CHK_GUARD 0xe2dee396 diff --git a/src/c/stdio.c b/src/c/stdio.c index 83d2b0a..36fd140 100644 --- a/src/c/stdio.c +++ b/src/c/stdio.c @@ -1,5 +1,5 @@ -#include"../include/types.h" -#include"../include/string.h" +#include<types.h> +#include<string.h> #include<stdarg.h> void terminal_putchar(char c); diff --git a/src/c/string.c b/src/c/string.c index ff2821a..6a3a96b 100644 --- a/src/c/string.c +++ b/src/c/string.c @@ -1,4 +1,4 @@ -#include"../include/types.h" +#include<types.h> size_t stringlen(char *str) { diff --git a/src/c/timer.c b/src/c/timer.c index edeea21..0b4ddaa 100644 --- a/src/c/timer.c +++ b/src/c/timer.c @@ -1,6 +1,6 @@ -#include"../include/types.h" -#include"../include/asm.h" -#include"../include/stdio.h" +#include<types.h> +#include<asm.h> +#include<stdio.h> void add_idt_entry(size_t num,uint32_t offset); diff --git a/src/c/tty.c b/src/c/tty.c index c473fa1..c7e5f44 100644 --- a/src/c/tty.c +++ b/src/c/tty.c @@ -1,7 +1,7 @@ -#include"../include/types.h" -#include"../include/string.h" -#include"../include/stdio.h" -#include"../include/vga.h" +#include<types.h> +#include<string.h> +#include<stdio.h> +#include<vga.h> #define CMD_LENGTH 20 diff --git a/src/c/vga.c b/src/c/vga.c index 8c1824b..e61cd7f 100644 --- a/src/c/vga.c +++ b/src/c/vga.c @@ -1,7 +1,7 @@ -#include"../include/types.h" -#include"../include/string.h" -#include"../include/asm.h" -#include"../include/vga.h" +#include<types.h> +#include<string.h> +#include<asm.h> +#include<vga.h> size_t terminal_row; size_t terminal_column; |
