Home
last modified time | relevance | path

Searched refs:current_vt (Results 1 – 4 of 4) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/
DSDL_gsvideo.h48 int current_vt; member
74 #define current_vt (this->hidden->current_vt) macro
DSDL_gsevents.c156 if ( current_vt > 0 ) { in GS_EnterGraphicsMode()
162 if ( ioctl(keyboard_fd, VT_ACTIVATE, current_vt) == 0 ) { in GS_EnterGraphicsMode()
163 ioctl(keyboard_fd, VT_WAITACTIVE, current_vt); in GS_EnterGraphicsMode()
251 ioctl(tty0_fd, VT_OPENQRY, &current_vt); in GS_OpenKeyboard()
253 if ( (geteuid() == 0) && (current_vt > 0) ) { in GS_OpenKeyboard()
257 SDL_snprintf(vtpath, SDL_arraysize(vtpath), vcs[i], current_vt); in GS_OpenKeyboard()
278 current_vt = 0; in GS_OpenKeyboard()
282 fprintf(stderr, "Current VT: %d\n", current_vt); in GS_OpenKeyboard()
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/
DSDL_fbvideo.h68 int current_vt; member
112 #define current_vt (this->hidden->current_vt) macro
DSDL_fbevents.c163 if ( current_vt > 0 ) { in FB_EnterGraphicsMode()
169 if ( ioctl(keyboard_fd, VT_ACTIVATE, current_vt) == 0 ) { in FB_EnterGraphicsMode()
170 ioctl(keyboard_fd, VT_WAITACTIVE, current_vt); in FB_EnterGraphicsMode()
261 ioctl(tty0_fd, VT_OPENQRY, &current_vt); in FB_OpenKeyboard()
263 if ( (geteuid() == 0) && (current_vt > 0) ) { in FB_OpenKeyboard()
267 SDL_snprintf(vtpath, SDL_arraysize(vtpath), vcs[i], current_vt); in FB_OpenKeyboard()
293 current_vt = vtstate.v_active; in FB_OpenKeyboard()
295 current_vt = 0; in FB_OpenKeyboard()
299 fprintf(stderr, "Current VT: %d\n", current_vt); in FB_OpenKeyboard()
1052 vtstate.v_active == current_vt ) { in FB_PumpEvents()