Last change
on this file since cb7be8f was cb7be8f, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 3 years ago |
Update headers in .S files that incorrectly use #-style comments
|
-
Property mode
set to
100644
|
File size:
405 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 | .org 0
|
---|
12 |
|
---|
13 | ## User-space task entry point
|
---|
14 | #
|
---|
15 | # %o0 contains uarg
|
---|
16 | # %o1 contains pcb_ptr
|
---|
17 | #
|
---|
18 | SYMBOL(_start)
|
---|
19 | #
|
---|
20 | # Create the first stack frame.
|
---|
21 | #
|
---|
22 | save %sp, -176, %sp
|
---|
23 | flushw
|
---|
24 | add %g0, -0x7ff, %fp
|
---|
25 |
|
---|
26 | # Pass pcb_ptr as the first argument to __c_start()
|
---|
27 | call __c_start
|
---|
28 | mov %i1, %o0
|
---|
Note:
See
TracBrowser
for help on using the repository browser.