xref: /openbmc/qemu/hw/i386/kvm/xen_primary_console.h (revision 735e354a)
1 /*
2  * QEMU Xen emulation: Primary console support
3  *
4  * Copyright © 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5  *
6  * Authors: David Woodhouse <dwmw2@infradead.org>
7  *
8  * This work is licensed under the terms of the GNU GPL, version 2 or later.
9  * See the COPYING file in the top-level directory.
10  */
11 
12 #ifndef QEMU_XEN_PRIMARY_CONSOLE_H
13 #define QEMU_XEN_PRIMARY_CONSOLE_H
14 
15 void xen_primary_console_create(void);
16 int xen_primary_console_reset(void);
17 
18 uint16_t xen_primary_console_get_port(void);
19 void xen_primary_console_set_be_port(uint16_t port);
20 uint64_t xen_primary_console_get_pfn(void);
21 void *xen_primary_console_get_map(void);
22 
23 #endif /* QEMU_XEN_PRIMARY_CONSOLE_H */
24