Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\acpi\boot.c Create Date:2022-07-28 08:16:29
Last Modify:2020-03-16 21:18:54 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:parse_acpi

Proto:static int __init parse_acpi(char *arg)

Type:int

Parameter:

TypeParameterName
char *arg
1638  If Not arg Then Return -EINVAL
1642  If strcmp(arg, "off") == 0 Then
1643  disable_acpi()
1646  Else if strcmp(arg, "force") == 0 Then
1647  acpi_force = 1
1648  acpi_disabled = 0
1651  Else if strcmp(arg, "strict") == 0 Then
1652  acpi_strict = 1
1655  Else if strcmp(arg, "rsdt") == 0 Then
1656  acpi_gbl_do_not_use_xsdt = TRUE
1659  Else if strcmp(arg, "noirq") == 0 Then
1660  acpi_noirq_set()
1663  Else if strcmp(arg, "copy_dsdt") == 0 Then
1664  acpi_gbl_copy_dsdt_locally = 1
1667  Else if strcmp(arg, "nocmcff") == 0 Then
1668  acpi_disable_cmcff = 1
1669  Else
1671  Return -EINVAL
1673  Return 0