Files
openbios/arch/ppc/pearpc/pearpc.h
Blue Swirl b60891b683 Avoid a lot of malloc/free traffic
Each console write caused temporary buffer allocation.

Avoid allocations by changing console_draw_str() to use Forth
string parameters, which are usually readily available.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@872 f158a5a8-5612-0410-a976-696ce0be7e32
2010-09-29 20:30:51 +00:00

27 lines
559 B
C

/*
* Creation Date: <2004/08/28 17:50:12 stepan>
* Time-stamp: <2004/08/28 17:50:12 stepan>
*
* <pearpc.h>
*
* Copyright (C) 2005 Stefan Reinauer
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2
*
*/
#ifndef _H_PEARPC
#define _H_PEARPC
/* vfd.c */
extern int vfd_draw_str( const char *str );
extern void vfd_close( void );
extern int console_draw_fstr(const char *str, int len);
#include "kernel.h"
#endif /* _H_PEARPC */