source: mainline/uspace/lib/c/arch/amd64/src/stacktrace_asm.S@ 8624d1f

Last change on this file since 8624d1f 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: 383 bytes
Line 
1/*
2 * SPDX-FileCopyrightText: 2009 Jakub Jermar
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include <abi/asmtool.h>
8
9.text
10
11FUNCTION_BEGIN(stacktrace_prepare)
12 ret
13FUNCTION_END(stacktrace_prepare)
14
15FUNCTION_BEGIN(stacktrace_fp_get)
16 movq %rbp, %rax
17 ret
18FUNCTION_END(stacktrace_fp_get)
19
20FUNCTION_BEGIN(stacktrace_pc_get)
21 movq (%rsp), %rax
22 ret
23FUNCTION_END(stacktrace_pc_get)
Note: See TracBrowser for help on using the repository browser.