// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * * ----------------------------------------------------------------------- */ /* * Memory detection code */ #include "boot.h" #define SMAP … static void detect_memory_e820(void) { … } static void detect_memory_e801(void) { … } static void detect_memory_88(void) { … } void detect_memory(void) { … }