Browse Source

Rename assembly file

compile-me
garritfra 5 years ago
parent
commit
a6187c1fcd
  1. 2
      Makefile
  2. 2
      io.h
  3. 0
      outb.s

2
Makefile

@ -1,4 +1,4 @@
OBJECTS = io.o loader.o kmain.o
OBJECTS = io.o loader.o kmain.o outb.o
CC = gcc
CFLAGS = -m32 -nostdlib -nostdinc -fno-builtin -fno-stack-protector \
-nostartfiles -nodefaultlibs -Wall -Wextra -Werror -c

2
io.h

@ -11,7 +11,7 @@
int write(char *buf, unsigned int len);
void outb(unsigned short port, unsigned char data);
extern void outb(unsigned short port, unsigned char data);
/** fb_write_cell:
* Writes a character with the given foreground and background to position i

0
io.s → outb.s

Loading…
Cancel
Save