summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/include/types.h')
-rw-r--r--sys/powerpc/include/types.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/sys/powerpc/include/types.h b/sys/powerpc/include/types.h
index 4231ab0..8d6b107 100644
--- a/sys/powerpc/include/types.h
+++ b/sys/powerpc/include/types.h
@@ -49,20 +49,22 @@ typedef struct label_t {
} label_t;
#endif
-typedef unsigned int vm_offset_t;
-typedef __int64_t vm_ooffset_t;
-typedef unsigned int vm_pindex_t;
-typedef unsigned int vm_size_t;
+typedef unsigned int vm_offset_t;
+typedef __int64_t vm_ooffset_t;
+typedef unsigned int vm_pindex_t;
+typedef unsigned int vm_size_t;
typedef __int32_t register_t;
typedef __uint32_t u_register_t;
#ifdef _KERNEL
-typedef int intfptr_t;
-typedef unsigned int uintfptr_t;
+typedef int intfptr_t;
+typedef unsigned int uintfptr_t;
#endif
/* Interrupt mask (spl, xxx_imask, etc) */
typedef __uint32_t intrmask_t;
+typedef register_t critical_t;
+
#endif /* _MACHTYPES_H_ */
OpenPOWER on IntegriCloud