Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/riscv/riscv Re-orgnaise a litte. From Simon.



details:   https://anonhg.NetBSD.org/src/rev/7bdd1c7b976a
branches:  trunk
changeset: 371901:7bdd1c7b976a
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Oct 16 06:19:16 2022 +0000

description:
Re-orgnaise a litte.  From Simon.

diffstat:

 sys/arch/riscv/riscv/riscv_machdep.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (37 lines):

diff -r c630e9f319a6 -r 7bdd1c7b976a sys/arch/riscv/riscv/riscv_machdep.c
--- a/sys/arch/riscv/riscv/riscv_machdep.c      Sun Oct 16 06:14:53 2022 +0000
+++ b/sys/arch/riscv/riscv/riscv_machdep.c      Sun Oct 16 06:19:16 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: riscv_machdep.c,v 1.21 2022/10/16 06:14:53 skrll Exp $ */
+/*     $NetBSD: riscv_machdep.c,v 1.22 2022/10/16 06:19:16 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014, 2019, 2022 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
 #include "opt_riscv_debug.h"
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: riscv_machdep.c,v 1.21 2022/10/16 06:14:53 skrll Exp $");
+__RCSID("$NetBSD: riscv_machdep.c,v 1.22 2022/10/16 06:19:16 skrll Exp $");
 
 #include <sys/param.h>
 
@@ -57,14 +57,14 @@
 #include <riscv/machdep.h>
 #include <riscv/pte.h>
 
+#include <libfdt.h>
+#include <dev/fdt/fdtvar.h>
+#include <dev/fdt/fdt_memory.h>
+
 int cpu_printfataltraps;
 char machine[] = MACHINE;
 char machine_arch[] = MACHINE_ARCH;
 
-#include <libfdt.h>
-#include <dev/fdt/fdtvar.h>
-#include <dev/fdt/fdt_memory.h>
-
 #ifdef VERBOSE_INIT_RISCV
 #define        VPRINTF(...)    printf(__VA_ARGS__)
 #else



Home | Main Index | Thread Index | Old Index