函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\boot\video-mode.c Create Date:2022-07-27 08:26:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Recalculate the vertical video cutoff (hack!)

函数原型:static void vga_recalc_vertical(void)

返回类型:void

参数:

122  设置寄存器值(fs)
123  font_size等于读指定地址字符
124  rows等于如果Don't query the BIOS for cols/rows Don't query the BIOS for cols/rows 否则读指定地址字符加1
126  rows乘等于font_size
127  rows自减
129  crtc等于I/O address of the VGA CRTC
131  pt等于Accessing VGA indexed registers
132  pt与等于0x80的反
133  out_idx(pt, crtc, 0x11)
135  out_idx((u8)rows, crtc, 0x12)
137  ov等于Accessing VGA indexed registers
138  ov与等于0xbd
139  ov或等于rows右移8减1位按位与0x02
140  ov或等于rows右移9减6位按位与0x40
141  out_idx(ov, crtc, 0x07)
调用者
名称描述
set_modeSet mode (with recalc if specified)