root/src/system/libroot/os/arch/x86_64/get_stack_frame.S
/*
 * Copyright 2012, Alex Smith, alex@alex-smith.me.uk.
 * Distributed under the terms of the MIT License.
*/


#include <asm_defs.h>


/* void* get_stack_frame(void) */
FUNCTION(get_stack_frame):
        movq    %rbp, %rax
        ret
FUNCTION_END(get_stack_frame)