Function report |
Source Code:arch\x86\kernel\cpu\mtrr\mtrr.c |
Create Date:2022-07-28 08:05:10 |
| Last Modify:2022-05-18 17:35:08 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mtrr_add - Add a memory type region*@base: Physical base address of region*@size: Physical size of region*@type: Type of MTRR desired*@increment: If this is true do usage counting on the region* Memory type region registers control the caching on newer
Proto:int mtrr_add(unsigned long base, unsigned long size, unsigned int type, bool increment)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | base | |
| unsigned long | size | |
| unsigned int | type | |
| bool | increment |
| 456 | If Not mtrr_enabled() Then Return -ENODEV |
| 458 | If mtrr_check(base, size) Then Return -EINVAL |
| Name | Describe |
|---|---|
| arch_phys_wc_add | arch_phys_wc_add - add a WC MTRR and handle errors if PAT is unavailable*@base: Physical base address*@size: Size of region* If PAT is available, this does nothing |
| mtrr_ioctl |
| 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 |