Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset c5747fe in mainline for uspace/srv/rd/rd.c


Ignore:
Timestamp:
2009-05-18T17:16:24Z (14 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial
Children:
1090b8c
Parents:
687246b
Message:

Rename ramdisk protocol → block device protocol.

File:
1 edited

Legend:

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

    r687246b rc5747fe  
    5454#include <stdio.h>
    5555#include <ipc/devmap.h>
    56 #include "rd.h"
     56#include <ipc/bd.h>
    5757
    5858#define NAME "rd"
     
    123123                        ipc_answer_0(callid, EOK);
    124124                        return;
    125                 case RD_READ_BLOCK:
     125                case BD_READ_BLOCK:
    126126                        offset = IPC_GET_ARG1(call);
    127127                        block_size = IPC_GET_ARG2(call);
     
    145145                        retval = EOK;
    146146                        break;
    147                 case RD_WRITE_BLOCK:
     147                case BD_WRITE_BLOCK:
    148148                        offset = IPC_GET_ARG1(call);
    149149                        block_size = IPC_GET_ARG2(call);
Note: See TracChangeset for help on using the changeset viewer.