Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\mtrr\cyrix.c Create Date:2022-07-28 08:06:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:prepare_set

Proto:static void prepare_set(void)

Type:void

Parameter:Nothing

142  If boot_cpu_has(Page Global Enable ) Then
143  cr4 = __read_cr4()
144  __write_cr4(cr4 & ~X86_CR4_PGE)
151  cr0 = read_cr0() | X86_CR0_CD
152  wbinvd()
153  write_cr0(cr0)
154  wbinvd()
157  ccr3 = NSC/Cyrix CPU indexed register access. Must be inlined instead of* macros to ensure correct access ordering* Access order is always 0x22 (=offset), 0x23 (=value)
160  setCx86(CX86_CCR3, (ccr3 & 0x0f) | 0x10)
Caller
NameDescribe
cyrix_set_arr
cyrix_set_all