imr_is_enabled(9)
π imr_is_enabled(9) π
okay bestie, welcome to the Kernel API Manual page for imr_is_enabled(9) β this is your go-to vibe check for whether an IMR is enabled, and it is lowkey iconic π«Άβ¨
π NAME π
imr_is_enabled β true if an IMR is enabled, false otherwise. fr fr, thatβs the whole name situation π
β¨ SYNOPSIS β¨
int imr_is_enabled (struct imr_regs *imr );
π ARGUMENTS π
imrβ pointer to IMR descriptor. yes bestie, itβs a pointer to the descriptor, keep it cute π
π¦ DESCRIPTION π¦
okay so this function figures out if an IMR is enabled based on the address range and the read/write mask. no cap π
An IMR thatβs set with an address range set to zero and a read/write access mask set to all is considered to be disabled. An IMR in any other state β for example, set to zero but without read/write access all β is considered to be enabled. This definition of disabled is how firmware switches off an IMR, and itβs maintained in the kernel for consistency. periodt π
πΈ RETURN πΈ
trueif the IMR is enabledfalseif itβs disabled
π₯ SEE ALSO π₯
- Kernel file:
./arch/x86/platform/intel-quark/imr.c imr_read(9)imr_write(9)imr_dbgfs_state_show(9)imr_debugfs_register(9)imr_check_params(9)imr_raw_size(9)imr_address_overlap(9)imr_add_range(9)__imr_remove_range(9)imr_remove_range(9)imr_clear(9)imr_fixup_memmap(9)imr_init(9)
mwah π this page is signed off from ./arch/x86/platform/intel-quark, dated October 2026 β go be iconic with your IMR checks, bestie π
β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms