函数逻辑报告 |
Source Code:arch\x86\boot\video-vga.c |
Create Date:2022-07-27 08:26:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Note: this probe includes basic information required by all* systems. It should be executed first, by making sure* video-vga.c is listed first in the Makefile.
函数原型:static int vga_probe(void)
返回类型:int
参数:无
233 | static const char * card_name[] = {"CGA/MDA/HGC", "EGA", "VGA"} |
236 | static struct mode_info * mode_lists[] = {CGA显示模式组, EGA显示模式组, VGA显示模式组, } |
241 | static int mode_count[] = {Useful macros (CGA显示模式组), Useful macros (EGA显示模式组), Useful macros (VGA显示模式组), } |
249 | 初始化寄存器 |
251 | ax等于0x1200 |
252 | bl等于0x10 |
253 | 读写端口数据 |
260 | 如果bl不等于0x10则 |
273 | 否则 |
279 | 返回:mode_count[0=CGA/MDA/HGC, 1=EGA, 2=VGA+ ] |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |