diff options
Diffstat (limited to 'arch/x86/include/asm/x86_init.h')
| -rw-r--r-- | arch/x86/include/asm/x86_init.h | 12 | 
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/x86/include/asm/x86_init.h b/arch/x86/include/asm/x86_init.h index 643ebf2e2ad..d3d859035af 100644 --- a/arch/x86/include/asm/x86_init.h +++ b/arch/x86/include/asm/x86_init.h @@ -68,6 +68,17 @@ struct x86_init_oem {  };  /** + * struct x86_init_mapping - platform specific initial kernel pagetable setup + * @pagetable_reserve:	reserve a range of addresses for kernel pagetable usage + * + * For more details on the purpose of this hook, look in + * init_memory_mapping and the commit that added it. + */ +struct x86_init_mapping { +	void (*pagetable_reserve)(u64 start, u64 end); +}; + +/**   * struct x86_init_paging - platform specific paging functions   * @pagetable_setup_start:	platform specific pre paging_init() call   * @pagetable_setup_done:	platform specific post paging_init() call @@ -123,6 +134,7 @@ struct x86_init_ops {  	struct x86_init_mpparse		mpparse;  	struct x86_init_irqs		irqs;  	struct x86_init_oem		oem; +	struct x86_init_mapping		mapping;  	struct x86_init_paging		paging;  	struct x86_init_timers		timers;  	struct x86_init_iommu		iommu;  |