Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch/arm/include/arm32



> Module Name:	src
> Committed By:	christos
> Date:		Sat Jan 11 19:06:35 UTC 2020
> 
> Modified Files:
> 	src/sys/arch/arm/include/arm32: vmparam.h
> 
> Log Message:
> Define the min and max page size supported for the benefit of jemalloc
> 
> 
> To generate a diff of this commit:
> cvs rdiff -u -r1.45 -r1.46 src/sys/arch/arm/include/arm32/vmparam.h

--- src/sys/arch/arm/include/arm32/vmparam.h:1.45	Wed Jun 19 09:54:42 2019
+++ src/sys/arch/arm/include/arm32/vmparam.h	Sat Jan 11 19:06:34 2020
@@ -84,6 +84,11 @@
 #define	PAGE_SIZE	(1 << PAGE_SHIFT)
 #define	PAGE_MASK	(PAGE_SIZE - 1)
 
+#define	MIN_PAGE_SHIFT	12			/* normal */
+#define	MAX_PAGE_SHIFT	13			/* _ARM_ARCH_6 */
+#define	MIN_PAGE_SIZE	(1 << MIN_PAGE_SHIFT)
+#define	MAX_PAGE_SIZE	(1 << MAX_PAGE_SHIFT)
+
 /*
  * Mach derived constants
  */

---

m68k also needs this? (currently no common <m68k/vmparam.h> though)

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index