[haiku-development] Re: ucontext_t?

  • From: Andreas Färber <andreas.faerber@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 4 Aug 2008 00:11:07 +0200


Am 03.08.2008 um 16:17 schrieb Andreas Färber:

I've dug some deeper and found arch_setup_signal_frame in kernel/ arch/x86/arch_thread.cpp: Haiku does in fact save EDI as ._reserved_2[0] and ESI as ._reserved_2[1].

EBP however [is] not stored as .ebp but as ._reserved_2[2].

So from my view only EBX is missing.

Any comments on this, Axel? Is the EBP thing intentional? Or can I change arch_setup/restore_signal_frame to put EBP into .ebp and reuse ._reserved_2[2] for EBX?

An Internet search doesn't come up with much on this.

Andreas


Other related posts: