[Gems-users] Calling magic instruction call back directly


Date: Thu, 05 Oct 2006 12:39:42 -0400
From: Aniket Naik <aniket@xxxxxxxxxxxxx>
Subject: [Gems-users] Calling magic instruction call back directly
Hi,

I was trying to initiate transactions automatically on certain events in
opal. As far as I understand, opal has no knowledge of transactions.

When a BEGIN_TRANSACTION is inserted in code it translates to a sethi.
When the sethi is retired the ruby magic_call_back is triggered, which
then begin a transaction by taking a checkpoint of registers from the
simics front-end. So am I correct in understanding that the entire
transaction process is transparent to opal?

If that is the case, then to begin a transaction can I directly call the
magic call back?  I tried this but I get 
undefined symbol: _Z26magic_instruction_callbackPvS_x". 
Do I need to link to some other module for this to work?

Thanks,

Aniket


[← Prev in Thread] Current Thread [Next in Thread→]
  • [Gems-users] Calling magic instruction call back directly, Aniket Naik <=