diff options
| author | Benno Rice <benno@FreeBSD.org> | 2001-10-07 13:22:25 +0000 |
|---|---|---|
| committer | Benno Rice <benno@FreeBSD.org> | 2001-10-07 13:22:25 +0000 |
| commit | cae2c81dc27265d4e229dda3ba9acec162571571 (patch) | |
| tree | e41d72af3d7b410a29de1cb1506f5f96b1102823 /sys/boot/ofw/libofw/libofw.h | |
| parent | f2eeb19063ee23a8b925d26227d51f8e9a6b8671 (diff) | |
Notes
Diffstat (limited to 'sys/boot/ofw/libofw/libofw.h')
| -rw-r--r-- | sys/boot/ofw/libofw/libofw.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sys/boot/ofw/libofw/libofw.h b/sys/boot/ofw/libofw/libofw.h index e564417ab033..dcb0b0e6e958 100644 --- a/sys/boot/ofw/libofw/libofw.h +++ b/sys/boot/ofw/libofw/libofw.h @@ -82,6 +82,24 @@ int ofw_devicetype(char *); extern int ofw_boot(void); extern int ofw_autoload(void); +void ofw_memmap(void); +void *ofw_alloc_heap(unsigned int); +void ofw_release_heap(void); + +struct preloaded_file; +struct file_format; + +int ofw_elf_loadfile(char *, vm_offset_t, struct preloaded_file **); +int ofw_elf_exec(struct preloaded_file *); + +extern struct file_format ofw_elf; + extern void reboot(void); extern int main(int (*openfirm)(void *)); + +struct ofw_reg +{ + uint32_t base; + uint32_t size; +}; |
