Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F136792162
D53819.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
496 B
Referenced Files
None
Subscribers
None
D53819.diff
View Options
diff --git a/sys/sys/_types.h b/sys/sys/_types.h
--- a/sys/sys/_types.h
+++ b/sys/sys/_types.h
@@ -67,7 +67,12 @@
typedef __uint64_t __uint_least64_t;
typedef __uint64_t __uintmax_t;
-#if __SIZEOF_POINTER__ == 8
+#ifdef __CHERI__
+typedef __intcap_t __intptr_t;
+typedef __intcap_t __intfptr_t;
+typedef __uintcap_t __uintptr_t;
+typedef __uintcap_t __uintfptr_t;
+#elif __SIZEOF_POINTER__ == 8
typedef __int64_t __intptr_t;
typedef __int64_t __intfptr_t;
typedef __uint64_t __uintptr_t;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 20, 2:13 PM (33 m, 55 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25722928
Default Alt Text
D53819.diff (496 B)
Attached To
Mode
D53819: sys/_types.h: define __(u)int(f)ptr_t for CHERI
Attached
Detach File
Event Timeline
Log In to Comment