Author: mcayland Date: Sat Jul 27 12:14:14 2013 New Revision: 1172 URL: http://tracker.coreboot.org/trac/openbios/changeset/1172
Log: video_common.c: remove video_open() and video_write() methods
These were only included to allow switching between the C terminal and the Forth terminal during development.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@ilande.co.uk
Modified: trunk/openbios-devel/libopenbios/video_common.c
Modified: trunk/openbios-devel/libopenbios/video_common.c ============================================================================== --- trunk/openbios-devel/libopenbios/video_common.c Thu Jul 11 18:49:27 2013 (r1171) +++ trunk/openbios-devel/libopenbios/video_common.c Sat Jul 27 12:14:14 2013 (r1172) @@ -319,26 +319,6 @@ #endif }
-static void -video_open(void) -{ - PUSH(-1); -} - -/* ( addr len -- actual ) */ -static void -video_write(void) -{ - char *addr; - int len; - - len = POP(); - addr = (char *)cell2pointer(POP()); - - console_draw_fstr(addr, len); - PUSH(len); -} - /* ( color_ind x y width height -- ) (?) */ void video_fill_rect(void) @@ -383,14 +363,6 @@
activate_dev(ph);
- if (!find_package_method("open", ph)) { - bind_func("open", video_open); - } - - if (!find_package_method("write", ph)) { - bind_func("write", video_write); - } - molvideo_init(); } video.has_video = 1;