Renaming/Moving stuff into a different file structure
This commit is contained in:
19
src/kernel/ports/serial.h
Normal file
19
src/kernel/ports/serial.h
Normal file
@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
class Serial {
|
||||
|
||||
public:
|
||||
static Serial init();
|
||||
|
||||
void print();
|
||||
|
||||
private:
|
||||
const int COM1 = 0x3F8;
|
||||
const int COM2 = 0x2F8;
|
||||
const int COM3 = 0x3E8;
|
||||
const int COM4 = 0x2E8;
|
||||
|
||||
|
||||
Serial();
|
||||
~Serial();
|
||||
};
|
Reference in New Issue
Block a user