Files
openbios/arch/sparc64/boot.h
Mark Cave-Ayland 43fe2ac4e8 Move a.out loader into the new C load implementation (also fix up the header includes in load.c).
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@801 f158a5a8-5612-0410-a976-696ce0be7e32
2010-06-27 14:00:37 +00:00

36 lines
943 B
C

/* tag: openbios loader prototypes for sparc64
*
* Copyright (C) 2004 Stefan Reinauer
*
* See the file "COPYING" for further information about
* the copyright and warranty status of this work.
*/
// linux_load.c
int linux_load(struct sys_info *info, const char *file, const char *cmdline);
// context.c
extern struct context * volatile __context;
uint64_t start_elf(uint64_t entry_point, uint64_t param);
uint64_t start_client_image(uint64_t entry_point, uint64_t cif_handler);
// boot.c
extern uint64_t kernel_image;
extern uint64_t kernel_size;
extern uint64_t qemu_cmdline;
extern uint64_t cmdline_size;
extern char boot_device;
extern void boot(void);
extern void go(void);
// sys_info.c
extern uint64_t qemu_mem_size;
extern void collect_sys_info(struct sys_info *info);
// console.c
void ob_su_init(uint64_t base, uint64_t offset, int intr);
void cls(void);
// lib.c
void ob_mmu_init(const char *cpuname, uint64_t ram_size);