diff --git a/kernel/utils.c b/kernel/utils.c index 7d04b57..86c882e 100644 --- a/kernel/utils.c +++ b/kernel/utils.c @@ -24,27 +24,6 @@ size_t strlen(const char* string) { return size; } -/* - Read data from a port. Effectively communicates with hardware. - * @param port: The port number to read, as a hex short. - */ -uint8_t inb(uint16_t port) { - uint8_t ptr; - asm volatile("inb %1, %0" : "=a" (ptr) : "dN" (port)); - return ptr; -} - -/* - Write data to a port. Effectively communicates with hardware. - * @param port: The port to read - * @param data: A pointer to which the data will be stored. - - */ -void outb(uint16_t port, uint8_t data) { - asm volatile("outb %1, %0" : : "dN" (port), "a" (data)); -} - - /* Memory Copy. Required by GCC. * @param dest: The destination in memory, to which the data will be copied.