Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vga_set_mode

Proto:static int vga_set_mode(struct mode_info *mode)

Type:int

Parameter:

TypeParameterName
struct mode_info *mode
194  Set basic 80x25 mode
197  Don't query the BIOS for cols/rows = x
198  Don't query the BIOS for cols/rows = Width, height
201  Case Mode number (vga= style) == VIDEO_80x25
202  Break
203  Case Mode number (vga= style) == VIDEO_8POINT
204  vga_set_8font()
205  Break
206  Case Mode number (vga= style) == VIDEO_80x43
207  vga_set_80x43()
208  Break
209  Case Mode number (vga= style) == VIDEO_80x28
210  vga_set_14font()
211  Break
212  Case Mode number (vga= style) == VIDEO_80x30
213  vga_set_80x30()
214  Break
215  Case Mode number (vga= style) == VIDEO_80x34
216  vga_set_80x34()
217  Break
218  Case Mode number (vga= style) == VIDEO_80x60
219  vga_set_80x60()
220  Break
223  Return 0