Skip to content

Commit

Permalink
Use rtas-start-cpu from common code folder.
Browse files Browse the repository at this point in the history
No need to redefine rtas-start-cpu in the board-qemu folder again, we can use
the function from the common code folder instead.

Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
  • Loading branch information
huth committed Apr 25, 2012
1 parent 5c79eb0 commit 8835553
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions board-qemu/slof/rtas.fs
Expand Up @@ -80,18 +80,7 @@ find-qemu-rtas
;

#include <rtas/rtas-reboot.fs>

: rtas-start-cpu ( pid loc r3 -- status )
" start-cpu" rtas-get-token rtas-cb rtas>token l!
3 rtas-cb rtas>nargs l!
1 rtas-cb rtas>nret l!
rtas-cb rtas>args2 l!
rtas-cb rtas>args1 l!
rtas-cb rtas>args0 l!
0 rtas-cb rtas>args3 l!
enter-rtas
rtas-cb rtas>args3 l@
;
#include <rtas/rtas-cpu.fs>

: rtas-set-tce-bypass ( unit enable -- )
" ibm,set-tce-bypass" rtas-get-token rtas-cb rtas>token l!
Expand Down

0 comments on commit 8835553

Please sign in to comment.