[haiku-bugs] Re: [Haiku] #7867: Need to provide all CPU registers to signal handler

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Wed, 27 Jul 2011 21:21:51 -0000

#7867: Need to provide all CPU registers to signal handler
---------------------------+----------------------------
   Reporter:  dacha        |      Owner:  nobody
       Type:  enhancement  |     Status:  new
   Priority:  normal       |  Milestone:  R1
  Component:  - General    |    Version:  R1/Development
 Resolution:               |   Keywords:
 Blocked By:               |   Blocking:
Has a Patch:  1            |   Platform:  x86
---------------------------+----------------------------

Comment (by bonefish):

 Just extending the `vregs` structure will break binary compatibility
 (there's the `_reserved_1` which can and should be used, but obviously
 that isn't enough). You'll also have to introduce a binary compatible
 version of the structure (`vregs_beos`) and adjust the
 x86_signal_frame_function_beos() function (cf.
 src/system/kernel/arch/x86/x86_signals_asm.S, and
 src/system/kernel/arch/x86/asm_offsets.cpp for the assembly offset/size
 macros).

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7867#comment:6>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: