xref: /haiku/src/system/libroot/os/arch/x86/get_stack_frame.S (revision 1214ef1b2100f2b3299fc9d8d6142e46f70a4c3f)
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