Make UEFI boot-platform build again
[haiku.git] / src / libs / libunwind / hppa / tables.c
blob5104d4d342971d1a27c2ac0115a9da341f984a60
1 #include "unwind_i.h"
3 static inline int
4 is_local_addr_space (unw_addr_space_t as)
6 extern unw_addr_space_t _ULhppa_local_addr_space;
8 return (as == _Uhppa_local_addr_space
9 #ifndef UNW_REMOTE_ONLY
10 || as == _ULhppa_local_addr_space
11 #endif
15 HIDDEN int
16 tdep_find_proc_info (unw_addr_space_t as, unw_word_t ip,
17 unw_proc_info_t *pi, int need_unwind_info, void *arg)
19 printf ("%s: begging to get implemented...\n", __FUNCTION__);
20 return 0;
23 HIDDEN int
24 tdep_search_unwind_table (unw_addr_space_t as, unw_word_t ip,
25 unw_dyn_info_t *di,
26 unw_proc_info_t *pi, int need_unwind_info, void *arg)
28 printf ("%s: the biggest beggar of them all...\n", __FUNCTION__);
29 return 0;
32 HIDDEN void
33 tdep_put_unwind_info (unw_addr_space_t as, unw_proc_info_t *pi, void *arg)
35 if (!pi->unwind_info)
36 return;
38 if (!is_local_addr_space (as))
40 free (pi->unwind_info);
41 pi->unwind_info = NULL;