Rev 3153 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3153 | Rev 3168 | ||
---|---|---|---|
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 |
- | 43 | ||
40 | bl main |
44 | bl main |
41 | bl __exit |
45 | bl __exit |