1/* libunwind - a platform-independent unwind library
2   Copyright (C) 2012 Tommi Rantala <tt.rantala@gmail.com>
3
4This file is part of libunwind.
5
6Permission is hereby granted, free of charge, to any person obtaining
7a copy of this software and associated documentation files (the
8"Software"), to deal in the Software without restriction, including
9without limitation the rights to use, copy, modify, merge, publish,
10distribute, sublicense, and/or sell copies of the Software, and to
11permit persons to whom the Software is furnished to do so, subject to
12the following conditions:
13
14The above copyright notice and this permission notice shall be
15included in all copies or substantial portions of the Software.
16
17THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
21LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
22OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
23WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  */
24
25#ifndef unwind_i_h
26#define unwind_i_h
27
28#include <libunwind-sh.h>
29
30#include "libunwind_i.h"
31
32#define sh_lock				UNW_OBJ(lock)
33#define sh_local_resume			UNW_OBJ(local_resume)
34#define sh_local_addr_space_init	UNW_OBJ(local_addr_space_init)
35
36extern void sh_local_addr_space_init (void);
37extern int sh_local_resume (unw_addr_space_t as, unw_cursor_t *cursor,
38                            void *arg);
39
40#endif /* unwind_i_h */
41