Changeset 47b7006 in mainline for uspace/srv


Ignore:
Timestamp:
2011-01-29T23:02:39Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
197ef43
Parents:
fd483ce
Message:

improve run-time termination

  • get rid of exit()
  • get rid of _exit(), use the common exit()
  • get rid of core(), use the common abort()
  • make main() more fail-safe (call abort() on unhealthy conditions), call async_sess_init() explicitly
  • add several libc-private headers for cleaner environment
  • use SYS_TASK_EXIT in exit() and abort()
Location:
uspace/srv/bd
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/ata_bd/ata_bd.c

    rfd483ce r47b7006  
    265265        sysarg_t method;
    266266        devmap_handle_t dh;
    267         int flags;
     267        unsigned int flags;
    268268        int retval;
    269269        uint64_t ba;
  • uspace/srv/bd/file_bd/file_bd.c

    rfd483ce r47b7006  
    177177        sysarg_t method;
    178178        size_t comm_size;
    179         int flags;
     179        unsigned int flags;
    180180        int retval;
    181181        uint64_t ba;
  • uspace/srv/bd/gxe_bd/gxe_bd.c

    rfd483ce r47b7006  
    160160        sysarg_t method;
    161161        devmap_handle_t dh;
    162         int flags;
     162        unsigned int flags;
    163163        int retval;
    164164        uint64_t ba;
  • uspace/srv/bd/part/guid_part/guid_part.c

    rfd483ce r47b7006  
    315315        sysarg_t method;
    316316        devmap_handle_t dh;
    317         int flags;
     317        unsigned int flags;
    318318        int retval;
    319319        aoff64_t ba;
  • uspace/srv/bd/part/mbr_part/mbr_part.c

    rfd483ce r47b7006  
    393393        sysarg_t method;
    394394        devmap_handle_t dh;
    395         int flags;
     395        unsigned int flags;
    396396        int retval;
    397397        uint64_t ba;
  • uspace/srv/bd/rd/rd.c

    rfd483ce r47b7006  
    102102         * Now we wait for the client to send us its communication as_area.
    103103         */
    104         int flags;
     104        unsigned int flags;
    105105        if (async_share_out_receive(&callid, &comm_size, &flags)) {
    106106                fs_va = as_get_mappable_page(comm_size);
Note: See TracChangeset for help on using the changeset viewer.