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

Name: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.

Proto:static void store_mode_params(void)

Type:void

Parameter:Nothing

68  If Graphics mode with linear frame buffer Then Return
71  store_cursor_position()
72  store_video_mode()
74  If 0x06 == 0x07 Then
76  video_segment = 0xb000
77  Else
79  video_segment = 0xb800
82  set_fs(0)
83  font_size = rdfs16(0x485)
84  0x10 = font_size
86  x = rdfs16(0x44a)
87  y = If adapter == CGA/MDA/HGC Then 25 Else rdfs8(0x484) + 1
89  If Don't query the BIOS for cols/rows Then x = Don't query the BIOS for cols/rows
91  If Don't query the BIOS for cols/rows Then y = Don't query the BIOS for cols/rows
94  0x07 = x
95  0x0e = y
Caller
NameDescribe
set_video