| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: types.h,v 1.14 2016/01/31 05:21:53 christos Exp $ */ | | 1 | /* $NetBSD: types.h,v 1.15 2016/01/31 05:31:28 christos Exp $ */ |
2 | | | 2 | |
3 | /*- | | 3 | /*- |
4 | * Copyright (c) 2009 The NetBSD Foundation, Inc. | | 4 | * Copyright (c) 2009 The NetBSD Foundation, Inc. |
5 | * All rights reserved. | | 5 | * All rights reserved. |
6 | * | | 6 | * |
7 | * This code is derived from software contributed to The NetBSD Foundation | | 7 | * This code is derived from software contributed to The NetBSD Foundation |
8 | * by Andrew Doran. | | 8 | * by Andrew Doran. |
9 | * | | 9 | * |
10 | * Redistribution and use in source and binary forms, with or without | | 10 | * Redistribution and use in source and binary forms, with or without |
11 | * modification, are permitted provided that the following conditions | | 11 | * modification, are permitted provided that the following conditions |
12 | * are met: | | 12 | * are met: |
13 | * 1. Redistributions of source code must retain the above copyright | | 13 | * 1. Redistributions of source code must retain the above copyright |
14 | * notice, this list of conditions and the following disclaimer. | | 14 | * notice, this list of conditions and the following disclaimer. |
| @@ -105,27 +105,27 @@ typedef off_t off64_t; | | | @@ -105,27 +105,27 @@ typedef off_t off64_t; |
105 | typedef id_t taskid_t; | | 105 | typedef id_t taskid_t; |
106 | typedef id_t projid_t; | | 106 | typedef id_t projid_t; |
107 | typedef id_t poolid_t; | | 107 | typedef id_t poolid_t; |
108 | typedef id_t zoneid_t; | | 108 | typedef id_t zoneid_t; |
109 | typedef id_t ctid_t; | | 109 | typedef id_t ctid_t; |
110 | | | 110 | |
111 | #define B_FALSE 0 | | 111 | #define B_FALSE 0 |
112 | #define B_TRUE 1 | | 112 | #define B_TRUE 1 |
113 | typedef int boolean_t; | | 113 | typedef int boolean_t; |
114 | | | 114 | |
115 | typedef longlong_t hrtime_t; | | 115 | typedef longlong_t hrtime_t; |
116 | typedef int32_t t_scalar_t; | | 116 | typedef int32_t t_scalar_t; |
117 | typedef uint32_t t_uscalar_t; | | 117 | typedef uint32_t t_uscalar_t; |
118 | #ifdef _KERNTYPES | | 118 | #ifdef _KERNEL |
119 | typedef vsize_t pgcnt_t; | | 119 | typedef vsize_t pgcnt_t; |
120 | #endif | | 120 | #endif |
121 | typedef u_longlong_t len_t; | | 121 | typedef u_longlong_t len_t; |
122 | typedef int major_t; | | 122 | typedef int major_t; |
123 | typedef int minor_t; | | 123 | typedef int minor_t; |
124 | typedef int o_uid_t; | | 124 | typedef int o_uid_t; |
125 | typedef int o_gid_t; | | 125 | typedef int o_gid_t; |
126 | typedef struct kauth_cred cred_t; | | 126 | typedef struct kauth_cred cred_t; |
127 | typedef uintptr_t pc_t; | | 127 | typedef uintptr_t pc_t; |
128 | typedef struct vm_page page_t; | | 128 | typedef struct vm_page page_t; |
129 | typedef ushort_t o_mode_t; /* old file attribute type */ | | 129 | typedef ushort_t o_mode_t; /* old file attribute type */ |
130 | typedef u_longlong_t diskaddr_t; | | 130 | typedef u_longlong_t diskaddr_t; |
131 | typedef void *zone_t; | | 131 | typedef void *zone_t; |