Rev 1862 | Rev 1864 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1862 | Rev 1863 | ||
|---|---|---|---|
| Line 511... | Line 511... | ||
| 511 | * prior to calling this function. Register window management functions are not |
511 | * prior to calling this function. Register window management functions are not |
| 512 | * allowed to modify the alternate global registers. |
512 | * allowed to modify the alternate global registers. |
| 513 | * |
513 | * |
| 514 | * Input registers: |
514 | * Input registers: |
| 515 | * %g1 Address of function to call. |
515 | * %g1 Address of function to call. |
| 516 | * %g2 Argument for the function. |
516 | * %g2 First argument for the function. |
| 517 | * %g6 Pre-set as kernel stack base if trap from userspace. |
517 | * %g6 Pre-set as kernel stack base if trap from userspace. |
| 518 | * %g7 Pre-set as address of the userspace window buffer. |
518 | * %g7 Pre-set as address of the userspace window buffer. |
| 519 | */ |
519 | */ |
| 520 | .macro PREEMPTIBLE_HANDLER_TEMPLATE is_syscall |
520 | .macro PREEMPTIBLE_HANDLER_TEMPLATE is_syscall |
| 521 | .if NOT(\is_syscall) |
521 | .if NOT(\is_syscall) |