blob: 27685edc5460da0efd671b29aa87c9a96b576537 [file] [log] [blame]
Thomas Gleixner57844a82009-08-19 14:48:38 +02001/*
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 Gleixner816c25e2009-08-19 14:36:27 +02008#include <asm/bios_ebda.h>
Thomas Gleixnerfd6c6662009-08-20 10:41:58 +02009#include <asm/mpspec.h>
Thomas Gleixner8fee6972009-08-19 14:55:50 +020010#include <asm/setup.h>
Thomas Gleixner6b18ae32009-08-20 10:19:54 +020011#include <asm/e820.h>
Thomas Gleixner57844a82009-08-19 14:48:38 +020012
13void __cpuinit x86_init_noop(void) { }
Thomas Gleixnerf4848472009-08-20 12:05:01 +020014void __init x86_init_uint_noop(unsigned int unused) { }
Thomas Gleixner57844a82009-08-19 14:48:38 +020015
16/*
17 * The platform setup functions are preset with the default functions
18 * for standard PC hardware.
19 */
20struct __initdata x86_init_ops x86_init = {
Thomas Gleixnerf7cf5a52009-08-19 14:43:56 +020021
22 .resources = {
23 .probe_roms = x86_init_noop,
Thomas Gleixner8fee6972009-08-19 14:55:50 +020024 .reserve_resources = reserve_standard_io_resources,
Thomas Gleixner816c25e2009-08-19 14:36:27 +020025 .reserve_ebda_region = reserve_ebda_region,
Thomas Gleixner6b18ae32009-08-20 10:19:54 +020026 .memory_setup = default_machine_specific_memory_setup,
Thomas Gleixnerf7cf5a52009-08-19 14:43:56 +020027 },
Thomas Gleixnerf4848472009-08-20 12:05:01 +020028
29 .mpparse = {
30 .mpc_record = x86_init_uint_noop,
Thomas Gleixnerde934102009-08-20 09:27:29 +020031 .setup_ioapic_ids = x86_init_noop,
Thomas Gleixnerfd6c6662009-08-20 10:41:58 +020032 .mpc_apic_id = default_mpc_apic_id,
Thomas Gleixner72302142009-08-20 12:18:32 +020033 .smp_read_mpc_oem = default_smp_read_mpc_oem,
Thomas Gleixner90e1c692009-08-20 12:34:47 +020034 .mpc_oem_bus_info = default_mpc_oem_bus_info,
Thomas Gleixnerf4848472009-08-20 12:05:01 +020035 },
Thomas Gleixner57844a82009-08-19 14:48:38 +020036};