MOS Source Code
Loading...
Searching...
No Matches
serial_driver.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: GPL-3.0-or-later
2
3
#pragma once
4
5
#include "
mos/device/serial.h
"
6
7
typedef
enum
8
{
9
COM1
= 0x3F8,
10
COM2
= 0x2F8,
11
COM3
= 0x3E8,
12
COM4
= 0x2E8,
13
COM5
= 0x5F8,
14
COM6
= 0x4F8,
15
COM7
= 0x5E8,
16
COM8
= 0x4E8
17
}
x86_com_port_t
;
18
19
extern
const
serial_driver_t
x86_serial_driver
;
serial.h
x86_serial_driver
const serial_driver_t x86_serial_driver
Definition
serial_driver.c:32
x86_com_port_t
x86_com_port_t
Definition
serial_driver.h:8
COM1
@ COM1
Definition
serial_driver.h:9
COM4
@ COM4
Definition
serial_driver.h:12
COM5
@ COM5
Definition
serial_driver.h:13
COM2
@ COM2
Definition
serial_driver.h:10
COM8
@ COM8
Definition
serial_driver.h:16
COM3
@ COM3
Definition
serial_driver.h:11
COM7
@ COM7
Definition
serial_driver.h:15
COM6
@ COM6
Definition
serial_driver.h:14
serial_driver_t
Definition
serial.h:72
kernel
arch
x86_64
include
private
mos
x86
devices
serial_driver.h
Generated on Sun Sep 1 2024 18:22:52 for MOS Source Code by
1.12.0