Query: arch_phys_wc_add
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ARCH_PHYS_WC_ADD(9) Hardware Interfaces ARCH_PHYS_WC_ADD(9)NAMEarch_phys_wc_add - add a WC MTRR and handle errors if PAT is unavailableSYNOPSISint arch_phys_wc_add(unsigned long base, unsigned long size);ARGUMENTSbase Physical base address size Size of regionDESCRIPTIONIf PAT is available, this does nothing. If PAT is unavailable, it attempts to add a WC MTRR covering size bytes starting at base and logs an error if this fails. Drivers must store the return value to pass to mtrr_del_wc_if_needed, but drivers should not try to interpret that return value.COPYRIGHTKernel Hackers Manual 3.10 June 2014 ARCH_PHYS_WC_ADD(9)