source: mainline/kernel/arch/amd64/src/debug/stacktrace_asm.S@ cb7be8f

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: 313 bytes
Line 
1/*
2 * SPDX-FileCopyrightText: 2010 Jakub Jermar
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include <abi/asmtool.h>
8
9.text
10
11FUNCTION_BEGIN(frame_pointer_get)
12 movq %rbp, %rax
13 ret
14FUNCTION_END(frame_pointer_get)
15
16FUNCTION_BEGIN(program_counter_get)
17 movq (%rsp), %rax
18 ret
19FUNCTION_END(program_counter_get)
Note: See TracBrowser for help on using the repository browser.