tag | line | file | source code |
currcons | 125 | kernel/chr_drv/console.c | #define origin (vc_cons[currcons].vc_origin) |
currcons | 126 | kernel/chr_drv/console.c | #define scr_end (vc_cons[currcons].vc_scr_end) |
currcons | 127 | kernel/chr_drv/console.c | #define pos (vc_cons[currcons].vc_pos) |
currcons | 128 | kernel/chr_drv/console.c | #define top (vc_cons[currcons].vc_top) |
currcons | 129 | kernel/chr_drv/console.c | #define bottom (vc_cons[currcons].vc_bottom) |
currcons | 130 | kernel/chr_drv/console.c | #define x (vc_cons[currcons].vc_x) |
currcons | 131 | kernel/chr_drv/console.c | #define y (vc_cons[currcons].vc_y) |
currcons | 132 | kernel/chr_drv/console.c | #define state (vc_cons[currcons].vc_state) |
currcons | 133 | kernel/chr_drv/console.c | #define npar (vc_cons[currcons].vc_npar) |
currcons | 134 | kernel/chr_drv/console.c | #define par (vc_cons[currcons].vc_par) |
currcons | 135 | kernel/chr_drv/console.c | #define ques (vc_cons[currcons].vc_ques) |
currcons | 136 | kernel/chr_drv/console.c | #define attr (vc_cons[currcons].vc_attr) |
currcons | 137 | kernel/chr_drv/console.c | #define saved_x (vc_cons[currcons].vc_saved_x) |
currcons | 138 | kernel/chr_drv/console.c | #define saved_y (vc_cons[currcons].vc_saved_y) |
currcons | 139 | kernel/chr_drv/console.c | #define translate (vc_cons[currcons].vc_translate) |
currcons | 140 | kernel/chr_drv/console.c | #define G0_charset (vc_cons[currcons].vc_G0_charset) |
currcons | 141 | kernel/chr_drv/console.c | #define G1_charset (vc_cons[currcons].vc_G1_charset) |
currcons | 142 | kernel/chr_drv/console.c | #define saved_G0 (vc_cons[currcons].vc_saved_G0) |
currcons | 143 | kernel/chr_drv/console.c | #define saved_G1 (vc_cons[currcons].vc_saved_G1) |
currcons | 144 | kernel/chr_drv/console.c | #define video_mem_start (vc_cons[currcons].vc_video_mem_start) |
currcons | 145 | kernel/chr_drv/console.c | #define video_mem_end (vc_cons[currcons].vc_video_mem_end) |
currcons | 146 | kernel/chr_drv/console.c | #define video_erase_char (vc_cons[currcons].vc_video_erase_char) |
currcons | 147 | kernel/chr_drv/console.c | #define decscnm (vc_cons[currcons].vc_decscnm) |
currcons | 148 | kernel/chr_drv/console.c | #define decom (vc_cons[currcons].vc_decom) |
currcons | 149 | kernel/chr_drv/console.c | #define decawm (vc_cons[currcons].vc_decawm) |
currcons | 150 | kernel/chr_drv/console.c | #define deccm (vc_cons[currcons].vc_deccm) |
currcons | 151 | kernel/chr_drv/console.c | #define decim (vc_cons[currcons].vc_decim) |
currcons | 152 | kernel/chr_drv/console.c | #define need_wrap (vc_cons[currcons].vc_need_wrap) |
currcons | 153 | kernel/chr_drv/console.c | #define color (vc_cons[currcons].vc_color) |
currcons | 154 | kernel/chr_drv/console.c | #define s_color (vc_cons[currcons].vc_s_color) |
currcons | 155 | kernel/chr_drv/console.c | #define def_color (vc_cons[currcons].vc_def_color) |
currcons | 158 | kernel/chr_drv/console.c | #define charset (vc_cons[currcons].vc_charset) |
currcons | 159 | kernel/chr_drv/console.c | #define s_charset (vc_cons[currcons].vc_s_charset) |
currcons | 160 | kernel/chr_drv/console.c | #define intensity (vc_cons[currcons].vc_intensity) |
currcons | 161 | kernel/chr_drv/console.c | #define underline (vc_cons[currcons].vc_underline) |
currcons | 162 | kernel/chr_drv/console.c | #define blink (vc_cons[currcons].vc_blink) |
currcons | 163 | kernel/chr_drv/console.c | #define reverse (vc_cons[currcons].vc_reverse) |
currcons | 164 | kernel/chr_drv/console.c | #define s_intensity (vc_cons[currcons].vc_s_intensity) |
currcons | 165 | kernel/chr_drv/console.c | #define s_underline (vc_cons[currcons].vc_s_underline) |
currcons | 166 | kernel/chr_drv/console.c | #define s_blink (vc_cons[currcons].vc_s_blink) |
currcons | 167 | kernel/chr_drv/console.c | #define s_reverse (vc_cons[currcons].vc_s_reverse) |
currcons | 168 | kernel/chr_drv/console.c | #define ulcolor (vc_cons[currcons].vc_ulcolor) |
currcons | 169 | kernel/chr_drv/console.c | #define halfcolor (vc_cons[currcons].vc_halfcolor) |
currcons | 170 | kernel/chr_drv/console.c | #define kbdmode (vc_cons[currcons].vc_kbdmode) |
currcons | 171 | kernel/chr_drv/console.c | #define tab_stop (vc_cons[currcons].vc_tab_stop) |
currcons | 172 | kernel/chr_drv/console.c | #define vcmode (vt_cons[currcons].vc_mode) |
currcons | 173 | kernel/chr_drv/console.c | #define vtmode (vt_cons[currcons].vt_mode) |
currcons | 174 | kernel/chr_drv/console.c | #define vtpid (vt_cons[currcons].vt_pid) |
currcons | 175 | kernel/chr_drv/console.c | #define vtnewvt (vt_cons[currcons].vt_newvt) |
currcons | 177 | kernel/chr_drv/console.c | #define set_kbd(x) set_vc_kbd_flag(kbd_table+currcons,x) |
currcons | 178 | kernel/chr_drv/console.c | #define clr_kbd(x) clr_vc_kbd_flag(kbd_table+currcons,x) |
currcons | 179 | kernel/chr_drv/console.c | #define is_kbd(x) vc_kbd_flag(kbd_table+currcons,x) |
currcons | 259 | kernel/chr_drv/console.c | static void gotoxy(int currcons, int new_x, int new_y) |
currcons | 286 | kernel/chr_drv/console.c | static void set_origin(int currcons) |
currcons | 290 | kernel/chr_drv/console.c | if (currcons != fg_console || console_blanked || vcmode == KD_GRAPHICS) |
currcons | 300 | kernel/chr_drv/console.c | static void scrup(int currcons, unsigned int t, unsigned int b) |
currcons | 338 | kernel/chr_drv/console.c | set_origin(currcons); |
currcons | 354 | kernel/chr_drv/console.c | static void scrdown(int currcons, unsigned int t, unsigned int b) |
currcons | 373 | kernel/chr_drv/console.c | static void lf(int currcons) |
currcons | 380 | kernel/chr_drv/console.c | scrup(currcons,top,bottom); |
currcons | 384 | kernel/chr_drv/console.c | static void ri(int currcons) |
currcons | 391 | kernel/chr_drv/console.c | scrdown(currcons,top,bottom); |
currcons | 395 | kernel/chr_drv/console.c | static inline void cr(int currcons) |
currcons | 401 | kernel/chr_drv/console.c | static inline void bs(int currcons) |
currcons | 410 | kernel/chr_drv/console.c | static inline void del(int currcons) |
currcons | 420 | kernel/chr_drv/console.c | static void csi_J(int currcons, int vpar) |
currcons | 450 | kernel/chr_drv/console.c | static void csi_K(int currcons, int vpar) |
currcons | 483 | kernel/chr_drv/console.c | static void update_attr(int currcons) |
currcons | 511 | kernel/chr_drv/console.c | static void default_attr(int currcons) { |
currcons | 519 | kernel/chr_drv/console.c | static void csi_m(int currcons) |
currcons | 526 | kernel/chr_drv/console.c | default_attr(currcons); |
currcons | 571 | kernel/chr_drv/console.c | update_attr(currcons); |
currcons | 574 | kernel/chr_drv/console.c | static inline void hide_cursor(int currcons) |
currcons | 582 | kernel/chr_drv/console.c | static inline void set_cursor(int currcons) |
currcons | 584 | kernel/chr_drv/console.c | if (currcons != fg_console || console_blanked) |
currcons | 593 | kernel/chr_drv/console.c | hide_cursor(currcons); |
currcons | 597 | kernel/chr_drv/console.c | static void respond_string(char * p, int currcons, struct tty_struct * tty) |
currcons | 606 | kernel/chr_drv/console.c | static void respond_num(unsigned int n, int currcons, struct tty_struct * tty) |
currcons | 621 | kernel/chr_drv/console.c | static void cursor_report(int currcons, struct tty_struct * tty) |
currcons | 625 | kernel/chr_drv/console.c | respond_num(y + (decom ? top+1 : 1), currcons, tty); |
currcons | 627 | kernel/chr_drv/console.c | respond_num(x+1, currcons, tty); |
currcons | 632 | kernel/chr_drv/console.c | static inline void status_report(int currcons, struct tty_struct * tty) |
currcons | 634 | kernel/chr_drv/console.c | respond_string("\033[0n", currcons, tty); /* Terminal ok */ |
currcons | 637 | kernel/chr_drv/console.c | static inline void respond_ID(int currcons, struct tty_struct * tty) |
currcons | 639 | kernel/chr_drv/console.c | respond_string(VT102ID, currcons, tty); |
currcons | 642 | kernel/chr_drv/console.c | static void invert_screen(int currcons) { |
currcons | 653 | kernel/chr_drv/console.c | static void set_mode(int currcons, int on_off) |
currcons | 666 | kernel/chr_drv/console.c | csi_J(currcons,2); |
currcons | 667 | kernel/chr_drv/console.c | gotoxy(currcons,0,0); |
currcons | 672 | kernel/chr_drv/console.c | invert_screen(currcons); |
currcons | 673 | kernel/chr_drv/console.c | update_attr(currcons); |
currcons | 678 | kernel/chr_drv/console.c | gotoxy(currcons,0,0); |
currcons | 691 | kernel/chr_drv/console.c | set_cursor(currcons); |
currcons | 706 | kernel/chr_drv/console.c | static void setterm_command(int currcons) |
currcons | 713 | kernel/chr_drv/console.c | update_attr(currcons); |
currcons | 720 | kernel/chr_drv/console.c | update_attr(currcons); |
currcons | 725 | kernel/chr_drv/console.c | default_attr(currcons); |
currcons | 726 | kernel/chr_drv/console.c | update_attr(currcons); |
currcons | 734 | kernel/chr_drv/console.c | static void insert_char(int currcons) |
currcons | 749 | kernel/chr_drv/console.c | static void insert_line(int currcons) |
currcons | 751 | kernel/chr_drv/console.c | scrdown(currcons,y,bottom); |
currcons | 755 | kernel/chr_drv/console.c | static void delete_char(int currcons) |
currcons | 768 | kernel/chr_drv/console.c | static void delete_line(int currcons) |
currcons | 770 | kernel/chr_drv/console.c | scrup(currcons,y,bottom); |
currcons | 774 | kernel/chr_drv/console.c | static void csi_at(int currcons, unsigned int nr) |
currcons | 781 | kernel/chr_drv/console.c | insert_char(currcons); |
currcons | 784 | kernel/chr_drv/console.c | static void csi_L(int currcons, unsigned int nr) |
currcons | 791 | kernel/chr_drv/console.c | insert_line(currcons); |
currcons | 794 | kernel/chr_drv/console.c | static void csi_P(int currcons, unsigned int nr) |
currcons | 801 | kernel/chr_drv/console.c | delete_char(currcons); |
currcons | 804 | kernel/chr_drv/console.c | static void csi_M(int currcons, unsigned int nr) |
currcons | 811 | kernel/chr_drv/console.c | delete_line(currcons); |
currcons | 814 | kernel/chr_drv/console.c | static void save_cur(int currcons) |
currcons | 828 | kernel/chr_drv/console.c | static void restore_cur(int currcons) |
currcons | 830 | kernel/chr_drv/console.c | gotoxy(currcons,saved_x,saved_y); |
currcons | 840 | kernel/chr_drv/console.c | update_attr(currcons); |
currcons | 847 | kernel/chr_drv/console.c | static void reset_terminal(int currcons, int do_clear) |
currcons | 869 | kernel/chr_drv/console.c | kbd_table[currcons].flags = |
currcons | 870 | kernel/chr_drv/console.c | (kbd_table[currcons].flags & ~LED_MASK) | |
currcons | 871 | kernel/chr_drv/console.c | (kbd_table[currcons].default_flags & LED_MASK); |
currcons | 875 | kernel/chr_drv/console.c | default_attr(currcons); |
currcons | 876 | kernel/chr_drv/console.c | update_attr(currcons); |
currcons | 885 | kernel/chr_drv/console.c | gotoxy(currcons,0,0); |
currcons | 886 | kernel/chr_drv/console.c | csi_J(currcons,2); |
currcons | 887 | kernel/chr_drv/console.c | save_cur(currcons); |
currcons | 894 | kernel/chr_drv/console.c | unsigned int currcons; |
currcons | 897 | kernel/chr_drv/console.c | currcons = tty->line - 1; |
currcons | 898 | kernel/chr_drv/console.c | if (currcons >= NR_CONSOLES) { |
currcons | 899 | kernel/chr_drv/console.c | printk("con_write: illegal tty (%d)\n", currcons); |
currcons | 905 | kernel/chr_drv/console.c | cr(currcons); |
currcons | 906 | kernel/chr_drv/console.c | lf(currcons); |
currcons | 909 | kernel/chr_drv/console.c | insert_char(currcons); |
currcons | 931 | kernel/chr_drv/console.c | bs(currcons); |
currcons | 943 | kernel/chr_drv/console.c | lf(currcons); |
currcons | 947 | kernel/chr_drv/console.c | cr(currcons); |
currcons | 964 | kernel/chr_drv/console.c | del(currcons); |
currcons | 978 | kernel/chr_drv/console.c | cr(currcons); |
currcons | 979 | kernel/chr_drv/console.c | lf(currcons); |
currcons | 982 | kernel/chr_drv/console.c | ri(currcons); |
currcons | 985 | kernel/chr_drv/console.c | lf(currcons); |
currcons | 991 | kernel/chr_drv/console.c | respond_ID(currcons,tty); |
currcons | 994 | kernel/chr_drv/console.c | save_cur(currcons); |
currcons | 997 | kernel/chr_drv/console.c | restore_cur(currcons); |
currcons | 1009 | kernel/chr_drv/console.c | reset_terminal(currcons,1); |
currcons | 1044 | kernel/chr_drv/console.c | set_mode(currcons,1); |
currcons | 1047 | kernel/chr_drv/console.c | set_mode(currcons,0); |
currcons | 1052 | kernel/chr_drv/console.c | status_report(currcons,tty); |
currcons | 1054 | kernel/chr_drv/console.c | cursor_report(currcons,tty); |
currcons | 1064 | kernel/chr_drv/console.c | gotoxy(currcons,par[0],y); |
currcons | 1068 | kernel/chr_drv/console.c | gotoxy(currcons,x,y-par[0]); |
currcons | 1072 | kernel/chr_drv/console.c | gotoxy(currcons,x,y+par[0]); |
currcons | 1076 | kernel/chr_drv/console.c | gotoxy(currcons,x+par[0],y); |
currcons | 1080 | kernel/chr_drv/console.c | gotoxy(currcons,x-par[0],y); |
currcons | 1084 | kernel/chr_drv/console.c | gotoxy(currcons,0,y+par[0]); |
currcons | 1088 | kernel/chr_drv/console.c | gotoxy(currcons,0,y-par[0]); |
currcons | 1092 | kernel/chr_drv/console.c | gotoxy(currcons,x,par[0]); |
currcons | 1097 | kernel/chr_drv/console.c | gotoxy(currcons,par[1],par[0]); |
currcons | 1100 | kernel/chr_drv/console.c | csi_J(currcons,par[0]); |
currcons | 1103 | kernel/chr_drv/console.c | csi_K(currcons,par[0]); |
currcons | 1106 | kernel/chr_drv/console.c | csi_L(currcons,par[0]); |
currcons | 1109 | kernel/chr_drv/console.c | csi_M(currcons,par[0]); |
currcons | 1112 | kernel/chr_drv/console.c | csi_P(currcons,par[0]); |
currcons | 1116 | kernel/chr_drv/console.c | respond_ID(currcons,tty); |
currcons | 1130 | kernel/chr_drv/console.c | csi_m(currcons); |
currcons | 1142 | kernel/chr_drv/console.c | gotoxy(currcons,0,0); |
currcons | 1146 | kernel/chr_drv/console.c | save_cur(currcons); |
currcons | 1149 | kernel/chr_drv/console.c | restore_cur(currcons); |
currcons | 1152 | kernel/chr_drv/console.c | csi_at(currcons,par[0]); |
currcons | 1155 | kernel/chr_drv/console.c | setterm_command(currcons); |
currcons | 1168 | kernel/chr_drv/console.c | csi_J(currcons, 2); |
currcons | 1201 | kernel/chr_drv/console.c | set_cursor(currcons); |
currcons | 1243 | kernel/chr_drv/console.c | int currcons = 0; |
currcons | 1312 | kernel/chr_drv/console.c | for (currcons = 0; currcons<NR_CONSOLES; currcons++) { |
currcons | 1315 | kernel/chr_drv/console.c | vc_scrbuf[currcons] = (unsigned short *) origin; |
currcons | 1328 | kernel/chr_drv/console.c | reset_terminal(currcons, currcons); |
currcons | 1330 | kernel/chr_drv/console.c | currcons = fg_console = 0; |
currcons | 1336 | kernel/chr_drv/console.c | gotoxy(currcons,0,0); |
currcons | 1337 | kernel/chr_drv/console.c | save_cur(currcons); |
currcons | 1338 | kernel/chr_drv/console.c | gotoxy(currcons,orig_x,orig_y); |
currcons | 1351 | kernel/chr_drv/console.c | static void get_scrmem(int currcons) |
currcons | 1360 | kernel/chr_drv/console.c | static void set_scrmem(int currcons) |
currcons | 1439 | kernel/chr_drv/console.c | int currcons, l; |
currcons | 1442 | kernel/chr_drv/console.c | currcons = get_fs_byte(buf+1); |
currcons | 1443 | kernel/chr_drv/console.c | if ((currcons<0) || (currcons>=NR_CONSOLES)) |
currcons | 1447 | kernel/chr_drv/console.c | currcons = (currcons ? currcons-1 : fg_console); |
currcons | 1456 | kernel/chr_drv/console.c | int currcons = fg_console; |
currcons | 1459 | kernel/chr_drv/console.c | if (currcons<0 || currcons>=NR_CONSOLES) |
currcons | 1460 | kernel/chr_drv/console.c | currcons = 0; |
currcons | 1464 | kernel/chr_drv/console.c | lf(currcons); |
currcons | 1465 | kernel/chr_drv/console.c | cr(currcons); |
currcons | 1478 | kernel/chr_drv/console.c | set_cursor(currcons); |