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

Name:set_video

Proto:void set_video(void)

Type:void

Parameter:Nothing

319  mode = vid_mode
321  RESET_HEAP()
323  Store the video mode parameters for later usage by the kernel.* This is done by asking the BIOS except for the rows/columns* parameters in the default 80x25 mode -- these are set directly,* because some very obscure BIOSes supply insane values.
324  save_screen()
325  probe_cards(0)
327  cycle
328  If mode == ask for it at bootup Then mode = mode_menu()
331  If Not video-mode.c Then Break
334  printf("Undefined video mode number: %x\n", mode)
335  mode = ask for it at bootup
337  vid_mode = mode
338  video-vesa.c
339  Store the video mode parameters for later usage by the kernel.* This is done by asking the BIOS except for the rows/columns* parameters in the default 80x25 mode -- these are set directly,* because some very obscure BIOSes supply insane values.
341  If Restore screen contents Then restore_screen()
Caller
NameDescribe
main