Changeset 6a44ee4 in mainline for kernel/arch/mips64/include/types.h
- Timestamp:
- 2011-07-20T15:26:21Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- efcebe1
- Parents:
- 25bef0ff (diff), a701812 (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. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips64/include/types.h
r25bef0ff r6a44ee4 1 1 /* 2 * Copyright (c) 20 10Jakub Jermar2 * Copyright (c) 2003-2004 Jakub Jermar 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup libc29 /** @addtogroup mips64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef LIBC_ASYNC_SESS_H_36 #define LIBC_ASYNC_SESS_H_35 #ifndef KERN_mips64_TYPES_H_ 36 #define KERN_mips64_TYPES_H_ 37 37 38 #include <adt/list.h> 38 typedef uint64_t size_t; 39 typedef int64_t ssize_t; 40 41 typedef uint64_t uintptr_t; 42 typedef uint64_t pfn_t; 43 44 typedef uint64_t ipl_t; 45 46 typedef uint64_t sysarg_t; 47 typedef int64_t native_t; 48 typedef uint64_t atomic_count_t; 39 49 40 50 typedef struct { 41 int sess_phone; /**< Phone for cloning off the connections. */ 42 sysarg_t connect_arg1; /**< Argument for CONNECT_ME_TO. */ 43 link_t conn_head; /**< List of open data connections. */ 44 link_t sess_link; /**< Link in global list of open sessions. */ 45 } async_sess_t; 51 } fncptr_t; 46 52 47 extern void async_session_create(async_sess_t *, int, sysarg_t); 48 extern void async_session_destroy(async_sess_t *); 49 extern int async_exchange_begin(async_sess_t *); 50 extern void async_exchange_end(async_sess_t *, int); 53 #define INTN_C(c) INT64_C(c) 54 #define UINTN_C(c) UINT64_C(c) 55 56 #define PRIdn PRId64 /**< Format for native_t. */ 57 #define PRIun PRIu64 /**< Format for sysarg_t. */ 58 #define PRIxn PRIx64 /**< Format for hexadecimal sysarg_t. */ 59 #define PRIua PRIu64 /**< Format for atomic_count_t. */ 51 60 52 61 #endif
Note:
See TracChangeset
for help on using the changeset viewer.