rename vga to terminal and move to gfx folder
This commit is contained in:
parent
065dbf5177
commit
bb30cd2a65
5 changed files with 4 additions and 4 deletions
2
Makefile
2
Makefile
|
@ -8,7 +8,7 @@ CC=i686-elf-gcc
|
|||
bootstrap.o: bootstrap.s
|
||||
i686-elf-as bootstrap.s -o bootstrap.o
|
||||
|
||||
kernel.bin: bootstrap.o vga.o std/std.o std/kstd.o cpu/idt.o cpu/pic.o cpu/exception.o kernel.o
|
||||
kernel.bin: bootstrap.o gfx/terminal.o std/std.o std/kstd.o cpu/idt.o cpu/pic.o cpu/exception.o kernel.o
|
||||
$(CC) -T linker.ld -o $@ -ffreestanding -O2 -nostdlib -lgcc $^
|
||||
|
||||
iso: kernel.bin
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "vga.h"
|
||||
#include "gfx/terminal.h"
|
||||
#include "std/std.h"
|
||||
|
||||
size_t terminal_row;
|
2
kernel.c
2
kernel.c
|
@ -1,7 +1,7 @@
|
|||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include "vga.h"
|
||||
#include "gfx/terminal.h"
|
||||
#include "cpu/pic.h"
|
||||
#include "cpu/idt.h"
|
||||
#include "std/kstd.h"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#include <limits.h>
|
||||
#include "std/kstd.h"
|
||||
#include "std/std.h"
|
||||
#include "vga.h"
|
||||
#include "gfx/terminal.h"
|
||||
|
||||
int putchar(int ic) {
|
||||
char c = (char) ic;
|
||||
|
|
Loading…
Reference in a new issue