aboutsummaryrefslogtreecommitdiff
path: root/include/helpers.h
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2018-05-26 08:06:05 +0200
committerAlexey Kardashevskiy <aik@ozlabs.ru>2018-05-29 19:06:45 +1000
commit08e22e4019030b2f643f65c192c64f3a939fec24 (patch)
tree31b73ab866e1b205282a8a74d8b483f67cda1587 /include/helpers.h
parent696e2036f44788769038e998a4465dfe58906d29 (diff)
downloadSLOF-08e22e4019030b2f643f65c192c64f3a939fec24.zip
SLOF-08e22e4019030b2f643f65c192c64f3a939fec24.tar.gz
SLOF-08e22e4019030b2f643f65c192c64f3a939fec24.tar.bz2
libnet: Wire up pxelinux.cfg network booting
In case the normal network loading failed, try to load a pxelinux.cfg config file. If that succeeds, load the kernel and initrd with the information that could be found in this file. Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'include/helpers.h')
-rw-r--r--include/helpers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/helpers.h b/include/helpers.h
index 04ee771..9dfe3ae 100644
--- a/include/helpers.h
+++ b/include/helpers.h
@@ -36,6 +36,8 @@ extern void SLOF_pci_config_write16(long offset, long value);
extern void SLOF_pci_config_write8(long offset, long value);
extern void *SLOF_translate_my_address(void *addr);
extern int write_mm_log(char *data, unsigned int len, unsigned short type);
+extern void SLOF_set_chosen_int(const char *s, long val);
+extern void SLOF_set_chosen_bytes(const char *s, const char *addr, size_t size);
extern void SLOF_encode_bootp_response(void *addr, size_t size);
extern void SLOF_encode_dhcp_response(void *addr, size_t size);