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:
parent
56bead3235
commit
61a9031bd0
@ -3,6 +3,7 @@ SubDir OBOS_TOP src kernel libroot os arch x86 ;
|
||||
KernelMergeObject os_arch_$(OBOS_ARCH).o :
|
||||
atomic.S
|
||||
byteorder.S
|
||||
get_stack_frame.S
|
||||
system_info.c
|
||||
system_time.S
|
||||
thread.c
|
||||
|
11
src/kernel/libroot/os/arch/x86/get_stack_frame.S
Normal file
11
src/kernel/libroot/os/arch/x86/get_stack_frame.S
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user