linux/mm/memtest.c

// SPDX-License-Identifier: GPL-2.0
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/memblock.h>
#include <linux/seq_file.h>

static bool early_memtest_done;
static phys_addr_t early_memtest_bad_size;

static u64 patterns[] __initdata =;

static void __init reserve_bad_mem(u64 pattern, phys_addr_t start_bad, phys_addr_t end_bad)
{}

static void __init memtest(u64 pattern, phys_addr_t start_phys, phys_addr_t size)
{}

static void __init do_one_pass(u64 pattern, phys_addr_t start, phys_addr_t end)
{}

/* default is disabled */
static unsigned int memtest_pattern __initdata;

static int __init parse_memtest(char *arg)
{}

early_param();

void __init early_memtest(phys_addr_t start, phys_addr_t end)
{}

void memtest_report_meminfo(struct seq_file *m)
{}