imr_clear(9)
π NAME π
okay so bestie, this is imr_clear from the Kernel API Manual β it deletes an Isolated Memory Region by index. periodt π
β¨ SYNOPSIS β¨
int imr_clear (int reg );
π¦ ARGUMENTS π¦
regβ the imr index to remove. that's the whole vibe π«Ά
πΈ DESCRIPTION πΈ
This function lets you delete an IMR by an address range specified by the index of the IMR. Itβs useful for initial sanitization of the IMR address map. no cap, thatβs the main-character job β¨
The page also literally drops this line:
imr_ge(base, size); delete IMR from base to base+size.
so yes, thatβs the exact text β Iβm not out here editing it, bestie π
π RETURN π
-EINVALβ on invalid range or out or range id-ENODEVβ ifregis valid but no IMR exists or is locked0β on success
π SEE ALSO π
Kernel file: ./arch/x86/platform/intel-quark/imr.c
imr_is_enabled(9)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_fixup_memmap(9)imr_init(9)
thatβs the whole page, bestie π«Ά brought to you by source/version ./arch/x86/platform/intel-quark, dated October 2026 β iconic, honestly ππ
π¦ 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