1ARCH_PHYS_WC_ADD(9)           Hardware Interfaces          ARCH_PHYS_WC_ADD(9)
2
3
4

NAME

6       arch_phys_wc_add - add a WC MTRR and handle errors if PAT is
7       unavailable
8

SYNOPSIS

10       int arch_phys_wc_add(unsigned long base, unsigned long size);
11

ARGUMENTS

13       base
14           Physical base address
15
16       size
17           Size of region
18

DESCRIPTION

20       If PAT is available, this does nothing. If PAT is unavailable, it
21       attempts to add a WC MTRR covering size bytes starting at base and logs
22       an error if this fails.
23
24       Drivers must store the return value to pass to mtrr_del_wc_if_needed,
25       but drivers should not try to interpret that return value.
26
28Kernel Hackers Manual 3.10         June 2019               ARCH_PHYS_WC_ADD(9)
Impressum