Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F136794813
D53818.id166751.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
739 B
Referenced Files
None
Subscribers
None
D53818.id166751.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
@@ -72,15 +72,11 @@
typedef __int64_t __intfptr_t;
typedef __uint64_t __uintptr_t;
typedef __uint64_t __uintfptr_t;
-typedef __uint64_t __vm_offset_t;
-typedef __uint64_t __vm_size_t;
#elif __SIZEOF_POINTER__ == 4
typedef __int32_t __intptr_t;
typedef __int32_t __intfptr_t;
typedef __uint32_t __uintptr_t;
typedef __uint32_t __uintfptr_t;
-typedef __uint32_t __vm_offset_t;
-typedef __uint32_t __vm_size_t;
#else
#error unsupported pointer size
#endif
@@ -109,6 +105,9 @@
typedef __size_t __ptraddr_t;
#endif
+typedef __ptraddr_t __vm_offset_t;
+typedef __size_t __vm_size_t;
+
/*
* Target-dependent type definitions.
*/
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 20, 2:42 PM (6 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25722835
Default Alt Text
D53818.id166751.diff (739 B)
Attached To
Mode
D53818: sys/_types.h: centralize __vm_offset_t and __vm_size_t definitions
Attached
Detach File
Event Timeline
Log In to Comment