MCPcopy Create free account
hub / github.com/HelenOS/helenos / cmd_initialize

Function cmd_initialize

kernel/generic/src/console/cmd.c:633–637  ·  view source on GitHub ↗

Initialize command info structure. * * @param cmd Command info structure. * */

Source from the content-addressed store, hash-verified

631 *
632 */
633void cmd_initialize(cmd_info_t *cmd)
634{
635 spinlock_initialize(&cmd->lock, "cmd.lock");
636 link_initialize(&cmd->link);
637}
638
639/** Initialize and register commands. */
640void cmd_init(void)

Callers 3

debugger_initFunction · 0.85
cmd_initFunction · 0.85
exc_initFunction · 0.85

Calls 2

spinlock_initializeFunction · 0.85
link_initializeFunction · 0.50

Tested by

no test coverage detected