Changeset 8b655705 in mainline for uspace/lib/c/include/ipc/common.h


Ignore:
Timestamp:
2011-04-15T19:38:07Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9dd730d1
Parents:
6b9e85b (diff), b2fb47f (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/common.h

    r6b9e85b r8b655705  
    11/*
    2  * Copyright (c) 2005 Sergey Bondari
     2 * Copyright (c) 2011 Martin Decky
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup amd64
     29/** @addtogroup libcipc
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef KERN_amd64_MEMSTR_H_
    36 #define KERN_amd64_MEMSTR_H_
     35#ifndef LIBC_IPC_COMMON_H_
     36#define LIBC_IPC_COMMON_H_
    3737
    38 #define memcpy(dst, src, cnt)  __builtin_memcpy((dst), (src), (cnt))
     38#include <sys/types.h>
     39#include <atomic.h>
     40#include <kernel/ipc/ipc.h>
    3941
    40 extern void memsetw(void *, size_t, uint16_t);
    41 extern void memsetb(void *, size_t, uint8_t);
     42#define IPC_FLAG_BLOCKING  0x01
     43
     44typedef struct {
     45        sysarg_t args[IPC_CALL_LEN];
     46        sysarg_t in_task_hash;
     47        sysarg_t in_phone_hash;
     48} ipc_call_t;
     49
     50typedef sysarg_t ipc_callid_t;
     51
     52extern atomic_t async_futex;
    4253
    4354#endif
Note: See TracChangeset for help on using the changeset viewer.