Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:SPDX-License-Identifier: GPL-2.0-or-later

Proto:void initregs(struct biosregs *reg)

Type:void

Parameter:

TypeParameterName
struct biosregs *reg
21  memset(reg, 0, size of reg )
22  eflags |= X86_EFLAGS_CF
23  ds = These functions are used to reference data in other segments.
24  es = These functions are used to reference data in other segments.
25  fs = fs()
26  gs = gs()
Caller
NameDescribe
keyboard_initQuery the keyboard lock status as given by the BIOS, and* set the keyboard repeat rate to maximum. Unclear why the latter* is done here; this might be possible to kill off as stale code.
query_istGet Intel SpeedStep (IST) information.
set_bios_modeTell the BIOS what CPU mode we intend to run in.
detect_memory_e820
detect_memory_e801
detect_memory_88
bios_putchar
gettimeRead the CMOS clock through the BIOS, and return the* seconds in BCD.
getcharRead from the keyboard
kbd_pending
store_cursor_position
store_video_mode
restore_screen
query_apm_bios-*- linux-c -*- ------------------------------------------------------- ** Copyright (C) 1991, 1992 Linus Torvalds* Copyright 2007 rPath, Inc
vga_set_basic_modeSet basic 80x25 mode
vga_set_8font
vga_set_14font
vga_set_80x43
vga_probeNote: this probe includes basic information required by all* systems. It should be executed first, by making sure* video-vga.c is listed first in the Makefile.
vesa_probe
vesa_set_mode
vesa_dac_set_8bitsSwitch DAC to 8-bit mode
vesa_store_pm_infoSave the VESA protected mode info
set_bios_modeSet a conventional BIOS mode
enable_a20_bios