Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\mtrr\mtrr.c Create Date:2022-07-28 08:05:04
Last Modify:2022-05-18 17:35:08 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:types_compatible

Proto:static inline int types_compatible(mtrr_type type1, mtrr_type type2)

Type:int

Parameter:

TypeParameterName
mtrr_typetype1
mtrr_typetype2
189  Return type1 == MTRR memory types, which are defined in SDM || type2 == MTRR memory types, which are defined in SDM || type1 == #define MTRR_TYPE_ 3 && type2 == MTRR_TYPE_WRBACK || type1 == MTRR_TYPE_WRBACK && type2 == #define MTRR_TYPE_ 3
Caller
NameDescribe
mtrr_add_pagemtrr_add_page - Add a memory type region*@base: Physical base address of region in pages (in units of 4 kB!)*@size: Physical size of region in pages (4 kB)*@type: Type of MTRR desired*@increment: If this is true do usage counting on the region* Memory