x86_init.h 657 字节
Newer Older
1 2 3
#ifndef _ASM_X86_PLATFORM_H
#define _ASM_X86_PLATFORM_H

4 5 6
/**
 * struct x86_init_resources - platform specific resource related ops
 * @probe_roms:			probe BIOS roms
7 8
 * @reserve_resources:		reserve the standard resources for the
 *				platform
9
 * @reserve_ebda_region:	reserve the extended bios data area
10 11 12 13
 *
 */
struct x86_init_resources {
	void (*probe_roms)(void);
14
	void (*reserve_resources)(void);
15
	void (*reserve_ebda_region)(void);
16 17
};

18 19 20 21 22
/**
 * struct x86_init_ops - functions for platform specific setup
 *
 */
struct x86_init_ops {
23
	struct x86_init_resources resources;
24 25 26 27 28 29 30
};

extern struct x86_init_ops x86_init;

extern void x86_init_noop(void);

#endif