haiku/headers/private/kernel/boot/uart.h
Alexander von Gluck IV d637e0bec1 system/kernel: Rework uart management
Change-Id: I6cb31760519c8ba4542d217d6e68439602eda558
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4356
Reviewed-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2021-08-20 03:03:25 +00:00

22 lines
370 B
C

/*
* Copyright 2021 Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef KERNEL_BOOT_UART_H
#define KERNEL_BOOT_UART_H
#include <boot/addr_range.h>
#include <SupportDefs.h>
typedef struct {
char kind[32];
addr_range regs;
uint32 irq;
int64 clock;
} __attribute__((packed)) uart_info;
#endif /* KERNEL_BOOT_UART_H */