taglinefilesource code
currcons124drivers/char/console.cextern void get_scrmem(int currcons);
currcons125drivers/char/console.cextern void set_scrmem(int currcons, long offset);
currcons126drivers/char/console.cstatic void set_origin(int currcons);
currcons130drivers/char/console.cstatic void gotoxy(int currcons, int new_x, int new_y);
currcons131drivers/char/console.cstatic void save_cur(int currcons);
currcons132drivers/char/console.cextern void set_cursor(int currcons);
currcons134drivers/char/console.cstatic void reset_terminal(int currcons, int do_clear);
currcons142drivers/char/console.cextern void reset_palette(int currcons);
currcons346drivers/char/console.cunsigned int currcons, i;
currcons364drivers/char/console.cfor (currcons = 0; currcons < MAX_NR_CONSOLES; currcons++) {
currcons365drivers/char/console.cif (!vc_cons_allocated(currcons))
currcons366drivers/char/console.cnewscreens[currcons] = 0;
currcons370drivers/char/console.cfor (i = 0; i< currcons; i++)
currcons375drivers/char/console.cnewscreens[currcons] = p;
currcons391drivers/char/console.cfor (currcons = 0; currcons < MAX_NR_CONSOLES; currcons++) {
currcons392drivers/char/console.cif (!vc_cons_allocated(currcons))
currcons398drivers/char/console.cnl = (long) newscreens[currcons];
currcons411drivers/char/console.ckfree_s(vc_scrbuf[currcons], screenbuf_size);
currcons412drivers/char/console.cvc_scrbuf[currcons] = newscreens[currcons];
currcons416drivers/char/console.corigin = video_mem_start = (long) vc_scrbuf[currcons];
currcons425drivers/char/console.cgotoxy(currcons, x, y);
currcons426drivers/char/console.csave_cur(currcons);
currcons436drivers/char/console.cvoid vc_disallocate(unsigned int currcons)
currcons438drivers/char/console.cif (vc_cons_allocated(currcons)) {
currcons440drivers/char/console.ckfree_s(vc_scrbuf[currcons], screenbuf_size);
currcons441drivers/char/console.cif (currcons >= MIN_NR_CONSOLES)
currcons442drivers/char/console.ckfree_s(vc_cons[currcons].d, structsize);
currcons443drivers/char/console.cvc_cons[currcons].d = 0;
currcons448drivers/char/console.c#define set_kbd(x) set_vc_kbd_mode(kbd_table+currcons,x)
currcons449drivers/char/console.c#define clr_kbd(x) clr_vc_kbd_mode(kbd_table+currcons,x)
currcons450drivers/char/console.c#define is_kbd(x) vc_kbd_mode(kbd_table+currcons,x)
currcons479drivers/char/console.cstatic void gotoxy(int currcons, int new_x, int new_y)
currcons568drivers/char/console.cstatic void set_origin(int currcons)
currcons573drivers/char/console.cif (currcons != fg_console || console_blanked || vcmode == KD_GRAPHICS)
currcons579drivers/char/console.cvoid scrup(int currcons, unsigned int t, unsigned int b)
currcons613drivers/char/console.cif (currcons == fg_console)
currcons628drivers/char/console.cset_origin(currcons);
currcons647drivers/char/console.cscrdown(int currcons, unsigned int t, unsigned int b)
currcons669drivers/char/console.cstatic void lf(int currcons)
currcons675drivers/char/console.cscrup(currcons,top,bottom);
currcons683drivers/char/console.cstatic void ri(int currcons)
currcons689drivers/char/console.cscrdown(currcons,top,bottom);
currcons697drivers/char/console.cstatic inline void cr(int currcons)
currcons703drivers/char/console.cstatic inline void bs(int currcons)
currcons712drivers/char/console.cstatic inline void del(int currcons)
currcons717drivers/char/console.cstatic void csi_J(int currcons, int vpar)
currcons745drivers/char/console.cstatic void csi_K(int currcons, int vpar)
currcons773drivers/char/console.cstatic void csi_X(int currcons, int vpar) /* erase the following vpar positions */
currcons791drivers/char/console.cstatic void update_attr(int currcons)
currcons818drivers/char/console.cstatic void default_attr(int currcons)
currcons827drivers/char/console.cstatic void csi_m(int currcons)
currcons834drivers/char/console.cdefault_attr(currcons);
currcons919drivers/char/console.cupdate_attr(currcons);
currcons931drivers/char/console.cstatic void cursor_report(int currcons, struct tty_struct * tty)
currcons961drivers/char/console.cint currcons = fg_console;
currcons966drivers/char/console.cstatic inline unsigned short *screenpos(int currcons, int offset, int viewed)
currcons969drivers/char/console.cif (viewed && currcons == fg_console)
currcons975drivers/char/console.cvoid invert_screen(int currcons, int offset, int count, int viewed)
currcons980drivers/char/console.cp = screenpos(currcons, offset, viewed);
currcons997drivers/char/console.cvoid complement_pos(int currcons, int offset)
currcons1007drivers/char/console.cp = screenpos(currcons, offset, 1);
currcons1014drivers/char/console.cunsigned short screen_word(int currcons, int offset, int viewed)
currcons1016drivers/char/console.creturn scr_readw(screenpos(currcons, offset, viewed));
currcons1028drivers/char/console.cunsigned short *screen_pos(int currcons, int w_offset, int viewed)
currcons1030drivers/char/console.creturn screenpos(currcons, 2 * w_offset, viewed);
currcons1033drivers/char/console.cvoid getconsxy(int currcons, char *p)
currcons1039drivers/char/console.cvoid putconsxy(int currcons, char *p)
currcons1041drivers/char/console.cgotoxy(currcons, p[0], p[1]);
currcons1042drivers/char/console.cset_cursor(currcons);
currcons1045drivers/char/console.cstatic void set_mode(int currcons, int on_off)
currcons1068drivers/char/console.cinvert_screen(currcons, 0, video_screen_size, 0);
currcons1069drivers/char/console.cupdate_attr(currcons);
currcons1074drivers/char/console.cgotoxy(currcons,0,0);
currcons1090drivers/char/console.cset_cursor(currcons);
currcons1111drivers/char/console.cstatic void setterm_command(int currcons)
currcons1118drivers/char/console.cupdate_attr(currcons);
currcons1125drivers/char/console.cupdate_attr(currcons);
currcons1130drivers/char/console.cdefault_attr(currcons);
currcons1131drivers/char/console.cupdate_attr(currcons);
currcons1164drivers/char/console.cstatic void insert_char(int currcons)
currcons1179drivers/char/console.cstatic void insert_line(int currcons)
currcons1181drivers/char/console.cscrdown(currcons,y,bottom);
currcons1185drivers/char/console.cstatic void delete_char(int currcons)
currcons1198drivers/char/console.cstatic void delete_line(int currcons)
currcons1200drivers/char/console.cscrup(currcons,y,bottom);
currcons1204drivers/char/console.cstatic void csi_at(int currcons, unsigned int nr)
currcons1211drivers/char/console.cinsert_char(currcons);
currcons1214drivers/char/console.cstatic void csi_L(int currcons, unsigned int nr)
currcons1221drivers/char/console.cinsert_line(currcons);
currcons1224drivers/char/console.cstatic void csi_P(int currcons, unsigned int nr)
currcons1231drivers/char/console.cdelete_char(currcons);
currcons1234drivers/char/console.cstatic void csi_M(int currcons, unsigned int nr)
currcons1241drivers/char/console.cdelete_line(currcons);
currcons1244drivers/char/console.cstatic void save_cur(int currcons)
currcons1258drivers/char/console.cstatic void restore_cur(int currcons)
currcons1260drivers/char/console.cgotoxy(currcons,saved_x,saved_y);
currcons1270drivers/char/console.cupdate_attr(currcons);
currcons1278drivers/char/console.cstatic void reset_terminal(int currcons, int do_clear)
currcons1306drivers/char/console.ckbd_table[currcons].lockstate = 0;
currcons1307drivers/char/console.ckbd_table[currcons].slockstate = 0;
currcons1308drivers/char/console.ckbd_table[currcons].ledmode = LED_SHOW_FLAGS;
currcons1309drivers/char/console.ckbd_table[currcons].ledflagstate = kbd_table[currcons].default_ledflagstate;
currcons1312drivers/char/console.cdefault_attr(currcons);
currcons1313drivers/char/console.cupdate_attr(currcons);
currcons1324drivers/char/console.cgotoxy(currcons,0,0);
currcons1325drivers/char/console.csave_cur(currcons);
currcons1327drivers/char/console.ccsi_J(currcons,2);
currcons1364drivers/char/console.cunsigned int currcons;
currcons1367drivers/char/console.ccurrcons = vt->vc_num;
currcons1368drivers/char/console.cif (!vc_cons_allocated(currcons)) {
currcons1373drivers/char/console.cprintk("con_write: tty %d not allocated\n", currcons+1);
currcons1378drivers/char/console.cif (currcons == sel_cons)
currcons1454drivers/char/console.ccr(currcons);
currcons1455drivers/char/console.clf(currcons);
currcons1458drivers/char/console.cinsert_char(currcons);
currcons1482drivers/char/console.cbs(currcons);
currcons1494drivers/char/console.clf(currcons);
currcons1498drivers/char/console.ccr(currcons);
currcons1517drivers/char/console.cdel(currcons);
currcons1537drivers/char/console.ccr(currcons);
currcons1538drivers/char/console.clf(currcons);
currcons1541drivers/char/console.cri(currcons);
currcons1544drivers/char/console.clf(currcons);
currcons1553drivers/char/console.csave_cur(currcons);
currcons1556drivers/char/console.crestore_cur(currcons);
currcons1568drivers/char/console.creset_terminal(currcons,1);
currcons1586drivers/char/console.creset_palette (currcons);
currcons1633drivers/char/console.cset_mode(currcons,1);
currcons1636drivers/char/console.cset_mode(currcons,0);
currcons1643drivers/char/console.ccursor_report(currcons,tty);
currcons1653drivers/char/console.cgotoxy(currcons,par[0],y);
currcons1657drivers/char/console.cgotoxy(currcons,x,y-par[0]);
currcons1661drivers/char/console.cgotoxy(currcons,x,y+par[0]);
currcons1665drivers/char/console.cgotoxy(currcons,x+par[0],y);
currcons1669drivers/char/console.cgotoxy(currcons,x-par[0],y);
currcons1673drivers/char/console.cgotoxy(currcons,0,y+par[0]);
currcons1677drivers/char/console.cgotoxy(currcons,0,y-par[0]);
currcons1681drivers/char/console.cgotoxy(currcons,x,par[0]);
currcons1686drivers/char/console.cgotoxy(currcons,par[1],par[0]);
currcons1689drivers/char/console.ccsi_J(currcons,par[0]);
currcons1692drivers/char/console.ccsi_K(currcons,par[0]);
currcons1695drivers/char/console.ccsi_L(currcons,par[0]);
currcons1698drivers/char/console.ccsi_M(currcons,par[0]);
currcons1701drivers/char/console.ccsi_P(currcons,par[0]);
currcons1719drivers/char/console.ccsi_m(currcons);
currcons1724drivers/char/console.csetledstate(kbd_table + currcons,
currcons1737drivers/char/console.cgotoxy(currcons,0,0);
currcons1741drivers/char/console.csave_cur(currcons);
currcons1744drivers/char/console.crestore_cur(currcons);
currcons1747drivers/char/console.ccsi_X(currcons, par[0]);
currcons1750drivers/char/console.ccsi_at(currcons,par[0]);
currcons1753drivers/char/console.csetterm_command(currcons);
currcons1778drivers/char/console.ccsi_J(currcons, 2);
currcons1814drivers/char/console.cset_cursor(currcons);
currcons1848drivers/char/console.cint currcons = fg_console;
currcons1857drivers/char/console.ccurrcons = kmsg_redirect - 1;
currcons1859drivers/char/console.cif (!vc_cons_allocated(currcons)) {
currcons1861drivers/char/console.cprintk("console_print: tty %d not allocated ??\n", currcons+1);
currcons1872drivers/char/console.clf(currcons);
currcons1873drivers/char/console.ccr(currcons);
currcons1878drivers/char/console.cbs(currcons);
currcons1889drivers/char/console.cset_cursor(currcons);
currcons1910drivers/char/console.cstatic void vc_init(unsigned int currcons, unsigned long rows, unsigned long cols, int do_clear)
currcons1912drivers/char/console.clong base = (long) vc_scrbuf[currcons];
currcons1923drivers/char/console.creset_vc(currcons);
currcons1925drivers/char/console.cvc_cons[currcons].d->vc_palette[k++] = default_red[j] ;
currcons1926drivers/char/console.cvc_cons[currcons].d->vc_palette[k++] = default_grn[j] ;
currcons1927drivers/char/console.cvc_cons[currcons].d->vc_palette[k++] = default_blu[j] ;
currcons1932drivers/char/console.cvt_cons[currcons]->paste_wait = 0;
currcons1933drivers/char/console.creset_terminal(currcons, do_clear);
currcons1957drivers/char/console.cint currcons = 0;
currcons2007drivers/char/console.cfor (currcons = 0; currcons < MIN_NR_CONSOLES; currcons++) {
currcons2010drivers/char/console.cvc_cons[currcons].d = (struct vc_data *) kmem_start;
currcons2012drivers/char/console.cvt_cons[currcons] = (struct vt_struct *) kmem_start;
currcons2014drivers/char/console.cvc_scrbuf[currcons] = (unsigned short *) kmem_start;
currcons2018drivers/char/console.cvc_init(currcons, video_num_lines, video_num_columns, currcons);
currcons2020drivers/char/console.cvc_cons[currcons].d->vc_palette[k++] = default_red[j] ;
currcons2021drivers/char/console.cvc_cons[currcons].d->vc_palette[k++] = default_grn[j] ;
currcons2022drivers/char/console.cvc_cons[currcons].d->vc_palette[k++] = default_blu[j] ;
currcons2026drivers/char/console.ccurrcons = fg_console = 0;
currcons2032drivers/char/console.cgotoxy(currcons,orig_x,orig_y);
currcons2033drivers/char/console.cset_origin(currcons);
currcons2034drivers/char/console.ccsi_J(currcons, 0);
currcons2084drivers/char/console.cint currcons;
currcons2104drivers/char/console.ccurrcons = fg_console;
currcons2122drivers/char/console.cint currcons;
currcons2144drivers/char/console.ccurrcons = fg_console;
currcons2248drivers/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)
currcons116drivers/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)
currcons81drivers/char/vt.cextern void reset_palette(int currcons);