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:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mode_menu

Proto:static unsigned int mode_menu(void)

Type:unsigned int

Parameter:Nothing

205  puts("Press <ENTER> to see video modes available, <SPACE> to continue, or wait 30 sec\n")
208  kbd_flush()
209  When 1 cycle
210  key = getchar_timeout()
211  If key == ' ' || key == 0 Then Return VIDEO_CURRENT_MODE
213  If key == '\r' Then Break
215  putchar('\a')
219  cycle
220  display_menu()
222  puts("Enter a video mode or \"scan\" to scan for additional modes: ")
224  sel = get_entry()
225  If sel != SCAN Then Return sel
228  probe_cards(1)
Caller
NameDescribe
set_video