2006-06-10 01:37:53 +00:00
|
|
|
/* 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.
|
|
|
|
|
*/
|
|
|
|
|
|
2008-11-30 11:54:01 +00:00
|
|
|
// linux_load.c
|
2006-06-10 01:37:53 +00:00
|
|
|
int linux_load(struct sys_info *info, const char *file, const char *cmdline);
|
|
|
|
|
|
2008-11-30 11:54:01 +00:00
|
|
|
// context.c
|
2009-07-11 12:25:26 +00:00
|
|
|
extern struct context * volatile __context;
|
2008-11-30 11:54:01 +00:00
|
|
|
uint64_t start_elf(uint64_t entry_point, uint64_t param);
|
2009-07-11 12:25:26 +00:00
|
|
|
uint64_t start_client_image(uint64_t entry_point, uint64_t cif_handler);
|
2006-06-10 01:37:53 +00:00
|
|
|
|
2008-11-30 11:54:01 +00:00
|
|
|
// boot.c
|
2007-11-14 19:25:43 +00:00
|
|
|
extern uint64_t kernel_image;
|
|
|
|
|
extern uint64_t kernel_size;
|
2008-07-07 18:36:16 +00:00
|
|
|
extern uint64_t qemu_cmdline;
|
2007-11-14 19:25:43 +00:00
|
|
|
extern uint64_t cmdline_size;
|
|
|
|
|
extern char boot_device;
|
2010-04-02 13:29:12 +00:00
|
|
|
extern void boot(void);
|
|
|
|
|
extern void go(void);
|
2008-11-30 11:54:01 +00:00
|
|
|
|
2008-12-20 18:36:23 +00:00
|
|
|
// sys_info.c
|
2009-08-04 20:37:36 +00:00
|
|
|
extern uint64_t qemu_mem_size;
|
2010-03-14 16:09:44 +00:00
|
|
|
extern void collect_sys_info(struct sys_info *info);
|
2008-12-20 18:36:23 +00:00
|
|
|
|
2008-11-30 11:54:01 +00:00
|
|
|
// console.c
|
2008-07-15 15:04:02 +00:00
|
|
|
void ob_su_init(uint64_t base, uint64_t offset, int intr);
|
2010-03-14 20:10:01 +00:00
|
|
|
void cls(void);
|
2009-01-04 12:53:26 +00:00
|
|
|
|
|
|
|
|
// lib.c
|
|
|
|
|
void ob_mmu_init(const char *cpuname, uint64_t ram_size);
|