Interrupt Dispatch and Handling (for first common vectors)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "../kernel.h"
|
||||
#include "serial.h"
|
||||
|
||||
void outb(int port, unsigned char data)
|
||||
{
|
||||
@@ -34,6 +35,8 @@ int serial_init()
|
||||
|
||||
// Set normal operation mode
|
||||
outb(PORT + 4, 0x0F);
|
||||
|
||||
serial_kputs("\n\nkernel: serial: Serial initialization OK!\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user