Renaming putchar to putc
This commit is contained in:
parent
e438ef985a
commit
b077a17fa4
3 changed files with 7 additions and 7 deletions
|
@ -48,7 +48,7 @@ void putpixel(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void putchar(
|
void putc(
|
||||||
unsigned char *character,
|
unsigned char *character,
|
||||||
unsigned short x,
|
unsigned short x,
|
||||||
unsigned short y,
|
unsigned short y,
|
||||||
|
|
|
@ -18,7 +18,7 @@ void putpixel(
|
||||||
unsigned char g,
|
unsigned char g,
|
||||||
unsigned char b
|
unsigned char b
|
||||||
);
|
);
|
||||||
void putchar(
|
void putc(
|
||||||
unsigned char *character,
|
unsigned char *character,
|
||||||
unsigned short x,
|
unsigned short x,
|
||||||
unsigned short y,
|
unsigned short y,
|
||||||
|
|
10
src/kernel.c
10
src/kernel.c
|
@ -87,11 +87,11 @@ void kmain (unsigned int mbootmagick, multiboot_info_t* mbootinfo)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
putchar("r", 412, 5, 0xff, 0xff, 0xff);
|
putc("r", 412, 5, 0xff, 0xff, 0xff);
|
||||||
putchar("O", 452, 5, 0xff, 0xff, 0xff);
|
putc("O", 452, 5, 0xff, 0xff, 0xff);
|
||||||
putchar("S", 492, 5, 0xff, 0xff, 0xff);
|
putc("S", 492, 5, 0xff, 0xff, 0xff);
|
||||||
putchar("k", 532, 5, 0xff, 0xff, 0xff);
|
putc("k", 532, 5, 0xff, 0xff, 0xff);
|
||||||
putchar("a", 572, 5, 0xff, 0xff, 0xff);
|
putc("a", 572, 5, 0xff, 0xff, 0xff);
|
||||||
//while(1){}
|
//while(1){}
|
||||||
|
|
||||||
serial_write_string("\nExecution finished, halting...\n");
|
serial_write_string("\nExecution finished, halting...\n");
|
||||||
|
|
Loading…
Reference in a new issue