Thomas Gleixner | 57844a8 | 2009-08-19 14:48:38 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2009 Thomas Gleixner <tglx@linutronix.de> |
| 3 | * |
| 4 | * For licencing details see kernel-base/COPYING |
| 5 | */ |
| 6 | #include <linux/init.h> |
| 7 | |
Thomas Gleixner | 816c25e | 2009-08-19 14:36:27 +0200 | [diff] [blame] | 8 | #include <asm/bios_ebda.h> |
Thomas Gleixner | 8fee697 | 2009-08-19 14:55:50 +0200 | [diff] [blame] | 9 | #include <asm/setup.h> |
Thomas Gleixner | 6b18ae3 | 2009-08-20 10:19:54 +0200 | [diff] [blame] | 10 | #include <asm/e820.h> |
Thomas Gleixner | 57844a8 | 2009-08-19 14:48:38 +0200 | [diff] [blame] | 11 | |
| 12 | void __cpuinit x86_init_noop(void) { } |
Thomas Gleixner | f484847 | 2009-08-20 12:05:01 +0200 | [diff] [blame^] | 13 | void __init x86_init_uint_noop(unsigned int unused) { } |
Thomas Gleixner | 57844a8 | 2009-08-19 14:48:38 +0200 | [diff] [blame] | 14 | |
| 15 | /* |
| 16 | * The platform setup functions are preset with the default functions |
| 17 | * for standard PC hardware. |
| 18 | */ |
| 19 | struct __initdata x86_init_ops x86_init = { |
Thomas Gleixner | f7cf5a5 | 2009-08-19 14:43:56 +0200 | [diff] [blame] | 20 | |
| 21 | .resources = { |
| 22 | .probe_roms = x86_init_noop, |
Thomas Gleixner | 8fee697 | 2009-08-19 14:55:50 +0200 | [diff] [blame] | 23 | .reserve_resources = reserve_standard_io_resources, |
Thomas Gleixner | 816c25e | 2009-08-19 14:36:27 +0200 | [diff] [blame] | 24 | .reserve_ebda_region = reserve_ebda_region, |
Thomas Gleixner | 6b18ae3 | 2009-08-20 10:19:54 +0200 | [diff] [blame] | 25 | .memory_setup = default_machine_specific_memory_setup, |
Thomas Gleixner | f7cf5a5 | 2009-08-19 14:43:56 +0200 | [diff] [blame] | 26 | }, |
Thomas Gleixner | f484847 | 2009-08-20 12:05:01 +0200 | [diff] [blame^] | 27 | |
| 28 | .mpparse = { |
| 29 | .mpc_record = x86_init_uint_noop, |
| 30 | }, |
Thomas Gleixner | 57844a8 | 2009-08-19 14:48:38 +0200 | [diff] [blame] | 31 | }; |