Subversion Repositories HelenOS

Rev

Rev 3157 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3157 Rev 3169
Line 26... Line 26...
26
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
#
27
#
28
 
28
 
29
.globl program_run
29
.globl program_run
30
 
30
 
31
## void program_run(uintptr_t entry_point);
31
## void program_run(void *entry_point, void *pcb);
-
 
32
#
-
 
33
# r0	contains entry_point
-
 
34
# r1	contains pcb
32
#
35
#
33
# Jump to a program entry point
36
# Jump to a program entry point
34
program_run:
37
program_run:
-
 
38
	# pcb is passed to the entry point in r1 (where it already is)
35
	mov r15, r0
39
	mov r15, r0