Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Set a conventional BIOS mode

Proto:static int set_bios_mode(u8 mode)

Type:int

Parameter:

TypeParameterName
u8mode
34  SPDX-License-Identifier: GPL-2.0-or-later
35  al = mode
36  intcall(0x10, & ireg, NULL)
38  ah = 0x0f
39  intcall(0x10, & ireg, & oreg)
41  Screen contents changed during mode flip = 1
44  new_mode = al & 0x7f
46  If new_mode == mode Then Return 0
50  If new_mode != 0x06 Then
54  ax = 0x06
55  intcall(0x10, & ireg, NULL)
58  Return -1
Caller
NameDescribe
bios_set_mode
bios_probe
main