? o
Index: pte.h
===================================================================
RCS file: /cvsroot/src/sys/arch/arm/include/arm32/pte.h,v
retrieving revision 1.20
diff -u -u -r1.20 pte.h
--- pte.h	19 Jun 2019 09:54:15 -0000	1.20
+++ pte.h	12 Jan 2020 18:15:38 -0000
@@ -92,28 +92,28 @@
 typedef uint32_t	pt_entry_t;	/* L2 table entry */
 #endif /* _LOCORE */
 
-#define	L1_SS_SIZE	0x01000000	/* 16M */
+#define	L1_SS_SIZE	0x01000000u	/* 16M */
 #define	L1_SS_OFFSET	(L1_SS_SIZE - 1)
 #define	L1_SS_FRAME	(~L1_SS_OFFSET)
 #define	L1_SS_SHIFT	24
 
-#define	L1_S_SIZE	0x00100000	/* 1M */
+#define	L1_S_SIZE	0x00100000u	/* 1M */
 #define	L1_S_OFFSET	(L1_S_SIZE - 1)
 #define	L1_S_FRAME	(~L1_S_OFFSET)
 #define	L1_S_SHIFT	20
 
-#define	L2_L_SIZE	0x00010000	/* 64K */
+#define	L2_L_SIZE	0x00010000u	/* 64K */
 #define	L2_L_OFFSET	(L2_L_SIZE - 1)
 #define	L2_L_FRAME	(~L2_L_OFFSET)
 #define	L2_L_SHIFT	16
 
 #define	L2_S_SEGSIZE	(PAGE_SIZE * L2_S_SIZE / 4)
-#define	L2_S_SIZE	0x00001000	/* 4K */
+#define	L2_S_SIZE	0x00001000u	/* 4K */
 #define	L2_S_OFFSET	(L2_S_SIZE - 1)
 #define	L2_S_FRAME	(~L2_S_OFFSET)
 #define	L2_S_SHIFT	12
 
-#define	L2_T_SIZE	0x00000400	/* 1K */
+#define	L2_T_SIZE	0x00000400u	/* 1K */
 #define	L2_T_OFFSET	(L2_T_SIZE - 1)
 #define	L2_T_FRAME	(~L2_T_OFFSET)
 #define	L2_T_SHIFT	10
@@ -129,8 +129,8 @@
 #define	L1_ADDR_BITS	0xfff00000	/* L1 PTE address bits */
 #define	L2_ADDR_BITS	0x000ff000	/* L2 PTE address bits */
 
-#define	L1_TABLE_SIZE	0x4000		/* 16K */
-#define	L2_TABLE_SIZE	0x1000		/* 4K */
+#define	L1_TABLE_SIZE	0x4000u		/* 16K */
+#define	L2_TABLE_SIZE	0x1000u		/* 4K */
 
 /*
  * The new pmap deals with the 1KB coarse L2 tables by
@@ -138,8 +138,8 @@
  * keep the old L2_TABLE_SIZE define lying around. Converted ports
  * should use L2_TABLE_SIZE_REAL until then.
  */
-#define	L1_TABLE_SIZE_REAL	0x4000	/* 16K */
-#define	L2_TABLE_SIZE_REAL	0x400	/* 1K */
+#define	L1_TABLE_SIZE_REAL	0x4000u	/* 16K */
+#define	L2_TABLE_SIZE_REAL	0x400u	/* 1K */
 
 /*
  * ARM L1 Descriptors