Added get_stack_frame().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10929 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -3,6 +3,7 @@ SubDir OBOS_TOP src kernel libroot os arch x86 ;
|
|||||||
KernelMergeObject os_arch_$(OBOS_ARCH).o :
|
KernelMergeObject os_arch_$(OBOS_ARCH).o :
|
||||||
atomic.S
|
atomic.S
|
||||||
byteorder.S
|
byteorder.S
|
||||||
|
get_stack_frame.S
|
||||||
system_info.c
|
system_info.c
|
||||||
system_time.S
|
system_time.S
|
||||||
thread.c
|
thread.c
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2003, Ingo Weinhold, bonefish@users.sf.net. All rights reserved.
|
||||||
|
* Distributed under the terms of the MIT License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define FUNCTION(x) .global x; .type x,@function; x
|
||||||
|
|
||||||
|
/* void *get_stack_frame() */
|
||||||
|
FUNCTION(get_stack_frame):
|
||||||
|
mov %ebp,%eax
|
||||||
|
ret
|
||||||
Reference in New Issue
Block a user