Changeset 1ebc1a62 in mainline for uspace/app/sbi/src/ancr.c
- Timestamp:
- 2010-03-29T20:30:29Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a95310e
- Parents:
- 5da468e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/sbi/src/ancr.c
r5da468e r1ebc1a62 67 67 * Note that currently we expect there to be exactly one module in the 68 68 * whole program. 69 * 70 * @param prog Program being processed. 71 * @param module Module to process. 69 72 */ 70 73 void ancr_module_process(stree_program_t *prog, stree_module_t *module) … … 79 82 modm = list_node_data(node, stree_modm_t *); 80 83 assert(modm->mc == mc_csi); /* XXX */ 81 /* printf("ancr_csi_process() on '%s'\n",82 strtab_get_str(modm->u.csi->name->sid));*/83 84 ancr_csi_dfs(prog, modm->u.csi); 84 85 … … 92 93 * process all CSI nodes by calling ancr_csi_process() on them. 93 94 * (Which causes that and possibly some other nodes to be processed). 95 * 96 * @param prog Program being processed. 97 * @param csi CSI node to visit. 94 98 */ 95 99 static void ancr_csi_dfs(stree_program_t *prog, stree_csi_t *csi) … … 116 120 * Fist processes the pre-required nodes (outer CSI and base CSIs), 117 121 * then processes @a node. This is the core 'outward-and-baseward' walk. 122 * 123 * @param prog Program being processed. 124 * @param node CSI node to process. 118 125 */ 119 126 static void ancr_csi_process(stree_program_t *prog, stree_csi_t *node) … … 171 178 * We have detected a loop in CSI ancestry. Traverse it (by following the 172 179 * nodes in ws_active state and print it. 180 * 181 * @param prog Program. 182 * @param node CSI node participating in an ancestry cycle. 173 183 */ 174 184 static void ancr_csi_print_cycle(stree_program_t *prog, stree_csi_t *node)
Note:
See TracChangeset
for help on using the changeset viewer.