Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:display_menu

Proto:static void display_menu(void)

Type:void

Parameter:Nothing

147  nmodes = 0
148  When card < video_cards_end cycle nmodes += Number of probed modes so far
151  modes_per_line = 1
152  If nmodes >= 20 Then modes_per_line = 3
155  When col < modes_per_line cycle puts("Mode: Resolution: Type: ")
157  putchar('\n')
159  col = 0
160  ch = '0'
161  When card < video_cards_end cycle
162  mi = modes
169  If Not visible Then Continue
174  Else sprintf(resbuf, "%d", Width, height )
177  printf("%c %03X %4dx%-7s %-6s", ch, mode_id, x, resbuf, card_name)
179  col++
180  If col >= modes_per_line Then
181  putchar('\n')
182  col = 0
185  If ch == '9' Then ch = 'a'
187  Else if ch == 'z' || ch == ' ' Then ch = ' '
189  Else ch++
193  If col Then putchar('\n')
Caller
NameDescribe
mode_menu