diff options
author | Florian Lohoff <flo@rfc822.org> | 2008-10-04 16:31:56 +0000 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2009-04-26 15:26:26 +0200 |
commit | 9a9e8c11088f1772eb7070e4e1ab1c8d5b4bc528 (patch) | |
tree | 9b0c01df2766be5c4bab905b61c8aa63e028f169 /ext2load/loader.c | |
parent | 88aacc5ec96304a23c4d33ac3cdc71985f099c72 (diff) |
Abstract cache flush, reset and interactive
Diffstat (limited to 'ext2load/loader.c')
-rw-r--r-- | ext2load/loader.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext2load/loader.c b/ext2load/loader.c index f4c06c6..1995b44 100644 --- a/ext2load/loader.c +++ b/ext2load/loader.c @@ -538,12 +538,12 @@ void _start(LONG argc, CHAR *argv[], CHAR *envp[]) if( kernel_entry64 ) { if(is64==0){ printf("Starting ELF32 kernel\n\r"); - ArcFlushAllCaches(); + prom_flush_cache_all(); ((void (*)(int argc, CHAR * argv[], CHAR * envp[])) kernel_entry32)(nargc ,nargv, envp); } else { printf("Starting ELF64 kernel\n\r"); - ArcFlushAllCaches(); + prom_flush_cache_all(); _start64(nargc, nargv, envp, &kernel_entry64); } } else { @@ -552,5 +552,5 @@ void _start(LONG argc, CHAR *argv[], CHAR *envp[]) /* Not likely to get back here in a functional state, but what the heck */ prom_wait("\n\r--- Press <spacebar> to restart ---"); - ArcRestart(); + prom_restart(); } |