xref: /haiku/src/system/libroot/os/arch/x86_64/get_stack_frame.S (revision 899e0ef82b5624ace2ccfa5f5a58c8ebee54aaef)
1/*
2 * Copyright 2012, Alex Smith, alex@alex-smith.me.uk.
3 * Distributed under the terms of the MIT License.
4*/
5
6
7#include <asm_defs.h>
8
9
10/* void* get_stack_frame(void) */
11FUNCTION(get_stack_frame):
12	movq	%rbp, %rax
13	ret
14FUNCTION_END(get_stack_frame)
15
16