tag | line | file | source code |
currcons | 127 | kernel/chr_drv/console.c | #define origin (vc_cons[currcons].vc_origin) |
currcons | 128 | kernel/chr_drv/console.c | #define scr_end (vc_cons[currcons].vc_scr_end) |
currcons | 129 | kernel/chr_drv/console.c | #define pos (vc_cons[currcons].vc_pos) |
currcons | 130 | kernel/chr_drv/console.c | #define top (vc_cons[currcons].vc_top) |
currcons | 131 | kernel/chr_drv/console.c | #define bottom (vc_cons[currcons].vc_bottom) |
currcons | 132 | kernel/chr_drv/console.c | #define x (vc_cons[currcons].vc_x) |
currcons | 133 | kernel/chr_drv/console.c | #define y (vc_cons[currcons].vc_y) |
currcons | 134 | kernel/chr_drv/console.c | #define state (vc_cons[currcons].vc_state) |
currcons | 135 | kernel/chr_drv/console.c | #define npar (vc_cons[currcons].vc_npar) |
currcons | 136 | kernel/chr_drv/console.c | #define par (vc_cons[currcons].vc_par) |
currcons | 137 | kernel/chr_drv/console.c | #define ques (vc_cons[currcons].vc_ques) |
currcons | 138 | kernel/chr_drv/console.c | #define attr (vc_cons[currcons].vc_attr) |
currcons | 139 | kernel/chr_drv/console.c | #define saved_x (vc_cons[currcons].vc_saved_x) |
currcons | 140 | kernel/chr_drv/console.c | #define saved_y (vc_cons[currcons].vc_saved_y) |
currcons | 141 | kernel/chr_drv/console.c | #define translate (vc_cons[currcons].vc_translate) |
currcons | 142 | kernel/chr_drv/console.c | #define G0_charset (vc_cons[currcons].vc_G0_charset) |
currcons | 143 | kernel/chr_drv/console.c | #define G1_charset (vc_cons[currcons].vc_G1_charset) |
currcons | 144 | kernel/chr_drv/console.c | #define saved_G0 (vc_cons[currcons].vc_saved_G0) |
currcons | 145 | kernel/chr_drv/console.c | #define saved_G1 (vc_cons[currcons].vc_saved_G1) |
currcons | 146 | kernel/chr_drv/console.c | #define video_mem_start (vc_cons[currcons].vc_video_mem_start) |
currcons | 147 | kernel/chr_drv/console.c | #define video_mem_end (vc_cons[currcons].vc_video_mem_end) |
currcons | 148 | kernel/chr_drv/console.c | #define video_erase_char (vc_cons[currcons].vc_video_erase_char) |
currcons | 149 | kernel/chr_drv/console.c | #define decscnm (vc_cons[currcons].vc_decscnm) |
currcons | 150 | kernel/chr_drv/console.c | #define decom (vc_cons[currcons].vc_decom) |
currcons | 151 | kernel/chr_drv/console.c | #define decawm (vc_cons[currcons].vc_decawm) |
currcons | 152 | kernel/chr_drv/console.c | #define deccm (vc_cons[currcons].vc_deccm) |
currcons | 153 | kernel/chr_drv/console.c | #define decim (vc_cons[currcons].vc_decim) |
currcons | 154 | kernel/chr_drv/console.c | #define need_wrap (vc_cons[currcons].vc_need_wrap) |
currcons | 155 | kernel/chr_drv/console.c | #define color (vc_cons[currcons].vc_color) |
currcons | 156 | kernel/chr_drv/console.c | #define s_color (vc_cons[currcons].vc_s_color) |
currcons | 157 | kernel/chr_drv/console.c | #define def_color (vc_cons[currcons].vc_def_color) |
currcons | 160 | kernel/chr_drv/console.c | #define charset (vc_cons[currcons].vc_charset) |
currcons | 161 | kernel/chr_drv/console.c | #define s_charset (vc_cons[currcons].vc_s_charset) |
currcons | 162 | kernel/chr_drv/console.c | #define intensity (vc_cons[currcons].vc_intensity) |
currcons | 163 | kernel/chr_drv/console.c | #define underline (vc_cons[currcons].vc_underline) |
currcons | 164 | kernel/chr_drv/console.c | #define blink (vc_cons[currcons].vc_blink) |
currcons | 165 | kernel/chr_drv/console.c | #define reverse (vc_cons[currcons].vc_reverse) |
currcons | 166 | kernel/chr_drv/console.c | #define s_intensity (vc_cons[currcons].vc_s_intensity) |
currcons | 167 | kernel/chr_drv/console.c | #define s_underline (vc_cons[currcons].vc_s_underline) |
currcons | 168 | kernel/chr_drv/console.c | #define s_blink (vc_cons[currcons].vc_s_blink) |
currcons | 169 | kernel/chr_drv/console.c | #define s_reverse (vc_cons[currcons].vc_s_reverse) |
currcons | 170 | kernel/chr_drv/console.c | #define ulcolor (vc_cons[currcons].vc_ulcolor) |
currcons | 171 | kernel/chr_drv/console.c | #define halfcolor (vc_cons[currcons].vc_halfcolor) |
currcons | 172 | kernel/chr_drv/console.c | #define kbdmode (vc_cons[currcons].vc_kbdmode) |
currcons | 173 | kernel/chr_drv/console.c | #define tab_stop (vc_cons[currcons].vc_tab_stop) |
currcons | 174 | kernel/chr_drv/console.c | #define vcmode (vt_cons[currcons].vc_mode) |
currcons | 175 | kernel/chr_drv/console.c | #define vtmode (vt_cons[currcons].vt_mode) |
currcons | 176 | kernel/chr_drv/console.c | #define vtpid (vt_cons[currcons].vt_pid) |
currcons | 177 | kernel/chr_drv/console.c | #define vtnewvt (vt_cons[currcons].vt_newvt) |
currcons | 179 | kernel/chr_drv/console.c | #define set_kbd(x) set_vc_kbd_flag(kbd_table+currcons,x) |
currcons | 180 | kernel/chr_drv/console.c | #define clr_kbd(x) clr_vc_kbd_flag(kbd_table+currcons,x) |
currcons | 181 | kernel/chr_drv/console.c | #define is_kbd(x) vc_kbd_flag(kbd_table+currcons,x) |
currcons | 261 | kernel/chr_drv/console.c | static void gotoxy(int currcons, int new_x, int new_y) |
currcons | 288 | kernel/chr_drv/console.c | static void set_origin(int currcons) |
currcons | 292 | kernel/chr_drv/console.c | if (currcons != fg_console || console_blanked || vcmode == KD_GRAPHICS) |
currcons | 302 | kernel/chr_drv/console.c | static void scrup(int currcons, unsigned int t, unsigned int b) |
currcons | 340 | kernel/chr_drv/console.c | set_origin(currcons); |
currcons | 356 | kernel/chr_drv/console.c | static void scrdown(int currcons, unsigned int t, unsigned int b) |
currcons | 375 | kernel/chr_drv/console.c | static void lf(int currcons) |
currcons | 382 | kernel/chr_drv/console.c | scrup(currcons,top,bottom); |
currcons | 386 | kernel/chr_drv/console.c | static void ri(int currcons) |
currcons | 393 | kernel/chr_drv/console.c | scrdown(currcons,top,bottom); |
currcons | 397 | kernel/chr_drv/console.c | static inline void cr(int currcons) |
currcons | 403 | kernel/chr_drv/console.c | static inline void bs(int currcons) |
currcons | 412 | kernel/chr_drv/console.c | static inline void del(int currcons) |
currcons | 422 | kernel/chr_drv/console.c | static void csi_J(int currcons, int vpar) |
currcons | 452 | kernel/chr_drv/console.c | static void csi_K(int currcons, int vpar) |
currcons | 485 | kernel/chr_drv/console.c | static void update_attr(int currcons) |
currcons | 513 | kernel/chr_drv/console.c | static void default_attr(int currcons) { |
currcons | 521 | kernel/chr_drv/console.c | static void csi_m(int currcons) |
currcons | 528 | kernel/chr_drv/console.c | default_attr(currcons); |
currcons | 573 | kernel/chr_drv/console.c | update_attr(currcons); |
currcons | 576 | kernel/chr_drv/console.c | static inline void hide_cursor(int currcons) |
currcons | 584 | kernel/chr_drv/console.c | static inline void set_cursor(int currcons) |
currcons | 586 | kernel/chr_drv/console.c | if (currcons != fg_console || console_blanked) |
currcons | 595 | kernel/chr_drv/console.c | hide_cursor(currcons); |
currcons | 599 | kernel/chr_drv/console.c | static void respond_string(char * p, int currcons, struct tty_struct * tty) |
currcons | 608 | kernel/chr_drv/console.c | static void respond_num(unsigned int n, int currcons, struct tty_struct * tty) |
currcons | 623 | kernel/chr_drv/console.c | static void cursor_report(int currcons, struct tty_struct * tty) |
currcons | 627 | kernel/chr_drv/console.c | respond_num(y + (decom ? top+1 : 1), currcons, tty); |
currcons | 629 | kernel/chr_drv/console.c | respond_num(x+1, currcons, tty); |
currcons | 634 | kernel/chr_drv/console.c | static inline void status_report(int currcons, struct tty_struct * tty) |
currcons | 636 | kernel/chr_drv/console.c | respond_string("\033[0n", currcons, tty); /* Terminal ok */ |
currcons | 639 | kernel/chr_drv/console.c | static inline void respond_ID(int currcons, struct tty_struct * tty) |
currcons | 641 | kernel/chr_drv/console.c | respond_string(VT102ID, currcons, tty); |
currcons | 644 | kernel/chr_drv/console.c | static void invert_screen(int currcons) { |
currcons | 655 | kernel/chr_drv/console.c | static void set_mode(int currcons, int on_off) |
currcons | 668 | kernel/chr_drv/console.c | csi_J(currcons,2); |
currcons | 669 | kernel/chr_drv/console.c | gotoxy(currcons,0,0); |
currcons | 674 | kernel/chr_drv/console.c | invert_screen(currcons); |
currcons | 675 | kernel/chr_drv/console.c | update_attr(currcons); |
currcons | 680 | kernel/chr_drv/console.c | gotoxy(currcons,0,0); |
currcons | 693 | kernel/chr_drv/console.c | set_cursor(currcons); |
currcons | 708 | kernel/chr_drv/console.c | static void setterm_command(int currcons) |
currcons | 715 | kernel/chr_drv/console.c | update_attr(currcons); |
currcons | 722 | kernel/chr_drv/console.c | update_attr(currcons); |
currcons | 727 | kernel/chr_drv/console.c | default_attr(currcons); |
currcons | 728 | kernel/chr_drv/console.c | update_attr(currcons); |
currcons | 736 | kernel/chr_drv/console.c | static void insert_char(int currcons) |
currcons | 751 | kernel/chr_drv/console.c | static void insert_line(int currcons) |
currcons | 753 | kernel/chr_drv/console.c | scrdown(currcons,y,bottom); |
currcons | 757 | kernel/chr_drv/console.c | static void delete_char(int currcons) |
currcons | 770 | kernel/chr_drv/console.c | static void delete_line(int currcons) |
currcons | 772 | kernel/chr_drv/console.c | scrup(currcons,y,bottom); |
currcons | 776 | kernel/chr_drv/console.c | static void csi_at(int currcons, unsigned int nr) |
currcons | 783 | kernel/chr_drv/console.c | insert_char(currcons); |
currcons | 786 | kernel/chr_drv/console.c | static void csi_L(int currcons, unsigned int nr) |
currcons | 793 | kernel/chr_drv/console.c | insert_line(currcons); |
currcons | 796 | kernel/chr_drv/console.c | static void csi_P(int currcons, unsigned int nr) |
currcons | 803 | kernel/chr_drv/console.c | delete_char(currcons); |
currcons | 806 | kernel/chr_drv/console.c | static void csi_M(int currcons, unsigned int nr) |
currcons | 813 | kernel/chr_drv/console.c | delete_line(currcons); |
currcons | 816 | kernel/chr_drv/console.c | static void save_cur(int currcons) |
currcons | 830 | kernel/chr_drv/console.c | static void restore_cur(int currcons) |
currcons | 832 | kernel/chr_drv/console.c | gotoxy(currcons,saved_x,saved_y); |
currcons | 842 | kernel/chr_drv/console.c | update_attr(currcons); |
currcons | 849 | kernel/chr_drv/console.c | static void reset_terminal(int currcons, int do_clear) |
currcons | 871 | kernel/chr_drv/console.c | kbd_table[currcons].flags = |
currcons | 872 | kernel/chr_drv/console.c | (kbd_table[currcons].flags & ~LED_MASK) | |
currcons | 873 | kernel/chr_drv/console.c | (kbd_table[currcons].default_flags & LED_MASK); |
currcons | 877 | kernel/chr_drv/console.c | default_attr(currcons); |
currcons | 878 | kernel/chr_drv/console.c | update_attr(currcons); |
currcons | 887 | kernel/chr_drv/console.c | gotoxy(currcons,0,0); |
currcons | 888 | kernel/chr_drv/console.c | csi_J(currcons,2); |
currcons | 889 | kernel/chr_drv/console.c | save_cur(currcons); |
currcons | 896 | kernel/chr_drv/console.c | unsigned int currcons; |
currcons | 899 | kernel/chr_drv/console.c | currcons = tty->line - 1; |
currcons | 900 | kernel/chr_drv/console.c | if (currcons >= NR_CONSOLES) { |
currcons | 901 | kernel/chr_drv/console.c | printk("con_write: illegal tty (%d)\n", currcons); |
currcons | 907 | kernel/chr_drv/console.c | cr(currcons); |
currcons | 908 | kernel/chr_drv/console.c | lf(currcons); |
currcons | 911 | kernel/chr_drv/console.c | insert_char(currcons); |
currcons | 933 | kernel/chr_drv/console.c | bs(currcons); |
currcons | 945 | kernel/chr_drv/console.c | lf(currcons); |
currcons | 949 | kernel/chr_drv/console.c | cr(currcons); |
currcons | 966 | 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 | 1046 | kernel/chr_drv/console.c | set_mode(currcons,1); |
currcons | 1049 | kernel/chr_drv/console.c | set_mode(currcons,0); |
currcons | 1054 | kernel/chr_drv/console.c | status_report(currcons,tty); |
currcons | 1056 | kernel/chr_drv/console.c | cursor_report(currcons,tty); |
currcons | 1066 | kernel/chr_drv/console.c | gotoxy(currcons,par[0],y); |
currcons | 1070 | kernel/chr_drv/console.c | gotoxy(currcons,x,y-par[0]); |
currcons | 1074 | kernel/chr_drv/console.c | gotoxy(currcons,x,y+par[0]); |
currcons | 1078 | kernel/chr_drv/console.c | gotoxy(currcons,x+par[0],y); |
currcons | 1082 | kernel/chr_drv/console.c | gotoxy(currcons,x-par[0],y); |
currcons | 1086 | kernel/chr_drv/console.c | gotoxy(currcons,0,y+par[0]); |
currcons | 1090 | kernel/chr_drv/console.c | gotoxy(currcons,0,y-par[0]); |
currcons | 1094 | kernel/chr_drv/console.c | gotoxy(currcons,x,par[0]); |
currcons | 1099 | kernel/chr_drv/console.c | gotoxy(currcons,par[1],par[0]); |
currcons | 1102 | kernel/chr_drv/console.c | csi_J(currcons,par[0]); |
currcons | 1105 | kernel/chr_drv/console.c | csi_K(currcons,par[0]); |
currcons | 1108 | kernel/chr_drv/console.c | csi_L(currcons,par[0]); |
currcons | 1111 | kernel/chr_drv/console.c | csi_M(currcons,par[0]); |
currcons | 1114 | kernel/chr_drv/console.c | csi_P(currcons,par[0]); |
currcons | 1118 | kernel/chr_drv/console.c | respond_ID(currcons,tty); |
currcons | 1132 | kernel/chr_drv/console.c | csi_m(currcons); |
currcons | 1144 | kernel/chr_drv/console.c | gotoxy(currcons,0,0); |
currcons | 1148 | kernel/chr_drv/console.c | save_cur(currcons); |
currcons | 1151 | kernel/chr_drv/console.c | restore_cur(currcons); |
currcons | 1154 | kernel/chr_drv/console.c | csi_at(currcons,par[0]); |
currcons | 1157 | kernel/chr_drv/console.c | setterm_command(currcons); |
currcons | 1170 | kernel/chr_drv/console.c | csi_J(currcons, 2); |
currcons | 1203 | kernel/chr_drv/console.c | set_cursor(currcons); |
currcons | 1244 | kernel/chr_drv/console.c | int currcons = 0; |
currcons | 1305 | kernel/chr_drv/console.c | for (currcons = 0; currcons<NR_CONSOLES; currcons++) { |
currcons | 1308 | kernel/chr_drv/console.c | vc_scrbuf[currcons] = (unsigned short *) origin; |
currcons | 1321 | kernel/chr_drv/console.c | reset_terminal(currcons, currcons); |
currcons | 1323 | kernel/chr_drv/console.c | currcons = fg_console = 0; |
currcons | 1329 | kernel/chr_drv/console.c | gotoxy(currcons,0,0); |
currcons | 1330 | kernel/chr_drv/console.c | save_cur(currcons); |
currcons | 1331 | 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 | 1353 | kernel/chr_drv/console.c | memcpy((void *)vc_scrbuf[currcons],(void *)origin, screen_size); |
currcons | 1354 | kernel/chr_drv/console.c | video_mem_start = (unsigned long)vc_scrbuf[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 | 1444 | kernel/chr_drv/console.c | currcons = get_fs_byte(buf+1); |
currcons | 1445 | kernel/chr_drv/console.c | if ((currcons<0) || (currcons>=NR_CONSOLES)) |
currcons | 1449 | kernel/chr_drv/console.c | currcons = (currcons ? currcons-1 : fg_console); |
currcons | 1458 | kernel/chr_drv/console.c | int currcons = fg_console; |
currcons | 1461 | kernel/chr_drv/console.c | if (!printable || currcons<0 || currcons>=NR_CONSOLES) |
currcons | 1466 | kernel/chr_drv/console.c | lf(currcons); |
currcons | 1467 | kernel/chr_drv/console.c | cr(currcons); |
currcons | 1480 | kernel/chr_drv/console.c | set_cursor(currcons); |