aboutsummaryrefslogtreecommitdiffstats
path: root/com32/include/sys
diff options
context:
space:
mode:
Diffstat (limited to 'com32/include/sys')
-rw-r--r--com32/include/sys/exec.h3
-rw-r--r--com32/include/sys/module.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/com32/include/sys/exec.h b/com32/include/sys/exec.h
index 7b3a9a0c..d76ae74c 100644
--- a/com32/include/sys/exec.h
+++ b/com32/include/sys/exec.h
@@ -9,6 +9,7 @@
#define EXEC_H_
#include <sys/module.h>
+#include <stdlib.h>
/**
* EXEC_ROOT_NAME - The name of the ELF module associated with the COM32 module.
@@ -41,7 +42,7 @@
* loaded by the lower module layer gets to be executed by the CPU,
* thus becoming part of the SYSLINUX environment.
*/
-extern int exec_init();
+extern int exec_init(size_t root_addr);
/**
diff --git a/com32/include/sys/module.h b/com32/include/sys/module.h
index e09f1bf8..97f7ce09 100644
--- a/com32/include/sys/module.h
+++ b/com32/include/sys/module.h
@@ -229,7 +229,7 @@ extern int module_load(struct elf_module *module);
* Its current use is to describe the root COM32 module to the rest of the
* module subsystem.
*/
-extern int module_load_shallow(struct elf_module *module);
+extern int module_load_shallow(struct elf_module *module, Elf32_Off offset);
/**
* module_unload - unloads the module from the system.