#include <linux/efi.h>
#include <linux/memblock.h>
#include <linux/spinlock.h>
#include <linux/crash_dump.h>
#include <linux/nmi.h>
#include <asm/unaccepted_memory.h>
static DEFINE_SPINLOCK(unaccepted_memory_lock);
struct accept_range { … };
static LIST_HEAD(accepting_list);
void accept_memory(phys_addr_t start, unsigned long size)
{ … }
bool range_contains_unaccepted_memory(phys_addr_t start, unsigned long size)
{ … }
#ifdef CONFIG_PROC_VMCORE
static bool unaccepted_memory_vmcore_pfn_is_ram(struct vmcore_cb *cb,
unsigned long pfn)
{ … }
static struct vmcore_cb vmcore_cb = …;
static int __init unaccepted_memory_init_kdump(void)
{ … }
core_initcall(unaccepted_memory_init_kdump);
#endif