imr_write(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ imr_write(9) πŸŽ€

okay so welcome to the imr_write(9) page from the Kernel API Manual, bestie β€” it's giving kernel-internals main character energy, and we're gonna get through it together. πŸ’…βœ¨

πŸ’– NAME πŸ’–

imr_write β€” write an IMR at a given index. 🫢

🌸 SYNOPSIS 🌸

int imr_write (struct imr_device *idev , u32 imr_id , struct imr_regs *imr );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • idev β€” pointer to imr_device structure. πŸ’–
  • imr_id β€” IMR entry to write. ✨
  • imr β€” IMR structure representing address and access masks. πŸŽ€

✨ DESCRIPTION ✨

Requires caller to hold imr mutex. πŸ”’ no cap, you gotta bring the lock.

Note lock bits need to be written independently of address bits. 🧚 lowkey important, so don't smoosh them together.

πŸ’… RETURN πŸ’…

0 on success or error code passed from mbi_iosf on failure. 😭

🌈 SEE ALSO 🌈


mwah πŸ’‹ this whole page lives under ./arch/x86/platform/intel-quark and is dated October 2026 β€” that's the source/version-and-date sign-off, periodt. πŸ¦‹πŸ‘‘

πŸ“¦ where this page comes from