2 * arch/arm64/include/asm/dmi.h
4 * Copyright (C) 2013 Linaro Limited.
5 * Written by: Yi Li (yi.li@linaro.org)
7 * based on arch/ia64/include/asm/dmi.h
9 * This file is subject to the terms and conditions of the GNU General Public
10 * License. See the file "COPYING" in the main directory of this archive
18 #include <linux/slab.h>
21 * According to section 2.3.6 of the UEFI spec, the firmware should not
22 * request a virtual mapping for configuration tables such as SMBIOS.
23 * This means we have to map them before use.
25 #define dmi_early_remap(x, l) ioremap_cache(x, l)
26 #define dmi_early_unmap(x, l) iounmap(x)
27 #define dmi_remap(x, l) ioremap_cache(x, l)
28 #define dmi_unmap(x) iounmap(x)
29 #define dmi_alloc(l) kzalloc(l, GFP_KERNEL)