![]() |
|
|||
0001 /* 0002 * arch/arm64/include/asm/dmi.h 0003 * 0004 * Copyright (C) 2013 Linaro Limited. 0005 * Written by: Yi Li (yi.li@linaro.org) 0006 * 0007 * based on arch/ia64/include/asm/dmi.h 0008 * 0009 * This file is subject to the terms and conditions of the GNU General Public 0010 * License. See the file "COPYING" in the main directory of this archive 0011 * for more details. 0012 */ 0013 0014 #ifndef __ASM_DMI_H 0015 #define __ASM_DMI_H 0016 0017 #include <linux/io.h> 0018 #include <linux/slab.h> 0019 0020 /* 0021 * According to section 2.3.6 of the UEFI spec, the firmware should not 0022 * request a virtual mapping for configuration tables such as SMBIOS. 0023 * This means we have to map them before use. 0024 */ 0025 #define dmi_early_remap(x, l) ioremap_cache(x, l) 0026 #define dmi_early_unmap(x, l) iounmap(x) 0027 #define dmi_remap(x, l) ioremap_cache(x, l) 0028 #define dmi_unmap(x) iounmap(x) 0029 #define dmi_alloc(l) kzalloc(l, GFP_KERNEL) 0030 0031 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |