devm_arch_phys_wc_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, welcome to the devm_arch_phys_wc_add(9) page in the Kernel API Manual πŸ’–

devm_arch_phys_wc_add β€” managed arch_phys_wc_add() 🫢


🌸 SYNOPSIS 🌸

int devm_arch_phys_wc_add (struct device *dev , unsigned long base ,
       unsigned long size );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the managed device, aka the main character holding the resource energy πŸ’…
  • base β€” memory base address, the starting point of the whole situation πŸ“
  • size β€” size of the memory range, like how much of the map we're covering πŸ’–

πŸ’œ DESCRIPTION πŸ’œ

So this one adds a WC MTRR using arch_phys_wc_add, and it sets up a release callback too β€” very managed, very responsible ✨

For the full lore and extra details, go see arch_phys_wc_add, bestie 🫢


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./lib/devres.c is right here, and these related functions are also invited to the group chat πŸ’¬


mwah πŸ’‹ this one came from ./lib, dated October 2026, and it's still the devm_arch_phys_wc_add(9) page β€” byeee πŸ¦‹

πŸ“¦ where this page comes from