OUTB implementation
This commit is contained in:
parent
6547181959
commit
94657a7b47
1 changed files with 1 additions and 3 deletions
4
kernel.c
4
kernel.c
|
@ -1,11 +1,9 @@
|
|||
#include "multiboot.h"
|
||||
#include "vga.h"
|
||||
|
||||
/*
|
||||
static inline void outb(unsigned int port, unsigned char val) {
|
||||
static inline void outb(unsigned short port, unsigned char val) {
|
||||
asm volatile ("outb %0, %1" : : "a"(val), "Nd"(port) : "memory");
|
||||
}
|
||||
*/
|
||||
|
||||
char* itoa(int value, int base) {
|
||||
char* result;
|
||||
|
|
Loading…
Reference in a new issue