207 static bool can_use_16M_pages () { |
207 static bool can_use_16M_pages () { |
208 assert(_can_use_16M_pages != -1, "not initialized"); |
208 assert(_can_use_16M_pages != -1, "not initialized"); |
209 return _can_use_16M_pages == 1 ? true : false; |
209 return _can_use_16M_pages == 1 ? true : false; |
210 } |
210 } |
211 |
211 |
212 static address ucontext_get_pc(ucontext_t* uc); |
212 static address ucontext_get_pc(const ucontext_t* uc); |
213 static intptr_t* ucontext_get_sp(ucontext_t* uc); |
213 static intptr_t* ucontext_get_sp(ucontext_t* uc); |
214 static intptr_t* ucontext_get_fp(ucontext_t* uc); |
214 static intptr_t* ucontext_get_fp(ucontext_t* uc); |
215 // Set PC into context. Needed for continuation after signal. |
215 // Set PC into context. Needed for continuation after signal. |
216 static void ucontext_set_pc(ucontext_t* uc, address pc); |
216 static void ucontext_set_pc(ucontext_t* uc, address pc); |
217 |
217 |