listener's data members should be accessible by child classes
We could do this via getters/setters, but why bother (for now). git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1618 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -110,7 +110,7 @@ public:
|
|||||||
* A Breakpoint listener to observe instruction changes within a given address space.
|
* A Breakpoint listener to observe instruction changes within a given address space.
|
||||||
*/
|
*/
|
||||||
class BPListener : public BaseListener {
|
class BPListener : public BaseListener {
|
||||||
private:
|
protected:
|
||||||
BPEvent m_Data;
|
BPEvent m_Data;
|
||||||
address_t m_CR3;
|
address_t m_CR3;
|
||||||
public:
|
public:
|
||||||
@ -199,7 +199,7 @@ public:
|
|||||||
* A listener type to observe ranges of instruction pointers.
|
* A listener type to observe ranges of instruction pointers.
|
||||||
*/
|
*/
|
||||||
class BPRangeListener : public BPListener {
|
class BPRangeListener : public BPListener {
|
||||||
private:
|
protected:
|
||||||
address_t m_WatchStartAddr;
|
address_t m_WatchStartAddr;
|
||||||
address_t m_WatchEndAddr;
|
address_t m_WatchEndAddr;
|
||||||
public:
|
public:
|
||||||
@ -239,7 +239,7 @@ public:
|
|||||||
* Observes memory read/write accesses.
|
* Observes memory read/write accesses.
|
||||||
*/
|
*/
|
||||||
class MemAccessListener : public BaseListener {
|
class MemAccessListener : public BaseListener {
|
||||||
private:
|
protected:
|
||||||
//! Specific physical guest system address to watch, or ANY_ADDR.
|
//! Specific physical guest system address to watch, or ANY_ADDR.
|
||||||
address_t m_WatchAddr;
|
address_t m_WatchAddr;
|
||||||
//! Width of the memory area being watched (# bytes).
|
//! Width of the memory area being watched (# bytes).
|
||||||
@ -353,7 +353,7 @@ public:
|
|||||||
* Observes interrupt/trap activties.
|
* Observes interrupt/trap activties.
|
||||||
*/
|
*/
|
||||||
class TroubleListener : public BaseListener {
|
class TroubleListener : public BaseListener {
|
||||||
private:
|
protected:
|
||||||
TroubleEvent m_Data; //!< event related data, e.g. trap number
|
TroubleEvent m_Data; //!< event related data, e.g. trap number
|
||||||
/**
|
/**
|
||||||
* Specific guest system interrupt/trap numbers to watch,
|
* Specific guest system interrupt/trap numbers to watch,
|
||||||
@ -405,7 +405,7 @@ public:
|
|||||||
* Observes interrupts of the guest system.
|
* Observes interrupts of the guest system.
|
||||||
*/
|
*/
|
||||||
class InterruptListener : public TroubleListener {
|
class InterruptListener : public TroubleListener {
|
||||||
private:
|
protected:
|
||||||
InterruptEvent m_Data; //!< event related data, e.g. NMI flag
|
InterruptEvent m_Data; //!< event related data, e.g. NMI flag
|
||||||
public:
|
public:
|
||||||
InterruptListener() { }
|
InterruptListener() { }
|
||||||
@ -438,7 +438,7 @@ public:
|
|||||||
// Additionaly, the port is fixed (at least in Bochs) but can be modified using setPort
|
// Additionaly, the port is fixed (at least in Bochs) but can be modified using setPort
|
||||||
// (effectless for now).
|
// (effectless for now).
|
||||||
class GuestListener : public BaseListener {
|
class GuestListener : public BaseListener {
|
||||||
private:
|
protected:
|
||||||
GuestEvent m_Data;
|
GuestEvent m_Data;
|
||||||
public:
|
public:
|
||||||
GuestListener() { }
|
GuestListener() { }
|
||||||
@ -465,7 +465,7 @@ public:
|
|||||||
* Observes I/O access on architectures with a separate I/O access mechanism (e.g. IA-32)
|
* Observes I/O access on architectures with a separate I/O access mechanism (e.g. IA-32)
|
||||||
*/
|
*/
|
||||||
class IOPortListener : public BaseListener {
|
class IOPortListener : public BaseListener {
|
||||||
private:
|
protected:
|
||||||
IOPortEvent m_Data;
|
IOPortEvent m_Data;
|
||||||
unsigned m_Port;
|
unsigned m_Port;
|
||||||
bool m_Out;
|
bool m_Out;
|
||||||
@ -519,7 +519,7 @@ public:
|
|||||||
* JumpListeners are used to observe conditional jumps (if...else if...else).
|
* JumpListeners are used to observe conditional jumps (if...else if...else).
|
||||||
*/
|
*/
|
||||||
class JumpListener : public BaseListener {
|
class JumpListener : public BaseListener {
|
||||||
private:
|
protected:
|
||||||
JumpEvent m_Data;
|
JumpEvent m_Data;
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user