xref: /haiku/headers/private/kernel/boot/uart.h (revision 3d4afef9cba2f328e238089d4609d00d4b1524f3)
1 /*
2  * Copyright 2021 Haiku, Inc. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef KERNEL_BOOT_UART_H
6 #define KERNEL_BOOT_UART_H
7 
8 
9 #include <boot/addr_range.h>
10 #include <SupportDefs.h>
11 
12 
13 typedef struct {
14 	char kind[32];
15 	addr_range regs;
16 	uint32 irq;
17 	int64 clock;
18 } __attribute__((packed)) uart_info;
19 
20 
21 #endif /* KERNEL_BOOT_UART_H */
22