Changeset c5747fe in mainline for uspace/lib/libc/include/ipc/bd.h


Ignore:
Timestamp:
2009-05-18T17:16:24Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1090b8c
Parents:
687246b
Message:

Rename ramdisk protocol → block device protocol.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/include/ipc/bd.h

    r687246b rc5747fe  
    11/*
    2  * Copyright (c) 2007 Michal Konopa
    3  * Copyright (c) 2007 Martin Jelen
    4  * Copyright (c) 2007 Peter Majer
    5  * Copyright (c) 2007 Jakub Jermar
     2 * Copyright (c) 2009 Jiri Svoboda
    63 * All rights reserved.
    74 *
     
    3027 */
    3128
    32 /** @addtogroup rd
     29/** @addtogroup libcipc
    3330 * @{
    3431 */
     32/** @file
     33 */
    3534
    36 /**
    37  * @file        rd.h
    38  * @brief       Initial RAM disk for HelenOS - header
    39  */
     35#ifndef LIBC_IPC_BD_H_
     36#define LIBC_IPC_BD_H_
    4037
    41 /* Basic constants. */
     38#include <ipc/ipc.h>
    4239
    43 #ifndef RD_RD_H_
    44 #define RD_RD_H_
    45 
    46 #define RD_BASE         1024
    47 #define RD_READ_BLOCK   (RD_BASE + 1)   /**< Method for reading block. */
    48 #define RD_WRITE_BLOCK  (RD_BASE + 2)   /**< Method for writing block. */
     40typedef enum {
     41        BD_READ_BLOCK = IPC_FIRST_USER_METHOD,
     42        BD_WRITE_BLOCK
     43} bd_request_t;
    4944
    5045#endif
     46
     47/** @}
     48 */
Note: See TracChangeset for help on using the changeset viewer.