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