aboutsummaryrefslogtreecommitdiff
path: root/hw/i386/kvm/xen_primary_console.h
blob: 7e2989ea0d42741c3a8074feaa6dda770e72d21f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * QEMU Xen emulation: Primary console support
 *
 * Copyright © 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 *
 * Authors: David Woodhouse <dwmw2@infradead.org>
 *
 * This work is licensed under the terms of the GNU GPL, version 2 or later.
 * See the COPYING file in the top-level directory.
 */

#ifndef QEMU_XEN_PRIMARY_CONSOLE_H
#define QEMU_XEN_PRIMARY_CONSOLE_H

void xen_primary_console_create(void);
int xen_primary_console_reset(void);

uint16_t xen_primary_console_get_port(void);
void xen_primary_console_set_be_port(uint16_t port);
uint64_t xen_primary_console_get_pfn(void);
void *xen_primary_console_get_map(void);

#endif /* QEMU_XEN_PRIMARY_CONSOLE_H */