Rev 3424 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3424 | Rev 3425 | ||
---|---|---|---|
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 | # %rdi contains the PCB pointer |
|
37 | # |
38 | # |
38 | __entry: |
39 | __entry: |
- | 40 | # %rdi was deliberately chosen as the first argument is also in %rdi |
|
- | 41 | # Pass PCB pointer to __main (no operation) |
|
39 | call __main |
42 | call __main |
40 | call main |
43 | |
41 | call __exit |
44 | call __exit |