Function report |
Source Code:arch\x86\boot\video-vesa.c |
Create Date:2022-07-28 07:27:38 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:vesa_probe
Proto:static int vesa_probe(void)
Type:int
Parameter:Nothing
| 37 | nmodes = 0 |
| 42 | ax = 0x4f00 |
| 43 | di = (size_t) & VESA information |
| 46 | If ax != 0x004f || 0 Magic number = "VESA" != VESA_MAGIC || version < 0x0102 Then Return 0 |
| 55 | mode_ptr += 2 |
| 60 | If mode & ~0x1ff Then Continue |
| 65 | ax = 0x4f01 |
| 70 | If ax != 0x004f Then Continue |
| 73 | If (mode_attr & 0x15) == 0x05 Then |
| 80 | Width, height = 20 |
| 81 | nmodes++ |
| 101 | Return nmodes |
| 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 |