Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/types.h
Show First 20 Lines • Show All 245 Lines • ▼ Show 20 Lines | |||||
#ifndef _CAP_RIGHTS_T_DECLARED | #ifndef _CAP_RIGHTS_T_DECLARED | ||||
#define _CAP_RIGHTS_T_DECLARED | #define _CAP_RIGHTS_T_DECLARED | ||||
struct cap_rights; | struct cap_rights; | ||||
typedef struct cap_rights cap_rights_t; | typedef struct cap_rights cap_rights_t; | ||||
#endif | #endif | ||||
/* | |||||
* Types suitable for exporting size and pointers (as virtual addresses) | |||||
* from the kernel independent of native word size. These should be | |||||
* used in place of size_t and (u)intptr_t in structs which contain such | |||||
* types that are shared with userspace. | |||||
*/ | |||||
typedef __uint64_t kvaddr_t; | |||||
typedef __uint64_t ksize_t; | |||||
typedef __vm_offset_t vm_offset_t; | typedef __vm_offset_t vm_offset_t; | ||||
typedef __int64_t vm_ooffset_t; | typedef __int64_t vm_ooffset_t; | ||||
typedef __vm_paddr_t vm_paddr_t; | typedef __vm_paddr_t vm_paddr_t; | ||||
typedef __uint64_t vm_pindex_t; | typedef __uint64_t vm_pindex_t; | ||||
typedef __vm_size_t vm_size_t; | typedef __vm_size_t vm_size_t; | ||||
typedef __rman_res_t rman_res_t; | typedef __rman_res_t rman_res_t; | ||||
▲ Show 20 Lines • Show All 167 Lines • Show Last 20 Lines |