Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\hpet.c Create Date:2022-07-28 08:42:44
Last Modify:2020-03-16 21:38:50 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:HPET command line enable / disable

Proto:static int __init hpet_setup(char *str)

Type:int

Parameter:

TypeParameterName
char *str
101  When str cycle
102  next = strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for
104  If next Then next++ = 0
106  If Not strncmp("disable", str, 7) Then boot_hpet_disable = true
108  If Not strncmp("force", str, 5) Then hpet_force_user = true
110  If Not strncmp("verbose", str, 7) Then hpet_verbose = true
112  str = next
114  Return 1