tag | line | file | source code |
currcons | 135 | kernel/chr_drv/console.c | #define origin (vc_cons[currcons].vc_origin) |
currcons | 136 | kernel/chr_drv/console.c | #define scr_end (vc_cons[currcons].vc_scr_end) |
currcons | 137 | kernel/chr_drv/console.c | #define pos (vc_cons[currcons].vc_pos) |
currcons | 138 | kernel/chr_drv/console.c | #define top (vc_cons[currcons].vc_top) |
currcons | 139 | kernel/chr_drv/console.c | #define bottom (vc_cons[currcons].vc_bottom) |
currcons | 140 | kernel/chr_drv/console.c | #define x (vc_cons[currcons].vc_x) |
currcons | 141 | kernel/chr_drv/console.c | #define y (vc_cons[currcons].vc_y) |
currcons | 142 | kernel/chr_drv/console.c | #define state (vc_cons[currcons].vc_state) |
currcons | 143 | kernel/chr_drv/console.c | #define npar (vc_cons[currcons].vc_npar) |
currcons | 144 | kernel/chr_drv/console.c | #define par (vc_cons[currcons].vc_par) |
currcons | 145 | kernel/chr_drv/console.c | #define ques (vc_cons[currcons].vc_ques) |
currcons | 146 | kernel/chr_drv/console.c | #define attr (vc_cons[currcons].vc_attr) |
currcons | 147 | kernel/chr_drv/console.c | #define saved_x (vc_cons[currcons].vc_saved_x) |
currcons | 148 | kernel/chr_drv/console.c | #define saved_y (vc_cons[currcons].vc_saved_y) |
currcons | 149 | kernel/chr_drv/console.c | #define translate (vc_cons[currcons].vc_translate) |
currcons | 150 | kernel/chr_drv/console.c | #define G0_charset (vc_cons[currcons].vc_G0_charset) |
currcons | 151 | kernel/chr_drv/console.c | #define G1_charset (vc_cons[currcons].vc_G1_charset) |
currcons | 152 | kernel/chr_drv/console.c | #define saved_G0 (vc_cons[currcons].vc_saved_G0) |
currcons | 153 | kernel/chr_drv/console.c | #define saved_G1 (vc_cons[currcons].vc_saved_G1) |
currcons | 154 | kernel/chr_drv/console.c | #define video_mem_start (vc_cons[currcons].vc_video_mem_start) |
currcons | 155 | kernel/chr_drv/console.c | #define video_mem_end (vc_cons[currcons].vc_video_mem_end) |
currcons | 156 | kernel/chr_drv/console.c | #define video_erase_char (vc_cons[currcons].vc_video_erase_char) |
currcons | 157 | kernel/chr_drv/console.c | #define decckm (vc_cons[currcons].vc_decckm) |
currcons | 158 | kernel/chr_drv/console.c | #define decscnm (vc_cons[currcons].vc_decscnm) |
currcons | 159 | kernel/chr_drv/console.c | #define decom (vc_cons[currcons].vc_decom) |
currcons | 160 | kernel/chr_drv/console.c | #define decawm (vc_cons[currcons].vc_decawm) |
currcons | 161 | kernel/chr_drv/console.c | #define decarm (vc_cons[currcons].vc_decarm) |
currcons | 162 | kernel/chr_drv/console.c | #define deccm (vc_cons[currcons].vc_deccm) |
currcons | 163 | kernel/chr_drv/console.c | #define decim (vc_cons[currcons].vc_decim) |
currcons | 164 | kernel/chr_drv/console.c | #define lnm (vc_cons[currcons].vc_lnm) |
currcons | 165 | kernel/chr_drv/console.c | #define kbdapplic (vc_cons[currcons].vc_kbdapplic) |
currcons | 166 | kernel/chr_drv/console.c | #define need_wrap (vc_cons[currcons].vc_need_wrap) |
currcons | 167 | kernel/chr_drv/console.c | #define color (vc_cons[currcons].vc_color) |
currcons | 168 | kernel/chr_drv/console.c | #define s_color (vc_cons[currcons].vc_s_color) |
currcons | 169 | kernel/chr_drv/console.c | #define def_color (vc_cons[currcons].vc_def_color) |
currcons | 172 | kernel/chr_drv/console.c | #define charset (vc_cons[currcons].vc_charset) |
currcons | 173 | kernel/chr_drv/console.c | #define s_charset (vc_cons[currcons].vc_s_charset) |
currcons | 174 | kernel/chr_drv/console.c | #define intensity (vc_cons[currcons].vc_intensity) |
currcons | 175 | kernel/chr_drv/console.c | #define underline (vc_cons[currcons].vc_underline) |
currcons | 176 | kernel/chr_drv/console.c | #define blink (vc_cons[currcons].vc_blink) |
currcons | 177 | kernel/chr_drv/console.c | #define reverse (vc_cons[currcons].vc_reverse) |
currcons | 178 | kernel/chr_drv/console.c | #define s_intensity (vc_cons[currcons].vc_s_intensity) |
currcons | 179 | kernel/chr_drv/console.c | #define s_underline (vc_cons[currcons].vc_s_underline) |
currcons | 180 | kernel/chr_drv/console.c | #define s_blink (vc_cons[currcons].vc_s_blink) |
currcons | 181 | kernel/chr_drv/console.c | #define s_reverse (vc_cons[currcons].vc_s_reverse) |
currcons | 182 | kernel/chr_drv/console.c | #define ulcolor (vc_cons[currcons].vc_ulcolor) |
currcons | 183 | kernel/chr_drv/console.c | #define halfcolor (vc_cons[currcons].vc_halfcolor) |
currcons | 184 | kernel/chr_drv/console.c | #define kbdmode (vc_cons[currcons].vc_kbdmode) |
currcons | 185 | kernel/chr_drv/console.c | #define tab_stop (vc_cons[currcons].vc_tab_stop) |
currcons | 186 | kernel/chr_drv/console.c | #define kbdraw (vt_cons[currcons].vc_kbdraw) |
currcons | 187 | kernel/chr_drv/console.c | #define kbdleds (vt_cons[currcons].vc_kbdleds) |
currcons | 188 | kernel/chr_drv/console.c | #define vtmode (vt_cons[currcons].vt_mode) |
currcons | 192 | kernel/chr_drv/console.c | if (currcons == fg_console) \ |
currcons | 267 | kernel/chr_drv/console.c | static void gotoxy(int currcons, int new_x, int new_y) |
currcons | 294 | kernel/chr_drv/console.c | static void set_origin(int currcons) |
currcons | 298 | kernel/chr_drv/console.c | if (currcons != fg_console || console_blanked || vtmode == KD_GRAPHICS) |
currcons | 308 | kernel/chr_drv/console.c | static void scrup(int currcons, unsigned int t, unsigned int b) |
currcons | 346 | kernel/chr_drv/console.c | set_origin(currcons); |
currcons | 362 | kernel/chr_drv/console.c | static void scrdown(int currcons, unsigned int t, unsigned int b) |
currcons | 381 | kernel/chr_drv/console.c | static void lf(int currcons) |
currcons | 388 | kernel/chr_drv/console.c | scrup(currcons,top,bottom); |
currcons | 392 | kernel/chr_drv/console.c | static void ri(int currcons) |
currcons | 399 | kernel/chr_drv/console.c | scrdown(currcons,top,bottom); |
currcons | 403 | kernel/chr_drv/console.c | static inline void cr(int currcons) |
currcons | 409 | kernel/chr_drv/console.c | static inline void bs(int currcons) |
currcons | 418 | kernel/chr_drv/console.c | static inline void del(int currcons) |
currcons | 428 | kernel/chr_drv/console.c | static void csi_J(int currcons, int vpar) |
currcons | 458 | kernel/chr_drv/console.c | static void csi_K(int currcons, int vpar) |
currcons | 491 | kernel/chr_drv/console.c | static void update_attr(int currcons) |
currcons | 519 | kernel/chr_drv/console.c | static void default_attr(int currcons) { |
currcons | 527 | kernel/chr_drv/console.c | static void csi_m(int currcons) |
currcons | 534 | kernel/chr_drv/console.c | default_attr(currcons); |
currcons | 579 | kernel/chr_drv/console.c | update_attr(currcons); |
currcons | 582 | kernel/chr_drv/console.c | static inline void hide_cursor(int currcons) |
currcons | 590 | kernel/chr_drv/console.c | static inline void set_cursor(int currcons) |
currcons | 592 | kernel/chr_drv/console.c | if (currcons != fg_console || console_blanked) |
currcons | 601 | kernel/chr_drv/console.c | hide_cursor(currcons); |
currcons | 605 | kernel/chr_drv/console.c | static void respond_string(char * p, int currcons, struct tty_struct * tty) |
currcons | 614 | kernel/chr_drv/console.c | static void respond_num(unsigned int n, int currcons, struct tty_struct * tty) |
currcons | 629 | kernel/chr_drv/console.c | static void cursor_report(int currcons, struct tty_struct * tty) |
currcons | 633 | kernel/chr_drv/console.c | respond_num(y + (decom ? top+1 : 1), currcons, tty); |
currcons | 635 | kernel/chr_drv/console.c | respond_num(x+1, currcons, tty); |
currcons | 640 | kernel/chr_drv/console.c | static inline void status_report(int currcons, struct tty_struct * tty) |
currcons | 642 | kernel/chr_drv/console.c | respond_string("\033[0n", currcons, tty); /* Terminal ok */ |
currcons | 645 | kernel/chr_drv/console.c | static inline void respond_ID(int currcons, struct tty_struct * tty) |
currcons | 647 | kernel/chr_drv/console.c | respond_string(VT102ID, currcons, tty); |
currcons | 650 | kernel/chr_drv/console.c | static void invert_screen(int currcons) { |
currcons | 661 | kernel/chr_drv/console.c | static void set_mode(int currcons, int on_off) |
currcons | 671 | kernel/chr_drv/console.c | csi_J(currcons,2); |
currcons | 672 | kernel/chr_drv/console.c | gotoxy(currcons,0,0); |
currcons | 677 | kernel/chr_drv/console.c | invert_screen(currcons); |
currcons | 678 | kernel/chr_drv/console.c | update_attr(currcons); |
currcons | 683 | kernel/chr_drv/console.c | gotoxy(currcons,0,0); |
currcons | 693 | kernel/chr_drv/console.c | set_cursor(currcons); |
currcons | 705 | kernel/chr_drv/console.c | static void setterm_command(int currcons) |
currcons | 712 | kernel/chr_drv/console.c | update_attr(currcons); |
currcons | 719 | kernel/chr_drv/console.c | update_attr(currcons); |
currcons | 724 | kernel/chr_drv/console.c | default_attr(currcons); |
currcons | 725 | kernel/chr_drv/console.c | update_attr(currcons); |
currcons | 733 | kernel/chr_drv/console.c | static void insert_char(int currcons) |
currcons | 748 | kernel/chr_drv/console.c | static void insert_line(int currcons) |
currcons | 750 | kernel/chr_drv/console.c | scrdown(currcons,y,bottom); |
currcons | 754 | kernel/chr_drv/console.c | static void delete_char(int currcons) |
currcons | 767 | kernel/chr_drv/console.c | static void delete_line(int currcons) |
currcons | 769 | kernel/chr_drv/console.c | scrup(currcons,y,bottom); |
currcons | 773 | kernel/chr_drv/console.c | static void csi_at(int currcons, unsigned int nr) |
currcons | 780 | kernel/chr_drv/console.c | insert_char(currcons); |
currcons | 783 | kernel/chr_drv/console.c | static void csi_L(int currcons, unsigned int nr) |
currcons | 790 | kernel/chr_drv/console.c | insert_line(currcons); |
currcons | 793 | kernel/chr_drv/console.c | static void csi_P(int currcons, unsigned int nr) |
currcons | 800 | kernel/chr_drv/console.c | delete_char(currcons); |
currcons | 803 | kernel/chr_drv/console.c | static void csi_M(int currcons, unsigned int nr) |
currcons | 810 | kernel/chr_drv/console.c | delete_line(currcons); |
currcons | 813 | kernel/chr_drv/console.c | static void save_cur(int currcons) |
currcons | 827 | kernel/chr_drv/console.c | static void restore_cur(int currcons) |
currcons | 829 | kernel/chr_drv/console.c | gotoxy(currcons,saved_x,saved_y); |
currcons | 839 | kernel/chr_drv/console.c | update_attr(currcons); |
currcons | 846 | kernel/chr_drv/console.c | static void reset_terminal(int currcons, int do_clear) |
currcons | 864 | kernel/chr_drv/console.c | if (currcons == fg_console) { |
currcons | 881 | kernel/chr_drv/console.c | default_attr(currcons); |
currcons | 882 | kernel/chr_drv/console.c | update_attr(currcons); |
currcons | 891 | kernel/chr_drv/console.c | gotoxy(currcons,0,0); |
currcons | 892 | kernel/chr_drv/console.c | csi_J(currcons,2); |
currcons | 893 | kernel/chr_drv/console.c | save_cur(currcons); |
currcons | 900 | kernel/chr_drv/console.c | unsigned int currcons; |
currcons | 903 | kernel/chr_drv/console.c | currcons = tty - tty_table; |
currcons | 904 | kernel/chr_drv/console.c | if (currcons >= NR_CONSOLES) { |
currcons | 911 | kernel/chr_drv/console.c | cr(currcons); |
currcons | 912 | kernel/chr_drv/console.c | lf(currcons); |
currcons | 915 | kernel/chr_drv/console.c | insert_char(currcons); |
currcons | 937 | kernel/chr_drv/console.c | bs(currcons); |
currcons | 949 | kernel/chr_drv/console.c | lf(currcons); |
currcons | 953 | kernel/chr_drv/console.c | cr(currcons); |
currcons | 970 | kernel/chr_drv/console.c | del(currcons); |
currcons | 980 | kernel/chr_drv/console.c | cr(currcons); |
currcons | 981 | kernel/chr_drv/console.c | lf(currcons); |
currcons | 984 | kernel/chr_drv/console.c | ri(currcons); |
currcons | 987 | kernel/chr_drv/console.c | lf(currcons); |
currcons | 993 | kernel/chr_drv/console.c | respond_ID(currcons,tty); |
currcons | 996 | kernel/chr_drv/console.c | save_cur(currcons); |
currcons | 999 | kernel/chr_drv/console.c | restore_cur(currcons); |
currcons | 1011 | kernel/chr_drv/console.c | reset_terminal(currcons,1); |
currcons | 1045 | kernel/chr_drv/console.c | set_mode(currcons,1); |
currcons | 1048 | kernel/chr_drv/console.c | set_mode(currcons,0); |
currcons | 1053 | kernel/chr_drv/console.c | status_report(currcons,tty); |
currcons | 1055 | kernel/chr_drv/console.c | cursor_report(currcons,tty); |
currcons | 1065 | kernel/chr_drv/console.c | gotoxy(currcons,par[0],y); |
currcons | 1069 | kernel/chr_drv/console.c | gotoxy(currcons,x,y-par[0]); |
currcons | 1073 | kernel/chr_drv/console.c | gotoxy(currcons,x,y+par[0]); |
currcons | 1077 | kernel/chr_drv/console.c | gotoxy(currcons,x+par[0],y); |
currcons | 1081 | kernel/chr_drv/console.c | gotoxy(currcons,x-par[0],y); |
currcons | 1085 | kernel/chr_drv/console.c | gotoxy(currcons,0,y+par[0]); |
currcons | 1089 | kernel/chr_drv/console.c | gotoxy(currcons,0,y-par[0]); |
currcons | 1093 | kernel/chr_drv/console.c | gotoxy(currcons,x,par[0]); |
currcons | 1098 | kernel/chr_drv/console.c | gotoxy(currcons,par[1],par[0]); |
currcons | 1101 | kernel/chr_drv/console.c | csi_J(currcons,par[0]); |
currcons | 1104 | kernel/chr_drv/console.c | csi_K(currcons,par[0]); |
currcons | 1107 | kernel/chr_drv/console.c | csi_L(currcons,par[0]); |
currcons | 1110 | kernel/chr_drv/console.c | csi_M(currcons,par[0]); |
currcons | 1113 | kernel/chr_drv/console.c | csi_P(currcons,par[0]); |
currcons | 1117 | kernel/chr_drv/console.c | respond_ID(currcons,tty); |
currcons | 1131 | kernel/chr_drv/console.c | csi_m(currcons); |
currcons | 1143 | kernel/chr_drv/console.c | gotoxy(currcons,0,0); |
currcons | 1147 | kernel/chr_drv/console.c | save_cur(currcons); |
currcons | 1150 | kernel/chr_drv/console.c | restore_cur(currcons); |
currcons | 1153 | kernel/chr_drv/console.c | csi_at(currcons,par[0]); |
currcons | 1156 | kernel/chr_drv/console.c | setterm_command(currcons); |
currcons | 1169 | kernel/chr_drv/console.c | csi_J(currcons, 2); |
currcons | 1202 | kernel/chr_drv/console.c | set_cursor(currcons); |
currcons | 1245 | kernel/chr_drv/console.c | int currcons = 0; |
currcons | 1314 | kernel/chr_drv/console.c | for (currcons = 0; currcons<NR_CONSOLES; currcons++) { |
currcons | 1317 | kernel/chr_drv/console.c | vc_scrbuf[currcons] = (unsigned short *) origin; |
currcons | 1323 | kernel/chr_drv/console.c | reset_terminal(currcons, currcons); |
currcons | 1325 | kernel/chr_drv/console.c | currcons = fg_console = 0; |
currcons | 1331 | kernel/chr_drv/console.c | gotoxy(currcons,0,0); |
currcons | 1332 | kernel/chr_drv/console.c | save_cur(currcons); |
currcons | 1333 | kernel/chr_drv/console.c | gotoxy(currcons,orig_x,orig_y); |
currcons | 1346 | kernel/chr_drv/console.c | int currcons = fg_console; |
currcons | 1354 | kernel/chr_drv/console.c | currcons = new_console; |
currcons | 1365 | kernel/chr_drv/console.c | static void get_scrmem(int currcons) |
currcons | 1374 | kernel/chr_drv/console.c | static void set_scrmem(int currcons) |
currcons | 1448 | kernel/chr_drv/console.c | int currcons, l; |
currcons | 1451 | kernel/chr_drv/console.c | currcons = get_fs_byte(buf+1); |
currcons | 1452 | kernel/chr_drv/console.c | if ((currcons<0) || (currcons>=NR_CONSOLES)) |
currcons | 1456 | kernel/chr_drv/console.c | currcons = (currcons ? currcons-1 : fg_console); |
currcons | 1465 | kernel/chr_drv/console.c | int currcons = fg_console; |
currcons | 1468 | kernel/chr_drv/console.c | if (currcons<0 || currcons>=NR_CONSOLES) |
currcons | 1469 | kernel/chr_drv/console.c | currcons = 0; |
currcons | 1473 | kernel/chr_drv/console.c | lf(currcons); |
currcons | 1474 | kernel/chr_drv/console.c | cr(currcons); |
currcons | 1487 | kernel/chr_drv/console.c | set_cursor(currcons); |