v2 initial commit
This commit is contained in:
parent
2c97dba9f7
commit
d2ef885e8d
118 changed files with 2420 additions and 9320 deletions
14
amd64/include/drivers/serial.h
Normal file
14
amd64/include/drivers/serial.h
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
#ifndef _SERIAL_H_
|
||||
#define _SERIAL_H_
|
||||
|
||||
#define COM1 0x3F8
|
||||
#define COM2 0x2F8
|
||||
|
||||
#define DEV_CLASS_NATIVE_SERIAL 0x9000
|
||||
|
||||
#include <kernel/device.h>
|
||||
|
||||
dev_t arch_serial_init();
|
||||
|
||||
#endif /* _SERIAL_H_ */
|
||||
Loading…
Reference in a new issue