Function report |
Source Code:arch\x86\kernel\cpu\mtrr\generic.c |
Create Date:2022-07-28 08:06:13 |
| Last Modify:2022-05-18 17:45:43 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:generic_get_mtrr
Proto:static void generic_get_mtrr(unsigned int reg, unsigned long *base, unsigned long *size, mtrr_type *type)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | reg | |
| unsigned long * | base | |
| unsigned long * | size | |
| mtrr_type * | type |
| 590 | get_cpu() |
| 594 | If (mask_lo & 0x800) == 0 Then |
| 605 | tmp = mask_hi << 32 - PAGE_SHIFT determines the page size | mask_lo >> PAGE_SHIFT determines the page size |
| 606 | mask = size_or_mask | tmp |
| 610 | If hi > 0 Then |
| 614 | pr_warn("mtrr: your BIOS has configured an incorrect mask, fixing it.\n") |
| 625 | base = base_hi << 32 - PAGE_SHIFT determines the page size | base_lo >> PAGE_SHIFT determines the page size |
| 628 | out_put_cpu : |
| 629 | put_cpu() |
| 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 |