Avoid a lot of malloc/free traffic
commit74a812c86f47e4fa5ca344ec904b187ed5713a71
authorblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Wed, 29 Sep 2010 20:30:51 +0000 (29 20:30 +0000)
committerblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Wed, 29 Sep 2010 20:30:51 +0000 (29 20:30 +0000)
tree3ffdb3c1978f614a0535bca0c37420166b64d9d2
parent4589279664406f8d7c8739702f5faa6952ac1aa6
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://openbios.org/openbios/trunk/openbios-devel@872 f158a5a8-5612-0410-a976-696ce0be7e32
arch/ppc/mol/methods.c
arch/ppc/mol/mol.h
arch/ppc/pearpc/methods.c
arch/ppc/pearpc/pearpc.h
arch/sparc32/console.c
arch/x86/xbox/methods.c
include/libopenbios/console.h
libopenbios/console_common.c
packages/video.c