xref: /haiku/src/system/libroot/os/arch/x86/get_stack_frame.S (revision 4f00613311d0bd6b70fa82ce19931c41f071ea4e)
1/*
2 * Copyright 2005, Ingo Weinhold, bonefish@users.sf.net. All rights reserved.
3 * Distributed under the terms of the MIT License.
4*/
5
6#define FUNCTION(x) .global x; .type x,@function; x
7
8/* void *get_stack_frame() */
9FUNCTION(get_stack_frame):
10	mov		%ebp, %eax
11	ret
12