Re: Inject exceptions/interrupts
Reto Buerki <[email protected]> Mon, 12 Dec 2016 11:51:20 +0100
| Newsgroups | gmane.comp.emulators.bochs.devel |
|---|---|
| Message-ID | <[email protected]> |
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
>
> ----------------------------------------------------------------------------
> --
> Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon
> Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today.http://sdm.link/xeonphi
> _______________________________________________
> bochs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bochs-developers
>
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi