Function report |
Source Code:arch\x86\kernel\cpu\common.c |
Create Date:2022-07-28 07:54:58 |
| Last Modify:2020-03-16 20:28:31 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Once CPU feature detection is finished (and boot params have been* parsed), record any of the sensitive CR bits that are set, and* enable CR pinning.
Proto:static void __init setup_cr_pinning(void)
Type:void
Parameter:Nothing
| 435 | mask = X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_UMIP |
| 436 | cr4_pinned_bits = Operations with implied preemption/interrupt protection. These* operations can be used without worrying about preemption or interrupt.(cr4) & mask |
| 437 | static_key_enable( & key) |
| Name | Describe |
|---|---|
| identify_boot_cpu |
| 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 |