Module Name: src Committed By: martin Date: Mon Feb 24 07:50:22 UTC 2014
Modified Files: src/sys/arch/emips/stand/common: prom_iface.c Log Message: Add missing prototypes To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/emips/stand/common/prom_iface.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/emips/stand/common/prom_iface.c diff -u src/sys/arch/emips/stand/common/prom_iface.c:1.1 src/sys/arch/emips/stand/common/prom_iface.c:1.2 --- src/sys/arch/emips/stand/common/prom_iface.c:1.1 Wed Jan 26 01:18:54 2011 +++ src/sys/arch/emips/stand/common/prom_iface.c Mon Feb 24 07:50:22 2014 @@ -58,7 +58,9 @@ void epmc_halt(void); void save_locore(void); void restore_locore(void); - +void *nope(void); +void real_halt(void*); +void halt(int *unused, int howto); void *nope(void) {return NULL;} int getchar(void){return GetChar();} @@ -247,7 +249,7 @@ int init_memory(void) /* Make sure we know */ DoneFirst: if ((First == NULL) || (Ours == NULL)) { - printf("Bad memory layout (%x,%x), wont work.\n", First, Ours); + printf("Bad memory layout (%p,%p), wont work.\n", First, Ours); return 0; }