Changeset 45f04f8 in mainline for uspace/app


Ignore:
Timestamp:
2010-11-18T18:23:43Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3f0a7971, a7811f17, cb569e6
Parents:
51a268f (diff), c63e70c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge changes that aim to do a better job in differentiating between
dev_handle_t and device_handle_t, respectively, by renaming these types to
devmap_handle_t and devman_handle_t, respectively.

Location:
uspace/app
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/bdd/bdd.c

    r51a268f r45f04f8  
    6868        unsigned int argc;
    6969        unsigned int i, j;
    70         dev_handle_t handle;
     70        devmap_handle_t handle;
    7171        uint8_t *blk;
    7272        size_t size, bytes, rows;
  • uspace/app/init/init.c

    r51a268f r45f04f8  
    185185       
    186186        /* Wait for the input device to be ready */
    187         dev_handle_t handle;
     187        devmap_handle_t handle;
    188188        rc = devmap_device_get_handle(dev, &handle, IPC_FLAG_BLOCKING);
    189189        if (rc != EOK) {
     
    210210       
    211211        /* Wait for the terminal device to be ready */
    212         dev_handle_t handle;
     212        devmap_handle_t handle;
    213213        rc = devmap_device_get_handle(dev, &handle, IPC_FLAG_BLOCKING);
    214214        if (rc != EOK) {
  • uspace/app/mkfat/mkfat.c

    r51a268f r45f04f8  
    8585    struct fat_params *par);
    8686static int fat_blocks_write(struct fat_params const *par,
    87     dev_handle_t handle);
     87    devmap_handle_t handle);
    8888static void fat_bootsec_create(struct fat_params const *par, struct fat_bs *bs);
    8989
     
    9595        int rc;
    9696        char *dev_path;
    97         dev_handle_t handle;
     97        devmap_handle_t handle;
    9898        size_t block_size;
    9999        char *endptr;
     
    234234
    235235/** Create file system with the given parameters. */
    236 static int fat_blocks_write(struct fat_params const *par, dev_handle_t handle)
     236static int fat_blocks_write(struct fat_params const *par, devmap_handle_t handle)
    237237{
    238238        aoff64_t addr;
  • uspace/app/test_serial/test_serial.c

    r51a268f r45f04f8  
    6969        int res;
    7070        res = devman_get_phone(DEVMAN_CLIENT, IPC_FLAG_BLOCKING);
    71         device_handle_t handle;
     71        devman_handle_t handle;
    7272       
    7373        res = devman_device_get_handle("/hw/pci0/00:01.0/com1", &handle,
Note: See TracChangeset for help on using the changeset viewer.