Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:centaur_set_mcr

Proto:static void centaur_set_mcr(unsigned int reg, unsigned long base, unsigned long size, mtrr_type type)

Type:void

Parameter:

TypeParameterName
unsigned intreg
unsigned longbase
unsigned longsize
mtrr_typetype
79  If size == 0 Then
81  high = low = 0
82  Else
83  high = base << PAGE_SHIFT determines the page size
87  Else
94  high = high
95  low = low
96  wrmsr(MSR_IDT_MCR0 + reg, low, high)