mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Signed-off-by: Laurent Vivier <Laurent@lvivier.info> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://coreboot.org/openbios/openbios-devel@253 f158a5a8-5612-0410-a976-696ce0be7e32
43 lines
650 B
C
43 lines
650 B
C
/*
|
|
* Creation Date: <2004/08/28 17:29:43 greg>
|
|
* Time-stamp: <2004/08/28 17:29:43 greg>
|
|
*
|
|
* <vfd.c>
|
|
*
|
|
* Simple text console
|
|
*
|
|
* Copyright (C) 2004 Greg Watson
|
|
*
|
|
* 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
|
|
*
|
|
*/
|
|
|
|
#include "openbios/config.h"
|
|
#include "openbios/bindings.h"
|
|
#include "qemu/qemu.h"
|
|
|
|
static int vfd_is_open;
|
|
|
|
static int
|
|
vfd_init( void )
|
|
{
|
|
vfd_is_open = 1;
|
|
return 0;
|
|
}
|
|
|
|
void
|
|
vfd_close( void )
|
|
{
|
|
}
|
|
|
|
int
|
|
vfd_draw_str( const char *str )
|
|
{
|
|
if (!vfd_is_open)
|
|
vfd_init();
|
|
|
|
return 0;
|
|
}
|