projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make the TWI driver more generic to work with devices other than EEPROMS.
[bertos.git]
/
kern
/
monitor.c
diff --git
a/kern/monitor.c
b/kern/monitor.c
index babdb72fc8c559cc2dd9e0d763bd95f751d40644..1749e3ec99872a20d9ce2f3d8a01f75b51edc4e5 100755
(executable)
--- a/
kern/monitor.c
+++ b/
kern/monitor.c
@@
-14,6
+14,9
@@
/*#*
*#* $Log$
/*#*
*#* $Log$
+ *#* Revision 1.7 2006/03/13 02:07:14 bernie
+ *#* Add TODO item.
+ *#*
*#* Revision 1.6 2006/02/24 01:17:05 bernie
*#* Update for new emulator.
*#*
*#* Revision 1.6 2006/02/24 01:17:05 bernie
*#* Update for new emulator.
*#*
@@
-81,6
+84,7
@@
void monitor_rename(Process *proc, const char* name)
proc->monitor.name = name;
}
proc->monitor.name = name;
}
+/* TODO: use containerof() */
#define MONITOR_NODE_TO_PROCESS(node) \
(struct Process *)((char *)(node) - offsetof(struct Process, monitor.link))
#define MONITOR_NODE_TO_PROCESS(node) \
(struct Process *)((char *)(node) - offsetof(struct Process, monitor.link))