From af1a266670d040d2f4083ff309d732d648afba2a Mon Sep 17 00:00:00 2001 From: Angelos Mouzakitis Date: Tue, 10 Oct 2023 14:33:42 +0000 Subject: Add submodule dependency files Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec --- roms/openbios/include/libopenbios/console.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 roms/openbios/include/libopenbios/console.h (limited to 'roms/openbios/include/libopenbios/console.h') diff --git a/roms/openbios/include/libopenbios/console.h b/roms/openbios/include/libopenbios/console.h new file mode 100644 index 000000000..899dab831 --- /dev/null +++ b/roms/openbios/include/libopenbios/console.h @@ -0,0 +1,25 @@ +/* + * + * + * Shared console routines + * + * Copyright (C) 2013 Mark Cave-Ayland (mark.cave-ayland@ilande.co.uk) + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation + * + */ + +#ifndef _H_CONSOLE +#define _H_CONSOLE + +struct _console_ops { + int (*putchar)(int c); + int (*availchar)(void); + int (*getchar)(void); +}; + +void init_console(struct _console_ops ops); + +#endif /* _H_CONSOLE */ -- cgit 1.2.3-korg