devm_arch_phys_wc_add(9)
β¨ 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 π¬
devm_ioremap(9)devm_ioremap_uc(9)devm_ioremap_wc(9)devm_iounmap(9)devm_ioremap_resource(9)devm_ioremap_resource_wc(9)devm_ioport_map(9)devm_ioport_unmap(9)devm_arch_io_reserve_memtype_wc(9)
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
- 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