diff options
Diffstat (limited to 'usr/fwparam_ibft/fwparam.h')
-rw-r--r-- | usr/fwparam_ibft/fwparam.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/usr/fwparam_ibft/fwparam.h b/usr/fwparam_ibft/fwparam.h new file mode 100644 index 0000000..141def7 --- /dev/null +++ b/usr/fwparam_ibft/fwparam.h @@ -0,0 +1,32 @@ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, + * USA. + */ +#ifndef FWPARAM_H_ +#define FWPARAM_H_ + +#include <stdint.h> +#include "fw_context.h" + +#define FILENAMESZ (1024) + +struct boot_context; + +int fwparam_sysfs_boot_info(struct boot_context *context); +int fwparam_sysfs_get_targets(struct list_head *list); +int fwparam_ppc_boot_info(struct boot_context *context); +int fwparam_ppc_get_targets(struct list_head *list); + +#endif /* FWPARAM_IBFT_H_ */ |