Changeset fdbc3ff in mainline for uspace/app


Ignore:
Timestamp:
2010-11-19T23:50:06Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
46d4d9f
Parents:
b4c9c61 (diff), a9c6b966 (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 mainline changes.

Location:
uspace/app
Files:
2 deleted
7 edited

Legend:

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

    rb4c9c61 rfdbc3ff  
    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/getterm/getterm.c

    rb4c9c61 rfdbc3ff  
    8484        bool print_wmsg;
    8585
    86         ++argv; --argc;
     86        argv++;
     87        argc--;
    8788        if (argc < 1) {
    8889                usage();
     
    9293        if (str_cmp(*argv, "-w") == 0) {
    9394                print_wmsg = true;
    94                 ++argv; --argc;
     95                argv++;
     96                argc--;
    9597        } else {
    9698                print_wmsg = false;
  • uspace/app/init/init.c

    rb4c9c61 rfdbc3ff  
    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

    rb4c9c61 rfdbc3ff  
    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/netecho/print_error.h

    rb4c9c61 rfdbc3ff  
    4343 *
    4444 * @param[in] error_code The error code.
    45  * @returns A value indicating whether the error code may be an ICMP error code.
     45 * @return A value indicating whether the error code may be an ICMP error code.
    4646 */
    4747#define IS_ICMP_ERROR(error_code)       ((error_code) > 0)
     
    5050 *
    5151 * @param[in] error_code The error code.
    52  * @returns A value indicating whether the error code may be a socket error code.
     52 * @return A value indicating whether the error code may be a socket error code.
    5353 */
    5454#define IS_SOCKET_ERROR(error_code)     ((error_code) < 0)
  • uspace/app/nettest1/nettest.c

    rb4c9c61 rfdbc3ff  
    4949 * @param[in] family The socket address family.
    5050 * @param[in] type The socket type.
    51  * @returns EOK on success.
    52  * @returns Other error codes as defined for the socket() function.
     51 * @return EOK on success.
     52 * @return Other error codes as defined for the socket() function.
    5353 */
    5454int sockets_create(int verbose, int *socket_ids, int sockets, int family, sock_type_t type)
     
    8080 * @param[in] socket_ids A field of stored socket identifiers.
    8181 * @param[in] sockets The number of sockets in the field. Should be at most the size of the field.
    82  * @returns EOK on success.
    83  * @returns Other error codes as defined for the closesocket() function.
     82 * @return EOK on success.
     83 * @return Other error codes as defined for the closesocket() function.
    8484 */
    8585int sockets_close(int verbose, int *socket_ids, int sockets)
     
    114114 * @param[in] address The destination host address to connect to.
    115115 * @param[in] addrlen The length of the destination address in bytes.
    116  * @returns EOK on success.
    117  * @returns Other error codes as defined for the connect() function.
     116 * @return EOK on success.
     117 * @return Other error codes as defined for the connect() function.
    118118 */
    119119int sockets_connect(int verbose, int *socket_ids, int sockets, struct sockaddr *address, socklen_t addrlen)
     
    150150 * @param[in] size The data size in bytes.
    151151 * @param[in] messages The number of datagrams per socket to be sent.
    152  * @returns EOK on success.
    153  * @returns Other error codes as defined for the sendto() function.
     152 * @return EOK on success.
     153 * @return Other error codes as defined for the sendto() function.
    154154 */
    155155int sockets_sendto(int verbose, int *socket_ids, int sockets, struct sockaddr *address, socklen_t addrlen, char *data, int size, int messages)
     
    190190 * @param[in] size The maximum data size in bytes.
    191191 * @param[in] messages The number of datagrams per socket to be received.
    192  * @returns EOK on success.
    193  * @returns Other error codes as defined for the recvfrom() function.
     192 * @return EOK on success.
     193 * @return Other error codes as defined for the recvfrom() function.
    194194 */
    195195int sockets_recvfrom(int verbose, int *socket_ids, int sockets, struct sockaddr *address, socklen_t *addrlen, char *data, int size, int messages)
     
    232232 * @param[in] size The data size in bytes.
    233233 * @param[in] messages The number of datagrams per socket to be received.
    234  * @returns EOK on success.
    235  * @returns Other error codes as defined for the recvfrom() function.
     234 * @return EOK on success.
     235 * @return Other error codes as defined for the recvfrom() function.
    236236 */
    237237int sockets_sendto_recvfrom(int verbose, int *socket_ids, int sockets, struct sockaddr *address, socklen_t *addrlen, char *data, int size, int messages)
  • uspace/app/test_serial/test_serial.c

    rb4c9c61 rfdbc3ff  
    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.