Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
Something went wrong. Try again.
C
1234567891011121314151617181920212223242526272829303132333435363738394041/* SPDX-License-Identifier: GPL-2.0-only *//* * include/linux/firmware-map.h: * Copyright (C) 2008 SUSE LINUX Products GmbH * by Bernhard Walle <bernhard.walle@gmx.de> */#ifndef _LINUX_FIRMWARE_MAP_H#define _LINUX_FIRMWARE_MAP_H
#include <linux/list.h>
/* * provide a dummy interface if CONFIG_FIRMWARE_MEMMAP is disabled */#ifdef CONFIG_FIRMWARE_MEMMAP
int firmware_map_add_early(u64 start, u64 end, const char *type);int firmware_map_add_hotplug(u64 start, u64 end, const char *type);int firmware_map_remove(u64 start, u64 end, const char *type);
#else /* CONFIG_FIRMWARE_MEMMAP */
static inline int firmware_map_add_early(u64 start, u64 end, const char *type){ return 0;}
static inline int firmware_map_add_hotplug(u64 start, u64 end, const char *type){ return 0;}
static inline int firmware_map_remove(u64 start, u64 end, const char *type){ return 0;}
#endif /* CONFIG_FIRMWARE_MEMMAP */
#endif /* _LINUX_FIRMWARE_MAP_H */