source:
mainline/uspace/lib/c/arch/ppc32/src/thread_entry.S@
8fd0675f
| Last change on this file since 8fd0675f was cb7be8f, checked in by , 4 years ago | |
|---|---|
|
|
| File size: 327 bytes | |
| Line | |
|---|---|
| 1 | /* |
| 2 | * SPDX-FileCopyrightText: 2006 Martin Decky |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #include <abi/asmtool.h> |
| 8 | |
| 9 | .text |
| 10 | |
| 11 | ## User-space thread entry point for all but the first threads. |
| 12 | # |
| 13 | # |
| 14 | SYMBOL(__thread_entry) |
| 15 | # |
| 16 | # Create the first stack frame. |
| 17 | # |
| 18 | li %r4, 0 |
| 19 | stw %r4, 0(%r1) |
| 20 | stwu %r1, -16(%r1) |
| 21 | |
| 22 | b __thread_main |
| 23 |
Note:
See TracBrowser
for help on using the repository browser.
