CVS commit: src/sys/arch/iyonix/iyonix

2023-09-13 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Wed Sep 13 19:45:37 UTC 2023

Modified Files:
src/sys/arch/iyonix/iyonix: iyonix_machdep.c

Log Message:
fix printf format specifier for physmem.

fixes VERBOSE_INIT_ARM enabled build for iyonix.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/iyonix/iyonix/iyonix_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/iyonix/iyonix/iyonix_machdep.c
diff -u src/sys/arch/iyonix/iyonix/iyonix_machdep.c:1.32 src/sys/arch/iyonix/iyonix/iyonix_machdep.c:1.33
--- src/sys/arch/iyonix/iyonix/iyonix_machdep.c:1.32	Thu Apr 20 08:28:06 2023
+++ src/sys/arch/iyonix/iyonix/iyonix_machdep.c	Wed Sep 13 19:45:37 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: iyonix_machdep.c,v 1.32 2023/04/20 08:28:06 skrll Exp $	*/
+/*	$NetBSD: iyonix_machdep.c,v 1.33 2023/09/13 19:45:37 andvar Exp $	*/
 
 /*
  * Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -73,7 +73,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: iyonix_machdep.c,v 1.32 2023/04/20 08:28:06 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iyonix_machdep.c,v 1.33 2023/09/13 19:45:37 andvar Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -492,7 +492,7 @@ initarm(void *arg)
 
 #ifdef VERBOSE_INIT_ARM
 	/* Tell the user about the memory */
-	printf("physmemory: %d pages at 0x%08lx -> 0x%08lx\n", physmem,
+	printf("physmemory: %ld pages at 0x%08lx -> 0x%08lx\n", physmem,
 	physical_start, physical_end - 1);
 #endif
 



CVS commit: src/sys/arch/iyonix/iyonix

2023-09-13 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Wed Sep 13 19:45:37 UTC 2023

Modified Files:
src/sys/arch/iyonix/iyonix: iyonix_machdep.c

Log Message:
fix printf format specifier for physmem.

fixes VERBOSE_INIT_ARM enabled build for iyonix.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/iyonix/iyonix/iyonix_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/iyonix/iyonix

2023-04-21 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Apr 21 14:57:52 UTC 2023

Modified Files:
src/sys/arch/iyonix/iyonix: obio_space.c

Log Message:
Trailing whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/iyonix/iyonix/obio_space.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/iyonix/iyonix

2023-04-21 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Apr 21 14:57:52 UTC 2023

Modified Files:
src/sys/arch/iyonix/iyonix: obio_space.c

Log Message:
Trailing whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/iyonix/iyonix/obio_space.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/iyonix/iyonix/obio_space.c
diff -u src/sys/arch/iyonix/iyonix/obio_space.c:1.7 src/sys/arch/iyonix/iyonix/obio_space.c:1.8
--- src/sys/arch/iyonix/iyonix/obio_space.c:1.7	Fri Mar 16 17:56:33 2018
+++ src/sys/arch/iyonix/iyonix/obio_space.c	Fri Apr 21 14:57:52 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: obio_space.c,v 1.7 2018/03/16 17:56:33 ryo Exp $	*/
+/*	$NetBSD: obio_space.c,v 1.8 2023/04/21 14:57:52 skrll Exp $	*/
 
 /*
  * Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: obio_space.c,v 1.7 2018/03/16 17:56:33 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obio_space.c,v 1.8 2023/04/21 14:57:52 skrll Exp $");
 
 #include 
 #include 
@@ -153,7 +153,7 @@ obio_bs_map(void *t, bus_addr_t bpa, bus
 	endpa = round_page(bpa + size);
 	offset = bpa & PAGE_MASK;
 	startpa = trunc_page(bpa);
-		
+
 	va = uvm_km_alloc(kernel_map, endpa - startpa, 0,
 	UVM_KMF_VAONLY | UVM_KMF_NOWAIT);
 	if (va == 0)
@@ -201,7 +201,7 @@ obio_bs_unmap(void *t, bus_space_handle_
 	uvm_km_free(kernel_map, va, endva - va, UVM_KMF_VAONLY);
 }
 
-void
+void
 obio_bs_free(void *t, bus_space_handle_t bsh, bus_size_t size)
 {
 



CVS commit: src/sys/arch/iyonix/iyonix

2022-01-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jan  2 16:42:10 UTC 2022

Modified Files:
src/sys/arch/iyonix/iyonix: iyonix_machdep.c

Log Message:
fix the build.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/iyonix/iyonix/iyonix_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/iyonix/iyonix/iyonix_machdep.c
diff -u src/sys/arch/iyonix/iyonix/iyonix_machdep.c:1.30 src/sys/arch/iyonix/iyonix/iyonix_machdep.c:1.31
--- src/sys/arch/iyonix/iyonix/iyonix_machdep.c:1.30	Sat Apr 18 07:00:41 2020
+++ src/sys/arch/iyonix/iyonix/iyonix_machdep.c	Sun Jan  2 11:42:10 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: iyonix_machdep.c,v 1.30 2020/04/18 11:00:41 skrll Exp $	*/
+/*	$NetBSD: iyonix_machdep.c,v 1.31 2022/01/02 16:42:10 christos Exp $	*/
 
 /*
  * Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -73,7 +73,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: iyonix_machdep.c,v 1.30 2020/04/18 11:00:41 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iyonix_machdep.c,v 1.31 2022/01/02 16:42:10 christos Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -583,7 +583,9 @@ initarm(void *arg)
 	valloc_pages(kernelstack, UPAGES);
 
 	/* Allocate enough pages for cleaning the Mini-Data cache. */
+#ifdef DIAGNOSTIC
 	KASSERT(xscale_minidata_clean_size <= PAGE_SIZE);
+#endif
 	valloc_pages(minidataclean, 1);
 
 #ifdef VERBOSE_INIT_ARM



CVS commit: src/sys/arch/iyonix/iyonix

2022-01-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jan  2 16:42:10 UTC 2022

Modified Files:
src/sys/arch/iyonix/iyonix: iyonix_machdep.c

Log Message:
fix the build.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/iyonix/iyonix/iyonix_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.