linux/arch/x86/kernel/x86_init.c

/*
 * Copyright (C) 2009 Thomas Gleixner <[email protected]>
 *
 *  For licencing details see kernel-base/COPYING
 */
#include <linux/dmi.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/export.h>
#include <linux/pci.h>
#include <linux/acpi.h>

#include <asm/acpi.h>
#include <asm/bios_ebda.h>
#include <asm/paravirt.h>
#include <asm/pci_x86.h>
#include <asm/mpspec.h>
#include <asm/setup.h>
#include <asm/apic.h>
#include <asm/e820/api.h>
#include <asm/time.h>
#include <asm/irq.h>
#include <asm/io_apic.h>
#include <asm/hpet.h>
#include <asm/memtype.h>
#include <asm/tsc.h>
#include <asm/iommu.h>
#include <asm/mach_traps.h>
#include <asm/irqdomain.h>
#include <asm/realmode.h>

void x86_init_noop(void) {}
void __init x86_init_uint_noop(unsigned int unused) {}
static int __init iommu_init_noop(void) {}
static void iommu_shutdown_noop(void) {}
bool __init bool_x86_init_noop(void) {}
void x86_op_int_noop(int cpu) {}
int set_rtc_noop(const struct timespec64 *now) {}
void get_rtc_noop(struct timespec64 *now) {}

static __initconst const struct of_device_id of_cmos_match[] =;

/*
 * Allow devicetree configured systems to disable the RTC by setting the
 * corresponding DT node's status property to disabled. Code is optimized
 * out for CONFIG_OF=n builds.
 */
static __init void x86_wallclock_init(void)
{}

/*
 * The platform setup functions are preset with the default functions
 * for standard PC hardware.
 */
struct x86_init_ops x86_init __initdata =;

struct x86_cpuinit_ops x86_cpuinit =;

static void default_nmi_init(void) { };

static int enc_status_change_prepare_noop(unsigned long vaddr, int npages, bool enc) {}
static int enc_status_change_finish_noop(unsigned long vaddr, int npages, bool enc) {}
static bool enc_tlb_flush_required_noop(bool enc) {}
static bool enc_cache_flush_required_noop(void) {}
static void enc_kexec_begin_noop(void) {}
static void enc_kexec_finish_noop(void) {}
static bool is_private_mmio_noop(u64 addr) {}

struct x86_platform_ops x86_platform __ro_after_init =;

EXPORT_SYMBOL_GPL();

struct x86_apic_ops x86_apic_ops __ro_after_init =;