Includeasmx86fixmap32h

enum fixed_addresses { FIX_HOLE, FIX_VDSO, FIX_DBGP_BASE, FIX_EARLYCON_MEM_BASE, #ifdef CONFIG_X86_LOCAL_APIC

#endif

#ifdef CONFIG_HIGHMEM

FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */ FIX_KMAP_END = FIX_KMAP_BEGIN+(KM_TYPE_NR*NR_CPUS)-1,

#endif

FIX_WP_TEST,

__end_of_fixed_addresses

The kernel provides the fix_to_virt function to calculate the virtual address of a fixmap constant.

Continue reading here: Includeasmx86fixmap32h

Was this article helpful?

0 0