Function report |
Source Code:arch\x86\kernel\cpu\bugs.c |
Create Date:2022-07-28 07:56:10 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:spectre_v2_parse_user_cmdline
Proto:static enum spectre_v2_user_cmd __init spectre_v2_parse_user_cmdline(enum spectre_v2_mitigation_cmd v2_cmd)
Type:enum spectre_v2_user_cmd
Parameter:
Type | Parameter | Name |
---|---|---|
enum spectre_v2_mitigation_cmd | v2_cmd |
577 | Case v2_cmd == SPECTRE_V2_CMD_NONE |
578 | Return SPECTRE_V2_USER_CMD_NONE |
579 | Case v2_cmd == SPECTRE_V2_CMD_FORCE |
580 | Return SPECTRE_V2_USER_CMD_FORCE |
581 | Default |
582 | Break |
585 | ret = cmdline_find_option(boot_command_line, "spectre_v2_user", arg, size of arg ) |
587 | If ret < 0 Then Return SPECTRE_V2_USER_CMD_AUTO |
591 | If match_option(arg, ret, option) Then |
594 | Return cmd |
599 | Return SPECTRE_V2_USER_CMD_AUTO |
Name | Describe |
---|---|
spectre_v2_user_select_mitigation |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |