projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make first working version of irq resource
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
lttv
/
state.h
diff --git
a/ltt/branches/poly/lttv/lttv/state.h
b/ltt/branches/poly/lttv/lttv/state.h
index c419e43fe0e132fc5453448aa35dc5b1e227383e..be2e0b1c71be34249fd8f5298ef6de0a4828f783 100644
(file)
--- a/
ltt/branches/poly/lttv/lttv/state.h
+++ b/
ltt/branches/poly/lttv/lttv/state.h
@@
-206,6
+206,12
@@
extern LttvCPUMode
LTTV_CPU_IRQ,
LTTV_CPU_TRAP;
LTTV_CPU_IRQ,
LTTV_CPU_TRAP;
+typedef GQuark LttvIRQMode;
+extern LttvIRQMode
+ LTTV_IRQ_UNKNOWN,
+ LTTV_IRQ_IDLE,
+ LTTV_IRQ_BUSY;
+
typedef struct _LttvExecutionState {
LttvExecutionMode t;
LttvExecutionSubmode n;
typedef struct _LttvExecutionState {
LttvExecutionMode t;
LttvExecutionSubmode n;
@@
-287,8
+293,13
@@
GType lttv_traceset_state_get_type (void);
typedef struct _LttvCPUState {
GArray *mode_stack;
typedef struct _LttvCPUState {
GArray *mode_stack;
+ guint last_irq;
} LttvCPUState;
} LttvCPUState;
+typedef struct _LttvIRQState {
+ GArray *mode_stack;
+} LttvIRQState;
+
struct _LttvTraceState {
LttvTraceContext parent;
struct _LttvTraceState {
LttvTraceContext parent;
@@
-313,6
+324,7
@@
struct _LttvTraceState {
LttvProcessState **running_process;
gboolean has_precomputed_states;
LttvCPUState *cpu_states; /* state of each cpu */
LttvProcessState **running_process;
gboolean has_precomputed_states;
LttvCPUState *cpu_states; /* state of each cpu */
+ LttvIRQState *irq_states; /* state of each irq handler */
};
struct _LttvTraceStateClass {
};
struct _LttvTraceStateClass {
This page took
0.02242 seconds
and
4
git commands to generate.