/*#*
*#* $Log$
+ *#* Revision 1.4 2006/02/24 00:27:14 bernie
+ *#* Use new naming convention for list macros.
+ *#*
*#* Revision 1.3 2006/02/17 21:15:42 bernie
*#* Add MOD_CHECK() checks.
*#*
keymask_t key = kbd_readkeys();
/* Call raw input handlers */
- FOREACHNODE(handler, &kbd_rawHandlers)
+ FOREACH_NODE(handler, &kbd_rawHandlers)
key = handler->hook(key);
/* If this key was not previously pressed */
current_key = key;
/* Call cooked input handlers */
- FOREACHNODE(handler, &kbd_handlers)
+ FOREACH_NODE(handler, &kbd_handlers)
key = handler->hook(key);
}
}
* Search for the first node whose priority
* is lower than the timer we want to add.
*/
- FOREACHNODE(node,list)
+ FOREACH_NODE(node,list)
if (node->pri < handler->pri)
break;
/* Enqueue handler in the handlers chain */
- INSERTBEFORE(&handler->link, &node->link);
+ INSERT_BEFORE(&handler->link, &node->link);
IRQ_RESTORE(flags);
}