Changeset 15d0046 in mainline for uspace/lib/c/include/ipc/chardev.h


Ignore:
Timestamp:
2014-09-12T13:22:33Z (10 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9b20126
Parents:
8db09e4 (diff), 105d8d6 (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 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/ipc/chardev.h

    r8db09e4 r15d0046  
    11/*
    2  * Copyright (c) 2003-2004 Jakub Jermar
     2 * Copyright (c) 2014 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup mips64
     29/** @addtogroup libcipc
    3030 * @{
    3131 */
    3232/** @file
     33 * @brief Character device interface.
    3334 */
    3435
    35 #ifndef KERN_mips64_CPU_H_
    36 #define KERN_mips64_CPU_H_
     36#ifndef LIBC_IPC_CHARDEV_H_
     37#define LIBC_IPC_CHARDEV_H_
    3738
    38 #include <typedefs.h>
    39 #include <arch/asm.h>
     39#include <ipc/common.h>
    4040
    41 typedef struct {
    42         uint32_t imp_num;
    43         uint32_t rev_num;
    44 } cpu_arch_t;
     41typedef enum {
     42        CHARDEV_READ = IPC_FIRST_USER_METHOD,
     43        CHARDEV_WRITE
     44} chardev_request_t;
    4545
    4646#endif
Note: See TracChangeset for help on using the changeset viewer.