hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp
changeset 35077 8b86440d3bf1
parent 34633 2a6c7c7b30a7
child 35201 996db89f378e
equal deleted inserted replaced
35076:14858721b3b3 35077:8b86440d3bf1
    98 
    98 
    99 void os::initialize_thread(Thread * thr){
    99 void os::initialize_thread(Thread * thr){
   100   // Nothing to do.
   100   // Nothing to do.
   101 }
   101 }
   102 
   102 
   103 address os::Linux::ucontext_get_pc(ucontext_t* uc) {
   103 address os::Linux::ucontext_get_pc(const ucontext_t* uc) {
   104   ShouldNotCallThis();
   104   ShouldNotCallThis();
   105 }
   105 }
   106 
   106 
   107 void os::Linux::ucontext_set_pc(ucontext_t * uc, address pc) {
   107 void os::Linux::ucontext_set_pc(ucontext_t * uc, address pc) {
   108   ShouldNotCallThis();
   108   ShouldNotCallThis();
   109 }
   109 }
   110 
   110 
   111 ExtendedPC os::fetch_frame_from_context(void* ucVoid,
   111 ExtendedPC os::fetch_frame_from_context(const void* ucVoid,
   112                                         intptr_t** ret_sp,
   112                                         intptr_t** ret_sp,
   113                                         intptr_t** ret_fp) {
   113                                         intptr_t** ret_fp) {
   114   ShouldNotCallThis();
   114   ShouldNotCallThis();
   115 }
   115 }
   116 
   116 
   117 frame os::fetch_frame_from_context(void* ucVoid) {
   117 frame os::fetch_frame_from_context(const void* ucVoid) {
   118   ShouldNotCallThis();
   118   ShouldNotCallThis();
   119 }
   119 }
   120 
   120 
   121 extern "C" JNIEXPORT int
   121 extern "C" JNIEXPORT int
   122 JVM_handle_linux_signal(int sig,
   122 JVM_handle_linux_signal(int sig,
   404 }
   404 }
   405 
   405 
   406 /////////////////////////////////////////////////////////////////////////////
   406 /////////////////////////////////////////////////////////////////////////////
   407 // helper functions for fatal error handler
   407 // helper functions for fatal error handler
   408 
   408 
   409 void os::print_context(outputStream* st, void* context) {
   409 void os::print_context(outputStream* st, const void* context) {
   410   ShouldNotCallThis();
   410   ShouldNotCallThis();
   411 }
   411 }
   412 
   412 
   413 void os::print_register_info(outputStream *st, void *context) {
   413 void os::print_register_info(outputStream *st, const void *context) {
   414   ShouldNotCallThis();
   414   ShouldNotCallThis();
   415 }
   415 }
   416 
   416 
   417 /////////////////////////////////////////////////////////////////////////////
   417 /////////////////////////////////////////////////////////////////////////////
   418 // Stubs for things that would be in linux_zero.s if it existed.
   418 // Stubs for things that would be in linux_zero.s if it existed.