mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
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
10 lines
213 B
C
10 lines
213 B
C
#ifndef VIDEO_CONSOLE_H
|
|
#define VIDEO_CONSOLE_H
|
|
|
|
/* libopenbios/console_common.c */
|
|
int console_draw_fstr(const char *str, int len);
|
|
int console_init(void);
|
|
void console_close(void);
|
|
|
|
#endif /* VIDEO_CONSOLE_H */
|