/* * 86Box A hypervisor and IBM PC system emulator that specializes in * running old operating systems and software designed for IBM * PC systems and compatibles from 1981 through fairly recent * system designs based on the PCI bus. * * This file is part of the 86Box distribution. * * Definitions for platform specific serial to host passthrough. * * * Authors: Andreas J. Reichel , * Jasmine Iwanek * * Copyright 2021 Andreas J. Reichel. * Copyright 2021-2022 Jasmine Iwanek. */ #ifndef PLAT_SERIAL_PASSTHROUGH_H #define PLAT_SERIAL_PASSTHROUGH_H #include #ifdef __cplusplus extern "C" { #endif extern void plat_serpt_write(void *priv, uint8_t data); extern int plat_serpt_read(void *priv, uint8_t *data); extern int plat_serpt_open_device(void *priv); extern void plat_serpt_close(void *priv); extern void plat_serpt_set_params(void *priv); #ifdef __cplusplus } #endif #endif