Re: Inject exceptions/interrupts

Reto Buerki <[email protected]> Thu, 2 Mar 2017 10:14:49 +0100
Newsgroups gmane.comp.emulators.bochs.devel
Message-ID <[email protected]>
Hi,

Is there any news regarding this feature request?

Kind regards,
- reto

On 12/12/2016 11:51 AM, Reto Buerki wrote:
> On 12/09/2016 10:08 PM, Stanislav wrote:
>> It seems like this functionality was planned once ('take irq' command in
>> internal debugger) but the code which does it is not in the model.
>> I still see it in the 2.1.1 sources tree ... Probably it got broken with the
>> time and were excluded from the source code because of no demand for the
>> feature.
>>
>> I could re-implement it from scratch. 
> 
> That would be great of course! We would use the feature mainly to
> simulate NMI/MCE handling as these are harder to test with real hardware.
> 
>> How would you define the command interface ? 
> 
> QEMU has:
> 
> nmi cpu
> mce cpu bank status mcgstatus addr misc
> 
> But maybe it would be better to allow:
> 
> inject cpu vector[0..255]
> 
> and treat only mce separately.
> 
>> What Bochs CPU would do ?
> 
> We currently use model=corei7_ivy_bridge_3770k
> 
> Thanks!
> - reto
> 
>> -----Original Message-----
>> From: Reto Buerki [mailto:[email protected]] 
>> Sent: Friday, December 09, 2016 3:13 PM
>> To: [email protected]
>> Subject: [Bochs-developers] Inject exceptions/interrupts
>>
>> Hi,
>>
>> Is there a way to inject exceptions/interrupts on a given CPU? This would be
>> very helpful when testing handlers.
>>
>> Thanks!
>> - reto

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot