Rev 3094 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3094 | Rev 3222 | ||
---|---|---|---|
Line 32... | Line 32... | ||
32 | 32 | ||
33 | .global __entry |
33 | .global __entry |
34 | 34 | ||
35 | ## User-space task entry point |
35 | ## User-space task entry point |
36 | # |
36 | # |
- | 37 | # r1 contains the PCB pointer |
|
37 | # |
38 | # |
38 | __entry: |
39 | __entry: |
- | 40 | # Pass pcb_ptr to __main as the first argument (in r0) |
|
- | 41 | mov r0, r1 |
|
39 | bl __main |
42 | bl __main |
40 | bl main |
43 | |
41 | bl __exit |
44 | bl __exit |