Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142738892
D5020.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
947 B
Referenced Files
None
Subscribers
None
D5020.id.diff
View Options
Index: head/contrib/jemalloc/include/jemalloc/internal/jemalloc_internal.h
===================================================================
--- head/contrib/jemalloc/include/jemalloc/internal/jemalloc_internal.h
+++ head/contrib/jemalloc/include/jemalloc/internal/jemalloc_internal.h
@@ -253,6 +253,9 @@
# ifdef __powerpc__
# define LG_QUANTUM 4
# endif
+# ifdef __riscv__
+# define LG_QUANTUM 4
+# endif
# ifdef __s390__
# define LG_QUANTUM 4
# endif
Index: head/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h
===================================================================
--- head/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h
+++ head/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h
@@ -52,6 +52,9 @@
#elif defined(__powerpc__)
# define LG_SIZEOF_PTR 2
#endif
+#ifdef __riscv__
+# define LG_SIZEOF_PTR 3
+#endif
#ifndef JEMALLOC_TLS_MODEL
# define JEMALLOC_TLS_MODEL /* Default. */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 23, 10:47 PM (4 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27871949
Default Alt Text
D5020.id.diff (947 B)
Attached To
Mode
D5020: jemalloc: support for RISC-V
Attached
Detach File
Event Timeline
Log In to Comment