Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\boot\video-mode.c Create Date:2022-07-28 07:27:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Set mode (with recalc if specified)

Proto:int set_mode(u16 mode)

Type:int

Parameter:

TypeParameterName
u16mode
151  If mode == VIDEO_CURRENT_MODE Then Return 0
153  Else if mode == 80x25 mode Then mode = VIDEO_80x25
155  Else if mode == 80x50 mode Then mode = VIDEO_8POINT
158  rv = Set mode (without recalc)
159  If rv Then Return rv
162  If mode & The "recalculate timings" flag Then Recalculate the vertical video cutoff (hack!)
168  vid_mode = real_mode
170  Return 0