aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/x86_init.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/x86_init.h')
-rw-r--r--arch/x86/include/asm/x86_init.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/x86/include/asm/x86_init.h b/arch/x86/include/asm/x86_init.h
index ee7c59df7814..b9bb4faefc48 100644
--- a/arch/x86/include/asm/x86_init.h
+++ b/arch/x86/include/asm/x86_init.h
@@ -1,6 +1,8 @@
1#ifndef _ASM_X86_PLATFORM_H 1#ifndef _ASM_X86_PLATFORM_H
2#define _ASM_X86_PLATFORM_H 2#define _ASM_X86_PLATFORM_H
3 3
4#include <asm/pgtable_types.h>
5
4struct mpc_bus; 6struct mpc_bus;
5struct mpc_cpu; 7struct mpc_cpu;
6struct mpc_table; 8struct mpc_table;
@@ -67,6 +69,16 @@ struct x86_init_oem {
67}; 69};
68 70
69/** 71/**
72 * struct x86_init_paging - platform specific paging functions
73 * @pagetable_setup_start: platform specific pre paging_init() call
74 * @pagetable_setup_done: platform specific post paging_init() call
75 */
76struct x86_init_paging {
77 void (*pagetable_setup_start)(pgd_t *base);
78 void (*pagetable_setup_done)(pgd_t *base);
79};
80
81/**
70 * struct x86_init_ops - functions for platform specific setup 82 * struct x86_init_ops - functions for platform specific setup
71 * 83 *
72 */ 84 */
@@ -75,6 +87,7 @@ struct x86_init_ops {
75 struct x86_init_mpparse mpparse; 87 struct x86_init_mpparse mpparse;
76 struct x86_init_irqs irqs; 88 struct x86_init_irqs irqs;
77 struct x86_init_oem oem; 89 struct x86_init_oem oem;
90 struct x86_init_paging paging;
78}; 91};
79 92
80extern struct x86_init_ops x86_init; 93extern struct x86_init_ops x86_init;