blob: 6c084f2a6c3f3ac583ecb96e735da46d7ca369c9 [file] [log] [blame]
Thomas Gleixner57844a82009-08-19 14:48:38 +02001#ifndef _ASM_X86_PLATFORM_H
2#define _ASM_X86_PLATFORM_H
3
4/**
Thomas Gleixnerf7cf5a52009-08-19 14:43:56 +02005 * struct x86_init_resources - platform specific resource related ops
6 * @probe_roms: probe BIOS roms
Thomas Gleixner8fee6972009-08-19 14:55:50 +02007 * @reserve_resources: reserve the standard resources for the
8 * platform
Thomas Gleixner816c25e2009-08-19 14:36:27 +02009 * @reserve_ebda_region: reserve the extended bios data area
Thomas Gleixner6b18ae32009-08-20 10:19:54 +020010 * @memory_setup: platform specific memory setup
Thomas Gleixnerf7cf5a52009-08-19 14:43:56 +020011 *
12 */
13struct x86_init_resources {
14 void (*probe_roms)(void);
Thomas Gleixner8fee6972009-08-19 14:55:50 +020015 void (*reserve_resources)(void);
Thomas Gleixner816c25e2009-08-19 14:36:27 +020016 void (*reserve_ebda_region)(void);
Thomas Gleixner6b18ae32009-08-20 10:19:54 +020017 char *(*memory_setup)(void);
Thomas Gleixnerf7cf5a52009-08-19 14:43:56 +020018};
19
20/**
Thomas Gleixner57844a82009-08-19 14:48:38 +020021 * struct x86_init_ops - functions for platform specific setup
22 *
23 */
24struct x86_init_ops {
Thomas Gleixnerf7cf5a52009-08-19 14:43:56 +020025 struct x86_init_resources resources;
Thomas Gleixner57844a82009-08-19 14:48:38 +020026};
27
28extern struct x86_init_ops x86_init;
29
30extern void x86_init_noop(void);
31
32#endif