Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:main

Proto:void main(void)

Type:void

Parameter:Nothing

137  Copy the header into the boot parameter block. Since this* screws up the old-style command line protocol, adjust by* filling in the new-style command line pointer instead.
140  console_init()
141  If cmdline_find_option_bool("debug") Then puts("early console in setup code\n")
145  init_heap()
148  If validate_cpu() Then
149  puts("Unable to boot - please use a kernel appropriate for your CPU.\n")
151  header.S
155  Set a conventional BIOS mode
158  detect_memory()
161  Query 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.
164  Get Intel SpeedStep (IST) information.
177  set_video()
180  Actual invocation sequence