函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\mtrr\mtrr.c Create Date:2022-07-27 09:05:18
Last Modify:2022-05-18 17:35:08 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:types_compatible

函数原型:static inline int types_compatible(mtrr_type type1, mtrr_type type2)

返回类型:int

参数:

类型参数名称
mtrr_typetype1
mtrr_typetype2
189  返回:type1恒等于MTRR memory types, which are defined in SDM type2恒等于MTRR memory types, which are defined in SDM type1恒等于#define MTRR_TYPE_ 3type2恒等于MTRR_TYPE_WRBACKtype1恒等于MTRR_TYPE_WRBACKtype2恒等于#define MTRR_TYPE_ 3
调用者
名称描述
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