函数源码 |
Source File:arch\x86\kernel\cpu\common.c |
Create Date:2022-07-27 08:55:10 |
首页 | Copyright©Brick |
167 168 169 170 171 172 173 174 175 176 177 178 179 180 | static int __init x86_mpx_setup( char *s) { /* require an exact match without trailing characters */ if ( strlen (s)) return 0; /* do not emit a message if the feature is not present */ if (!boot_cpu_has(X86_FEATURE_MPX)) return 1; setup_clear_cpu_cap(X86_FEATURE_MPX); pr_info( "nompx: Intel Memory Protection Extensions (MPX) disabled\n" ); return 1; } |