1 /* Public Domain Curses */
2 /* This file is BSD licensed, Copyright 2011 secunet AG */
4 #include <libpayload.h>
7 int PDC_curs_set(int visibility
)
11 PDC_LOG(("PDC_curs_set() - called: visibility=%d\n", visibility
));
13 ret_vis
= SP
->visibility
;
14 SP
->visibility
= visibility
;
16 #if CONFIG(LP_SERIAL_CONSOLE)
17 if (curses_flags
& F_ENABLE_SERIAL
) {
18 serial_cursor_enable(visibility
);
21 #if CONFIG(LP_VIDEO_CONSOLE)
22 if (curses_flags
& F_ENABLE_CONSOLE
) {
23 video_console_cursor_enable(visibility
);
30 int PDC_set_blink(bool blinkon
)
32 if (pdc_color_started
)