Changeset 1ebc1a62 in mainline for uspace/app/sbi/src/ancr.c


Ignore:
Timestamp:
2010-03-29T20:30:29Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a95310e
Parents:
5da468e
Message:

Update SBI to rev. 157.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/sbi/src/ancr.c

    r5da468e r1ebc1a62  
    6767 * Note that currently we expect there to be exactly one module in the
    6868 * whole program.
     69 *
     70 * @param prog          Program being processed.
     71 * @param module        Module to process.
    6972 */
    7073void ancr_module_process(stree_program_t *prog, stree_module_t *module)
     
    7982                modm = list_node_data(node, stree_modm_t *);
    8083                assert(modm->mc == mc_csi); /* XXX */
    81 /*              printf("ancr_csi_process() on '%s'\n",
    82                     strtab_get_str(modm->u.csi->name->sid));*/
    8384                ancr_csi_dfs(prog, modm->u.csi);
    8485
     
    9293 * process all CSI nodes by calling ancr_csi_process() on them.
    9394 * (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.
    9498 */
    9599static void ancr_csi_dfs(stree_program_t *prog, stree_csi_t *csi)
     
    116120 * Fist processes the pre-required nodes (outer CSI and base CSIs),
    117121 * 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.
    118125 */
    119126static void ancr_csi_process(stree_program_t *prog, stree_csi_t *node)
     
    171178 * We have detected a loop in CSI ancestry. Traverse it (by following the
    172179 * nodes in ws_active state and print it.
     180 *
     181 * @param prog          Program.
     182 * @param node          CSI node participating in an ancestry cycle.
    173183 */
    174184static void ancr_csi_print_cycle(stree_program_t *prog, stree_csi_t *node)
Note: See TracChangeset for help on using the changeset viewer.