interrupts can now be fired

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1010 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
hellwig
2012-03-30 14:32:26 +00:00
parent f15586cb60
commit 2a979ba25c
5 changed files with 30 additions and 1 deletions

View File

@ -18,6 +18,7 @@
#include "../../../bochs/bochs.h"
#include "../../../bochs/cpu/cpu.h"
#include "../../../bochs/config.h"
#include "../../../bochs/iodev/iodev.h"
using namespace std;
@ -91,6 +92,15 @@ class BochsController : public SimulatorController
* @param exCode Individual exit code
*/
void terminate(int exCode = EXIT_SUCCESS);
/**
* Fire an interrupt.
* @param irq Interrupt to be fired
*/
void fireInterrupt(unsigned irq);
/**
* Fire done: Callback from Simulator
*/
void fireInterruptDone();
#ifdef DEBUG
/**
* Enables instruction pointer debugging output.