x86_init.h 560 字节
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 10 11 12
 *
 */
struct x86_init_resources {
	void (*probe_roms)(void);
13
	void (*reserve_resources)(void);
14 15
};

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

extern struct x86_init_ops x86_init;

extern void x86_init_noop(void);

#endif