Function report |
Source Code:arch\x86\boot\video-mode.c |
Create Date:2022-07-28 07:27:26 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Set mode (without recalc)
Proto:static int raw_set_mode(u16 mode, u16 *real_mode)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| u16 | mode | |
| u16 * | real_mode |
| 80 | nmode = 0 |
| 81 | When card < video_cards_end cycle |
| 83 | When i < Number of probed modes so far cycle |
| 84 | visible = x || Width, height |
| 86 | If mode == nmode && visible || mode == Mode number (vga= style) || mode == (Width, height << 8) + x Then |
| 99 | When card < video_cards_end cycle |
| 103 | real_mode = Mode number (vga= style) = mode |
| 104 | x = Width, height = 0 |
| 110 | Return -1 |
| Name | Describe |
|---|---|
| set_mode | Set mode (with recalc if specified) |
| 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 |