Function report | 
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 activity | Download SCCT | Chinese | 
Name:types_compatible
Proto:static inline int types_compatible(mtrr_type type1, mtrr_type type2)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| mtrr_type | type1 | |
| mtrr_type | type2 | 
| 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 | 
| Name | Describe | 
|---|---|
| mtrr_add_page | mtrr_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 | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |