1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright 2007 Red Hat, Inc.
4 * by Peter Jones <pjones@redhat.com>
5 * Copyright 2007 IBM, Inc.
6 * by Konrad Rzeszutek <konradr@linux.vnet.ibm.com>
8 * by Konrad Rzeszutek <ketuzsezr@darnok.org>
10 * This code exposes the iSCSI Boot Format Table to userland via sysfs.
16 #include <linux/acpi.h>
19 * Logical location of iSCSI Boot Format Table.
20 * If the value is NULL there is no iBFT on the machine.
22 extern struct acpi_table_ibft *ibft_addr;
25 * Routine used to find and reserve the iSCSI Boot Format Table. The
26 * mapped address is set in the ibft_addr variable.
28 #ifdef CONFIG_ISCSI_IBFT_FIND
29 unsigned long find_ibft_region(unsigned long *sizep);
31 static inline unsigned long find_ibft_region(unsigned long *sizep)
38 #endif /* ISCSI_IBFT_H */