Mercurial > hvf > hvf-old
changeset 450:f31e16f52141
installer: mark wto/wtor and {ipl,con,dasd}_sch as extern
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
author | Josef 'Jeff' Sipek <jeffpc@josefsipek.net> |
---|---|
date | Sat, 26 Feb 2011 23:55:30 -0500 |
parents | deec16975d42 |
children | a5fd583f2d3b |
files | installer/loader.h installer/loader_c.c |
diffstat | 2 files changed, 10 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/installer/loader.h Sat Feb 26 23:51:44 2011 -0500 +++ b/installer/loader.h Sat Feb 26 23:55:30 2011 -0500 @@ -183,6 +183,9 @@ #define ADDR31(x) ((u32) (u64) (x)) +extern void wto(char *str); +extern void wtor(char *str, char *inp, int buflen); + extern int __do_io(u32 sch); extern void __wait_for_attn(); extern void PGMHANDLER(); @@ -192,6 +195,10 @@ extern struct orb ORB; +extern u64 ipl_sch; +extern u64 con_sch; +extern u64 dasd_sch; + static inline int store_sch(u32 sch, struct schib *schib) { int cc;
--- a/installer/loader_c.c Sat Feb 26 23:51:44 2011 -0500 +++ b/installer/loader_c.c Sat Feb 26 23:55:30 2011 -0500 @@ -27,9 +27,9 @@ 0x0000000180000000ULL, (u64) &PGMHANDLER, }; -static u64 ipl_sch; -static u64 con_sch; -static u64 dasd_sch; +u64 ipl_sch; +u64 con_sch; +u64 dasd_sch; #if 0 static void read_blk(void *ptr, u32 lba)