Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/riscv/include Use lower case for hex constants



details:   https://anonhg.NetBSD.org/src/rev/702258eb7021
branches:  trunk
changeset: 977998:702258eb7021
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Nov 07 14:48:45 2020 +0000

description:
Use lower case for hex constants

diffstat:

 sys/arch/riscv/include/vmparam.h |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (27 lines):

diff -r 086e57b5f845 -r 702258eb7021 sys/arch/riscv/include/vmparam.h
--- a/sys/arch/riscv/include/vmparam.h  Sat Nov 07 14:40:51 2020 +0000
+++ b/sys/arch/riscv/include/vmparam.h  Sat Nov 07 14:48:45 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.6 2020/10/06 13:42:03 christos Exp $     */
+/*     $NetBSD: vmparam.h,v 1.7 2020/11/07 14:48:45 skrll Exp $        */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -106,12 +106,12 @@
 #define VM_MIN_ADDRESS         ((vaddr_t)0x00000000)
 #ifdef _LP64   /* Sv39 */
 #define VM_MAXUSER_ADDRESS     ((vaddr_t)0x0000004000000000 - 16 * PAGE_SIZE)
-#define VM_MIN_KERNEL_ADDRESS  ((vaddr_t)0xFFFFFFC000000000)
-#define VM_MAX_KERNEL_ADDRESS  ((vaddr_t)0xFFFFFFD000000000) /* MIN + 64GB */
+#define VM_MIN_KERNEL_ADDRESS  ((vaddr_t)0xffffffc000000000)
+#define VM_MAX_KERNEL_ADDRESS  ((vaddr_t)0xffffffd000000000) /* MIN + 64GB */
 #else          /* Sv32 */
-#define VM_MAXUSER_ADDRESS     ((vaddr_t)-0x7fffffff-1)/* 0xFFFFFFFF80000000 */
-#define VM_MIN_KERNEL_ADDRESS  ((vaddr_t)-0x7fffffff-1)/* 0xFFFFFFFF80000000 */
-#define VM_MAX_KERNEL_ADDRESS  ((vaddr_t)-0x40000000)  /* 0xFFFFFFFFC0000000 */
+#define VM_MAXUSER_ADDRESS     ((vaddr_t)-0x7fffffff-1)/* 0xffffffff80000000 */
+#define VM_MIN_KERNEL_ADDRESS  ((vaddr_t)-0x7fffffff-1)/* 0xffffffff80000000 */
+#define VM_MAX_KERNEL_ADDRESS  ((vaddr_t)-0x40000000)  /* 0xffffffffc0000000 */
 #endif
 #define VM_MAX_ADDRESS         VM_MAXUSER_ADDRESS
 #define VM_MAXUSER_ADDRESS32   ((vaddr_t)(1UL << 31))/* 0x0000000080000000 */



Home | Main Index | Thread Index | Old Index