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