Rev 3150 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3150 | Rev 3168 | ||
---|---|---|---|
Line 32... | Line 32... | ||
32 | 32 | ||
33 | .globl __entry |
33 | .globl __entry |
34 | 34 | ||
35 | ## User-space task entry point |
35 | ## User-space task entry point |
36 | # |
36 | # |
- | 37 | # r3 contains the PCB pointer |
|
37 | # |
38 | # |
38 | __entry: |
39 | __entry: |
- | 40 | # Pass the PCB pointer to __main() as the first argument. |
|
- | 41 | # Since the first argument is passed in r3, no operation is needed. |
|
39 | bl __main |
42 | bl __main |
- | 43 | ||
40 | bl main |
44 | bl main |
41 | bl __exit |
45 | bl __exit |