Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\special_insns.h Create Date:2022-07-28 05:35:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:write_cr0

Proto:static inline void write_cr0(unsigned long x)

Type:void

Parameter:

TypeParameterName
unsigned longx
150  native_write_cr0(x)
Caller
NameDescribe
do_device_not_available
fpu__init_cpu_genericInitialize the registers found in all CPUs, CR0 and CR4:
fpu__probe_without_cpuid
set_cx86_memwb
prepare_setSince we are disabling the cache don't allow any interrupts,* they would run extremely slow and would only increase the pain.* The caller must ensure that local interrupts are disabled and* are reenabled after post_set() has been called.
post_set
prepare_set
post_set