Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
console.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 EPAM Systems
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef __XEN_CONSOLE_H__
7#define __XEN_CONSOLE_H__
8
9#include <zephyr/init.h>
10#include <zephyr/device.h>
11#include <zephyr/drivers/uart.h>
13
15 DEVICE_MMIO_RAM; /* should be first */
16 const struct device *dev;
19
20#ifdef CONFIG_UART_INTERRUPT_DRIVEN
23#endif /* CONFIG_UART_INTERRUPT_DRIVEN */
24};
25
26int xen_console_init(const struct device *dev);
27
28#endif /* __XEN_CONSOLE_H__ */
Public APIs for UART drivers.
void(* uart_irq_callback_user_data_t)(const struct device *dev, void *user_data)
Define the application callback function signature for uart_irq_callback_user_data_set() function.
Definition: uart.h:141
__UINT64_TYPE__ uint64_t
Definition: stdint.h:91
Runtime device structure (in ROM) per driver instance.
Definition: device.h:403
Definition: console.h:14
const struct device * dev
Definition: console.h:16
void * irq_cb_data
Definition: console.h:22
struct xencons_interface * intf
Definition: console.h:17
uint64_t evtchn
Definition: console.h:18
DEVICE_MMIO_RAM
Definition: console.h:15
uart_irq_callback_user_data_t irq_cb
Definition: console.h:21
Definition: console.h:36
int xen_console_init(const struct device *dev)