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:04:59
Last Modify:2022-05-18 17:35:08 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mtrr_enabled

Proto:static bool mtrr_enabled(void)

Type:bool

Parameter:Nothing

67  Return __mtrr_enabled
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
mtrr_addmtrr_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
mtrr_del_pagemtrr_del_page - delete a memory type region*@reg: Register returned by mtrr_add*@base: Physical base address*@size: Size of region* If register is supplied then base and size are ignored. This is* how drivers should call it.* Releases an MTRR region
mtrr_delmtrr_del - delete a memory type region*@reg: Register returned by mtrr_add*@base: Physical base address*@size: Size of region* If register is supplied then base and size are ignored. This is* how drivers should call it.* Releases an MTRR region
arch_phys_wc_addarch_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_bp_initmtrr_bp_init - initialize mtrrs on the boot CPU* This needs to be called early; before any of the other CPUs are* initialized (i.e. before smp_init()).
mtrr_ap_init
mtrr_save_stateSave current fixed-range MTRR state of the first cpu in cpu_online_mask.
set_mtrr_aps_delayed_init
mtrr_aps_initDelayed MTRR initialization for all AP's
mtrr_bp_restore
mtrr_init_finialize