Add configuration for RISC-V ISA.

Reviewed by:	emaste
Sponsored by:	DARPA, AFRL
Sponsored by:	HEIF5
Differential Revision:	https://reviews.freebsd.org/D5020
This commit is contained in:
Ruslan Bukin 2016-01-22 16:37:26 +00:00
parent 60f9d31cd3
commit 47f9f6eb3a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=294573
2 changed files with 6 additions and 0 deletions

View file

@ -253,6 +253,9 @@ typedef unsigned szind_t;
# ifdef __powerpc__
# define LG_QUANTUM 4
# endif
# ifdef __riscv__
# define LG_QUANTUM 4
# endif
# ifdef __s390__
# define LG_QUANTUM 4
# endif

View file

@ -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. */