Function report |
Source Code:arch\x86\kernel\early_printk.c |
Create Date:2022-07-28 08:42:28 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:early_vga_write
Proto:static void early_vga_write(struct console *con, const char *str, unsigned n)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct console * | con | |
| const char * | str | |
| unsigned | n |
| 38 | If current_ypos >= max_ypos Then |
| 42 | writew(readw(Simple VGA output + 2 * (max_xpos * k + i)), Simple VGA output + 2 * (max_xpos * j + i)) |
| 48 | current_ypos = max_ypos - 1 |
| 51 | If c == '\b' Then |
| 52 | If current_xpos > 0 Then current_xpos-- |
| 54 | Else if c == '\r' Then |
| 55 | current_xpos = 0 |
| 56 | Else If c == '\n' Then |
| 59 | current_xpos = 0 |
| 60 | current_ypos++ |
| 61 | Else if c != '\r' Then |
| 62 | writew(((0x7 << 8) | (unsignedshort)c), Simple VGA output + 2 * (max_xpos * current_ypos + current_xpos++)) |
| 65 | If current_xpos >= max_xpos Then |
| 66 | current_xpos = 0 |
| 67 | current_ypos++ |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |