aboutsummaryrefslogtreecommitdiff
path: root/tip22/tftpload.c
diff options
context:
space:
mode:
authorFlorian Lohoff <flo@rfc822.org>2008-10-04 16:31:56 +0000
committerGuido Günther <agx@sigxcpu.org>2009-04-26 15:26:26 +0200
commit9a9e8c11088f1772eb7070e4e1ab1c8d5b4bc528 (patch)
tree9b0c01df2766be5c4bab905b61c8aa63e028f169 /tip22/tftpload.c
parent88aacc5ec96304a23c4d33ac3cdc71985f099c72 (diff)
Abstract cache flush, reset and interactive
Diffstat (limited to 'tip22/tftpload.c')
-rw-r--r--tip22/tftpload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tip22/tftpload.c b/tip22/tftpload.c
index c438401..2d649a0 100644
--- a/tip22/tftpload.c
+++ b/tip22/tftpload.c
@@ -266,7 +266,7 @@ void _start(LONG argc, CHAR * argv[], CHAR * envp[])
#endif
/* Finally jump into the kernel */
printf("Starting kernel...\n\r");
- ArcFlushAllCaches();
+ prom_flush_cache_all();
if( kernel_entry )
(*kernel_entry)(nargc ,nargv, envp);
else
@@ -275,5 +275,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();
}