Merge tag 'v9.0.0-rc3'
[qemu/ar7.git] / hw / i386 / kvm / xen_primary_console.h
blob7e2989ea0d42741c3a8074feaa6dda770e72d21f
1 /*
2 * QEMU Xen emulation: Primary console support
4 * Copyright © 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
6 * Authors: David Woodhouse <dwmw2@infradead.org>
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.
12 #ifndef QEMU_XEN_PRIMARY_CONSOLE_H
13 #define QEMU_XEN_PRIMARY_CONSOLE_H
15 void xen_primary_console_create(void);
16 int xen_primary_console_reset(void);
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);
23 #endif /* QEMU_XEN_PRIMARY_CONSOLE_H */