taglinefilesource code
currcons130drivers/char/console.cextern void get_scrmem(int currcons);
currcons131drivers/char/console.cextern void set_scrmem(int currcons, long offset);
currcons132drivers/char/console.cstatic void set_origin(int currcons);
currcons137drivers/char/console.cstatic void gotoxy(int currcons, int new_x, int new_y);
currcons138drivers/char/console.cstatic void save_cur(int currcons);
currcons139drivers/char/console.cextern void set_cursor(int currcons);
currcons141drivers/char/console.cstatic void reset_terminal(int currcons, int do_clear);
currcons149drivers/char/console.cextern void reset_palette(int currcons);
currcons355drivers/char/console.cunsigned int currcons, i;
currcons373drivers/char/console.cfor (currcons = 0; currcons < MAX_NR_CONSOLES; currcons++) {
currcons374drivers/char/console.cif (!vc_cons_allocated(currcons))
currcons375drivers/char/console.cnewscreens[currcons] = 0;
currcons379drivers/char/console.cfor (i = 0; i< currcons; i++)
currcons384drivers/char/console.cnewscreens[currcons] = p;
currcons400drivers/char/console.cfor (currcons = 0; currcons < MAX_NR_CONSOLES; currcons++) {
currcons401drivers/char/console.cif (!vc_cons_allocated(currcons))
currcons407drivers/char/console.cnl = (long) newscreens[currcons];
currcons420drivers/char/console.ckfree_s(vc_scrbuf[currcons], screenbuf_size);
currcons421drivers/char/console.cvc_scrbuf[currcons] = newscreens[currcons];
currcons425drivers/char/console.corigin = video_mem_start = (long) vc_scrbuf[currcons];
currcons434drivers/char/console.cgotoxy(currcons, x, y);
currcons435drivers/char/console.csave_cur(currcons);
currcons445drivers/char/console.cvoid vc_disallocate(unsigned int currcons)
currcons447drivers/char/console.cif (vc_cons_allocated(currcons)) {
currcons449drivers/char/console.ckfree_s(vc_scrbuf[currcons], screenbuf_size);
currcons450drivers/char/console.cif (currcons >= MIN_NR_CONSOLES)
currcons451drivers/char/console.ckfree_s(vc_cons[currcons].d, structsize);
currcons452drivers/char/console.cvc_cons[currcons].d = 0;
currcons457drivers/char/console.c#define set_kbd(x) set_vc_kbd_mode(kbd_table+currcons,x)
currcons458drivers/char/console.c#define clr_kbd(x) clr_vc_kbd_mode(kbd_table+currcons,x)
currcons459drivers/char/console.c#define is_kbd(x) vc_kbd_mode(kbd_table+currcons,x)
currcons488drivers/char/console.cstatic void gotoxy(int currcons, int new_x, int new_y)
currcons577drivers/char/console.cstatic void set_origin(int currcons)
currcons582drivers/char/console.cif (currcons != fg_console || console_blanked || vcmode == KD_GRAPHICS)
currcons588drivers/char/console.cvoid scrup(int currcons, unsigned int t, unsigned int b)
currcons622drivers/char/console.cif (currcons == fg_console)
currcons637drivers/char/console.cset_origin(currcons);
currcons656drivers/char/console.cscrdown(int currcons, unsigned int t, unsigned int b)
currcons678drivers/char/console.cstatic void lf(int currcons)
currcons684drivers/char/console.cscrup(currcons,top,bottom);
currcons692drivers/char/console.cstatic void ri(int currcons)
currcons698drivers/char/console.cscrdown(currcons,top,bottom);
currcons706drivers/char/console.cstatic inline void cr(int currcons)
currcons712drivers/char/console.cstatic inline void bs(int currcons)
currcons721drivers/char/console.cstatic inline void del(int currcons)
currcons726drivers/char/console.cstatic void csi_J(int currcons, int vpar)
currcons754drivers/char/console.cstatic void csi_K(int currcons, int vpar)
currcons782drivers/char/console.cstatic void csi_X(int currcons, int vpar) /* erase the following vpar positions */
currcons800drivers/char/console.cstatic void update_attr(int currcons)
currcons827drivers/char/console.cstatic void default_attr(int currcons)
currcons836drivers/char/console.cstatic void csi_m(int currcons)
currcons843drivers/char/console.cdefault_attr(currcons);
currcons928drivers/char/console.cupdate_attr(currcons);
currcons940drivers/char/console.cstatic void cursor_report(int currcons, struct tty_struct * tty)
currcons970drivers/char/console.cint currcons = fg_console;
currcons975drivers/char/console.cstatic inline unsigned short *screenpos(int currcons, int offset, int viewed)
currcons978drivers/char/console.cif (viewed && currcons == fg_console)
currcons984drivers/char/console.cvoid invert_screen(int currcons, int offset, int count, int viewed)
currcons989drivers/char/console.cp = screenpos(currcons, offset, viewed);
currcons1006drivers/char/console.cvoid complement_pos(int currcons, int offset)
currcons1016drivers/char/console.cp = screenpos(currcons, offset, 1);
currcons1023drivers/char/console.cunsigned short screen_word(int currcons, int offset, int viewed)
currcons1025drivers/char/console.creturn scr_readw(screenpos(currcons, offset, viewed));
currcons1037drivers/char/console.cunsigned short *screen_pos(int currcons, int w_offset, int viewed)
currcons1039drivers/char/console.creturn screenpos(currcons, 2 * w_offset, viewed);
currcons1042drivers/char/console.cvoid getconsxy(int currcons, char *p)
currcons1048drivers/char/console.cvoid putconsxy(int currcons, char *p)
currcons1050drivers/char/console.cgotoxy(currcons, p[0], p[1]);
currcons1051drivers/char/console.cset_cursor(currcons);
currcons1054drivers/char/console.cstatic void set_mode(int currcons, int on_off)
currcons1077drivers/char/console.cinvert_screen(currcons, 0, video_screen_size, 0);
currcons1078drivers/char/console.cupdate_attr(currcons);
currcons1083drivers/char/console.cgotoxy(currcons,0,0);
currcons1099drivers/char/console.cset_cursor(currcons);
currcons1120drivers/char/console.cstatic void setterm_command(int currcons)
currcons1127drivers/char/console.cupdate_attr(currcons);
currcons1134drivers/char/console.cupdate_attr(currcons);
currcons1139drivers/char/console.cdefault_attr(currcons);
currcons1140drivers/char/console.cupdate_attr(currcons);
currcons1172drivers/char/console.cstatic void insert_char(int currcons)
currcons1187drivers/char/console.cstatic void insert_line(int currcons)
currcons1189drivers/char/console.cscrdown(currcons,y,bottom);
currcons1193drivers/char/console.cstatic void delete_char(int currcons)
currcons1206drivers/char/console.cstatic void delete_line(int currcons)
currcons1208drivers/char/console.cscrup(currcons,y,bottom);
currcons1212drivers/char/console.cstatic void csi_at(int currcons, unsigned int nr)
currcons1219drivers/char/console.cinsert_char(currcons);
currcons1222drivers/char/console.cstatic void csi_L(int currcons, unsigned int nr)
currcons1229drivers/char/console.cinsert_line(currcons);
currcons1232drivers/char/console.cstatic void csi_P(int currcons, unsigned int nr)
currcons1239drivers/char/console.cdelete_char(currcons);
currcons1242drivers/char/console.cstatic void csi_M(int currcons, unsigned int nr)
currcons1249drivers/char/console.cdelete_line(currcons);
currcons1252drivers/char/console.cstatic void save_cur(int currcons)
currcons1266drivers/char/console.cstatic void restore_cur(int currcons)
currcons1268drivers/char/console.cgotoxy(currcons,saved_x,saved_y);
currcons1278drivers/char/console.cupdate_attr(currcons);
currcons1286drivers/char/console.cstatic void reset_terminal(int currcons, int do_clear)
currcons1314drivers/char/console.ckbd_table[currcons].lockstate = 0;
currcons1315drivers/char/console.ckbd_table[currcons].slockstate = 0;
currcons1316drivers/char/console.ckbd_table[currcons].ledmode = LED_SHOW_FLAGS;
currcons1317drivers/char/console.ckbd_table[currcons].ledflagstate = kbd_table[currcons].default_ledflagstate;
currcons1320drivers/char/console.cdefault_attr(currcons);
currcons1321drivers/char/console.cupdate_attr(currcons);
currcons1332drivers/char/console.cgotoxy(currcons,0,0);
currcons1333drivers/char/console.csave_cur(currcons);
currcons1335drivers/char/console.ccsi_J(currcons,2);
currcons1372drivers/char/console.cunsigned int currcons;
currcons1375drivers/char/console.ccurrcons = vt->vc_num;
currcons1376drivers/char/console.cif (!vc_cons_allocated(currcons)) {
currcons1381drivers/char/console.cprintk("con_write: tty %d not allocated\n", currcons+1);
currcons1386drivers/char/console.cif (currcons == sel_cons)
currcons1462drivers/char/console.ccr(currcons);
currcons1463drivers/char/console.clf(currcons);
currcons1466drivers/char/console.cinsert_char(currcons);
currcons1490drivers/char/console.cbs(currcons);
currcons1502drivers/char/console.clf(currcons);
currcons1506drivers/char/console.ccr(currcons);
currcons1525drivers/char/console.cdel(currcons);
currcons1545drivers/char/console.ccr(currcons);
currcons1546drivers/char/console.clf(currcons);
currcons1549drivers/char/console.cri(currcons);
currcons1552drivers/char/console.clf(currcons);
currcons1561drivers/char/console.csave_cur(currcons);
currcons1564drivers/char/console.crestore_cur(currcons);
currcons1576drivers/char/console.creset_terminal(currcons,1);
currcons1594drivers/char/console.creset_palette (currcons);
currcons1641drivers/char/console.cset_mode(currcons,1);
currcons1644drivers/char/console.cset_mode(currcons,0);
currcons1651drivers/char/console.ccursor_report(currcons,tty);
currcons1661drivers/char/console.cgotoxy(currcons,par[0],y);
currcons1665drivers/char/console.cgotoxy(currcons,x,y-par[0]);
currcons1669drivers/char/console.cgotoxy(currcons,x,y+par[0]);
currcons1673drivers/char/console.cgotoxy(currcons,x+par[0],y);
currcons1677drivers/char/console.cgotoxy(currcons,x-par[0],y);
currcons1681drivers/char/console.cgotoxy(currcons,0,y+par[0]);
currcons1685drivers/char/console.cgotoxy(currcons,0,y-par[0]);
currcons1689drivers/char/console.cgotoxy(currcons,x,par[0]);
currcons1694drivers/char/console.cgotoxy(currcons,par[1],par[0]);
currcons1697drivers/char/console.ccsi_J(currcons,par[0]);
currcons1700drivers/char/console.ccsi_K(currcons,par[0]);
currcons1703drivers/char/console.ccsi_L(currcons,par[0]);
currcons1706drivers/char/console.ccsi_M(currcons,par[0]);
currcons1709drivers/char/console.ccsi_P(currcons,par[0]);
currcons1727drivers/char/console.ccsi_m(currcons);
currcons1732drivers/char/console.csetledstate(kbd_table + currcons,
currcons1745drivers/char/console.cgotoxy(currcons,0,0);
currcons1749drivers/char/console.csave_cur(currcons);
currcons1752drivers/char/console.crestore_cur(currcons);
currcons1755drivers/char/console.ccsi_X(currcons, par[0]);
currcons1758drivers/char/console.ccsi_at(currcons,par[0]);
currcons1761drivers/char/console.csetterm_command(currcons);
currcons1786drivers/char/console.ccsi_J(currcons, 2);
currcons1822drivers/char/console.cset_cursor(currcons);
currcons1856drivers/char/console.cint currcons = fg_console;
currcons1865drivers/char/console.ccurrcons = kmsg_redirect - 1;
currcons1867drivers/char/console.cif (!vc_cons_allocated(currcons)) {
currcons1869drivers/char/console.cprintk("console_print: tty %d not allocated ??\n", currcons+1);
currcons1880drivers/char/console.clf(currcons);
currcons1881drivers/char/console.ccr(currcons);
currcons1886drivers/char/console.cbs(currcons);
currcons1897drivers/char/console.cset_cursor(currcons);
currcons1918drivers/char/console.cstatic void vc_init(unsigned int currcons, unsigned long rows, unsigned long cols, int do_clear)
currcons1920drivers/char/console.clong base = (long) vc_scrbuf[currcons];
currcons1931drivers/char/console.creset_vc(currcons);
currcons1933drivers/char/console.cvc_cons[currcons].d->vc_palette[k++] = default_red[j] ;
currcons1934drivers/char/console.cvc_cons[currcons].d->vc_palette[k++] = default_grn[j] ;
currcons1935drivers/char/console.cvc_cons[currcons].d->vc_palette[k++] = default_blu[j] ;
currcons1940drivers/char/console.cvt_cons[currcons]->paste_wait = 0;
currcons1941drivers/char/console.creset_terminal(currcons, do_clear);
currcons1991drivers/char/console.cint currcons = 0;
currcons2040drivers/char/console.cfor (currcons = 0; currcons < MIN_NR_CONSOLES; currcons++) {
currcons2043drivers/char/console.cvc_cons[currcons].d = (struct vc_data *) kmem_start;
currcons2045drivers/char/console.cvt_cons[currcons] = (struct vt_struct *) kmem_start;
currcons2047drivers/char/console.cvc_scrbuf[currcons] = (unsigned short *) kmem_start;
currcons2051drivers/char/console.cvc_init(currcons, video_num_lines, video_num_columns, currcons);
currcons2053drivers/char/console.cvc_cons[currcons].d->vc_palette[k++] = default_red[j] ;
currcons2054drivers/char/console.cvc_cons[currcons].d->vc_palette[k++] = default_grn[j] ;
currcons2055drivers/char/console.cvc_cons[currcons].d->vc_palette[k++] = default_blu[j] ;
currcons2059drivers/char/console.ccurrcons = fg_console = 0;
currcons2065drivers/char/console.cgotoxy(currcons,orig_x,orig_y);
currcons2066drivers/char/console.cset_origin(currcons);
currcons2067drivers/char/console.ccsi_J(currcons, 0);
currcons2118drivers/char/console.cint currcons;
currcons2138drivers/char/console.ccurrcons = fg_console;
currcons2156drivers/char/console.cint currcons;
currcons2178drivers/char/console.ccurrcons = fg_console;
currcons2282drivers/char/console.cvoid reset_palette (int currcons)
currcons80drivers/char/console_struct.h#define screenbuf_size  (vc_cons[currcons].d->vc_screenbuf_size)
currcons81drivers/char/console_struct.h#define origin    (vc_cons[currcons].d->vc_origin)
currcons82drivers/char/console_struct.h#define scr_end  (vc_cons[currcons].d->vc_scr_end)
currcons83drivers/char/console_struct.h#define pos    (vc_cons[currcons].d->vc_pos)
currcons84drivers/char/console_struct.h#define top    (vc_cons[currcons].d->vc_top)
currcons85drivers/char/console_struct.h#define bottom    (vc_cons[currcons].d->vc_bottom)
currcons86drivers/char/console_struct.h#define x    (vc_cons[currcons].d->vc_x)
currcons87drivers/char/console_struct.h#define y    (vc_cons[currcons].d->vc_y)
currcons88drivers/char/console_struct.h#define vc_state  (vc_cons[currcons].d->vc_state)
currcons89drivers/char/console_struct.h#define npar    (vc_cons[currcons].d->vc_npar)
currcons90drivers/char/console_struct.h#define par    (vc_cons[currcons].d->vc_par)
currcons91drivers/char/console_struct.h#define ques    (vc_cons[currcons].d->vc_ques)
currcons92drivers/char/console_struct.h#define attr    (vc_cons[currcons].d->vc_attr)
currcons93drivers/char/console_struct.h#define saved_x  (vc_cons[currcons].d->vc_saved_x)
currcons94drivers/char/console_struct.h#define saved_y  (vc_cons[currcons].d->vc_saved_y)
currcons95drivers/char/console_struct.h#define translate  (vc_cons[currcons].d->vc_translate)
currcons96drivers/char/console_struct.h#define G0_charset  (vc_cons[currcons].d->vc_G0_charset)
currcons97drivers/char/console_struct.h#define G1_charset  (vc_cons[currcons].d->vc_G1_charset)
currcons98drivers/char/console_struct.h#define saved_G0  (vc_cons[currcons].d->vc_saved_G0)
currcons99drivers/char/console_struct.h#define saved_G1  (vc_cons[currcons].d->vc_saved_G1)
currcons100drivers/char/console_struct.h#define utf    (vc_cons[currcons].d->vc_utf)
currcons101drivers/char/console_struct.h#define utf_count  (vc_cons[currcons].d->vc_utf_count)
currcons102drivers/char/console_struct.h#define utf_char  (vc_cons[currcons].d->vc_utf_char)
currcons103drivers/char/console_struct.h#define video_mem_start (vc_cons[currcons].d->vc_video_mem_start)
currcons104drivers/char/console_struct.h#define video_mem_end  (vc_cons[currcons].d->vc_video_mem_end)
currcons105drivers/char/console_struct.h#define video_erase_char (vc_cons[currcons].d->vc_video_erase_char)
currcons106drivers/char/console_struct.h#define disp_ctrl  (vc_cons[currcons].d->vc_disp_ctrl)
currcons107drivers/char/console_struct.h#define toggle_meta  (vc_cons[currcons].d->vc_toggle_meta)
currcons108drivers/char/console_struct.h#define decscnm  (vc_cons[currcons].d->vc_decscnm)
currcons109drivers/char/console_struct.h#define decom    (vc_cons[currcons].d->vc_decom)
currcons110drivers/char/console_struct.h#define decawm    (vc_cons[currcons].d->vc_decawm)
currcons111drivers/char/console_struct.h#define deccm    (vc_cons[currcons].d->vc_deccm)
currcons112drivers/char/console_struct.h#define decim    (vc_cons[currcons].d->vc_decim)
currcons113drivers/char/console_struct.h#define deccolm  (vc_cons[currcons].d->vc_deccolm)
currcons114drivers/char/console_struct.h#define need_wrap  (vc_cons[currcons].d->vc_need_wrap)
currcons115drivers/char/console_struct.h#define has_scrolled  (vc_cons[currcons].d->vc_has_scrolled)
currcons116drivers/char/console_struct.h#define kmalloced  (vc_cons[currcons].d->vc_kmalloced)
currcons117drivers/char/console_struct.h#define report_mouse  (vc_cons[currcons].d->vc_report_mouse)
currcons118drivers/char/console_struct.h#define color    (vc_cons[currcons].d->vc_color)
currcons119drivers/char/console_struct.h#define s_color  (vc_cons[currcons].d->vc_s_color)
currcons120drivers/char/console_struct.h#define def_color  (vc_cons[currcons].d->vc_def_color)
currcons123drivers/char/console_struct.h#define charset  (vc_cons[currcons].d->vc_charset)
currcons124drivers/char/console_struct.h#define s_charset  (vc_cons[currcons].d->vc_s_charset)
currcons125drivers/char/console_struct.h#define  intensity  (vc_cons[currcons].d->vc_intensity)
currcons126drivers/char/console_struct.h#define  underline  (vc_cons[currcons].d->vc_underline)
currcons127drivers/char/console_struct.h#define  blink    (vc_cons[currcons].d->vc_blink)
currcons128drivers/char/console_struct.h#define  reverse    (vc_cons[currcons].d->vc_reverse)
currcons129drivers/char/console_struct.h#define  s_intensity  (vc_cons[currcons].d->vc_s_intensity)
currcons130drivers/char/console_struct.h#define  s_underline  (vc_cons[currcons].d->vc_s_underline)
currcons131drivers/char/console_struct.h#define  s_blink    (vc_cons[currcons].d->vc_s_blink)
currcons132drivers/char/console_struct.h#define  s_reverse  (vc_cons[currcons].d->vc_s_reverse)
currcons133drivers/char/console_struct.h#define  ulcolor    (vc_cons[currcons].d->vc_ulcolor)
currcons134drivers/char/console_struct.h#define  halfcolor  (vc_cons[currcons].d->vc_halfcolor)
currcons135drivers/char/console_struct.h#define tab_stop  (vc_cons[currcons].d->vc_tab_stop)
currcons136drivers/char/console_struct.h#define palette    (vc_cons[currcons].d->vc_palette)
currcons137drivers/char/console_struct.h#define bell_pitch  (vc_cons[currcons].d->vc_bell_pitch)
currcons138drivers/char/console_struct.h#define bell_duration  (vc_cons[currcons].d->vc_bell_duration)
currcons140drivers/char/console_struct.h#define vcmode    (vt_cons[currcons]->vc_mode)
currcons45drivers/char/selection.hextern unsigned short *screen_pos(int currcons, int w_offset, int viewed);
currcons46drivers/char/selection.hextern unsigned short screen_word(int currcons, int offset, int viewed);
currcons48drivers/char/selection.hextern void complement_pos(int currcons, int offset);
currcons49drivers/char/selection.hextern void invert_screen(int currcons, int offset, int count, int shift);
currcons57drivers/char/selection.hextern void getconsxy(int currcons, char *p);
currcons58drivers/char/selection.hextern void putconsxy(int currcons, char *p);
currcons258drivers/char/tga.cset_cursor(int currcons)
currcons263drivers/char/tga.cif (currcons != fg_console || console_blanked || vcmode == KD_GRAPHICS)
currcons327drivers/char/tga.cget_scrmem(int currcons)
currcons329drivers/char/tga.cmemcpyw((unsigned short *)vc_scrbuf[currcons],
currcons332drivers/char/tga.corigin = video_mem_start = (unsigned long)vc_scrbuf[currcons];
currcons338drivers/char/tga.cset_scrmem(int currcons, long offset)
currcons122drivers/char/tty_io.cextern void reset_palette(int currcons) ;
currcons116drivers/char/vga.cset_cursor(int currcons)
currcons120drivers/char/vga.cif (currcons != fg_console || console_blanked || vcmode == KD_GRAPHICS)
currcons226drivers/char/vga.cget_scrmem(int currcons)
currcons228drivers/char/vga.cmemcpyw((unsigned short *)vc_scrbuf[currcons],
currcons231drivers/char/vga.corigin = video_mem_start = (unsigned long)vc_scrbuf[currcons];
currcons237drivers/char/vga.cset_scrmem(int currcons, long offset)
currcons82drivers/char/vt.cextern void reset_palette(int currcons);