Ignore:
Timestamp:
2010-11-26T20:08:10Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
45df59a
Parents:
fb150d78 (diff), ffdd2b9 (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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/part/mbr_part/mbr_part.c

    rfb150d78 r46c20c8  
    9797        bool present;
    9898        /** Address of first block */
    99         bn_t start_addr;
     99        aoff64_t start_addr;
    100100        /** Number of blocks */
    101         bn_t length;
     101        aoff64_t length;
    102102        /** Device representing the partition (outbound device) */
    103         dev_handle_t dev;
     103        devmap_handle_t dev;
    104104        /** Points to next partition structure. */
    105105        struct part *next;
     
    142142
    143143/** Partitioned device (inbound device) */
    144 static dev_handle_t indev_handle;
     144static devmap_handle_t indev_handle;
    145145
    146146/** List of partitions. This structure is an empty head. */
     
    181181        int i;
    182182        char *name;
    183         dev_handle_t dev;
     183        devmap_handle_t dev;
    184184        uint64_t size_mb;
    185185        part_t *part;
     
    206206
    207207        if (block_size < 512 || (block_size % 512) != 0) {
    208                 printf(NAME ": invalid block size %d.\n");
     208                printf(NAME ": invalid block size %zu.\n", block_size);
    209209                return ENOTSUP;
    210210        }
     
    249249                size_mb = (part->length * block_size + 1024 * 1024 - 1)
    250250                    / (1024 * 1024);
    251                 printf(NAME ": Registered device %s: %" PRIuBN " blocks "
     251                printf(NAME ": Registered device %s: %" PRIuOFF64 " blocks "
    252252                    "%" PRIu64 " MB.\n", name, part->length, size_mb);
    253253
     
    394394        ipc_call_t call;
    395395        ipcarg_t method;
    396         dev_handle_t dh;
     396        devmap_handle_t dh;
    397397        int flags;
    398398        int retval;
Note: See TracChangeset for help on using the changeset viewer.