Changeset 3b3e776 in mainline for uspace/srv/bd/rd/rd.c


Ignore:
Timestamp:
2010-02-05T10:57:50Z (14 years ago)
Author:
Lenka Trochtova <trochtova.lenka@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0358da0
Parents:
3f085132 (diff), b4cbef1 (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:

merged with head

File:
1 edited

Legend:

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

    r3f085132 r3b3e776  
    5151#include <align.h>
    5252#include <async.h>
    53 #include <fibril_sync.h>
     53#include <fibril_synch.h>
    5454#include <stdio.h>
    5555#include <devmap.h>
     
    153153                        ipc_answer_1(callid, EOK, block_size);
    154154                        continue;
     155                case BD_GET_NUM_BLOCKS:
     156                        ipc_answer_2(callid, EOK, LOWER32(rd_size / block_size),
     157                            UPPER32(rd_size / block_size));
     158                        continue;
    155159                default:
    156160                        /*
     
    228232       
    229233        dev_handle_t dev_handle;
    230         if (devmap_device_register("initrd", &dev_handle) != EOK) {
     234        if (devmap_device_register("bd/initrd", &dev_handle) != EOK) {
    231235                devmap_hangup_phone(DEVMAP_DRIVER);
    232236                printf(NAME ": Unable to register device\n");
Note: See TracChangeset for help on using the changeset viewer.