Module Name: src
Committed By: ryo
Date: Fri Jul 17 07:21:44 UTC 2020
Modified Files:
src/sys/arch/aarch64/aarch64: pmapboot.c
Log Message:
KNF. 80 cols, use tab.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/aarch64/aarch64/pmapboot.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/aarch64/aarch64/pmapboot.c
diff -u src/sys/arch/aarch64/aarch64/pmapboot.c:1.9 src/sys/arch/aarch64/aarch64/pmapboot.c:1.10
--- src/sys/arch/aarch64/aarch64/pmapboot.c:1.9 Fri Jul 17 07:16:10 2020
+++ src/sys/arch/aarch64/aarch64/pmapboot.c Fri Jul 17 07:21:44 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: pmapboot.c,v 1.9 2020/07/17 07:16:10 ryo Exp $ */
+/* $NetBSD: pmapboot.c,v 1.10 2020/07/17 07:21:44 ryo Exp $ */
/*
* Copyright (c) 2018 Ryo Shimizu <[email protected]>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmapboot.c,v 1.9 2020/07/17 07:16:10 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmapboot.c,v 1.10 2020/07/17 07:21:44 ryo Exp $");
#include "opt_arm_debug.h"
#include "opt_ddb.h"
@@ -264,7 +264,8 @@ pmapboot_enter(vaddr_t va, paddr_t pa, p
if (l0[idx0] == 0) {
l1 = pmapboot_pagealloc();
if (l1 == NULL) {
- VPRINTF("pmapboot_enter: cannot allocate L1 page\n");
+ VPRINTF("pmapboot_enter: "
+ "cannot allocate L1 page\n");
return -1;
}
@@ -308,7 +309,8 @@ pmapboot_enter(vaddr_t va, paddr_t pa, p
if (!l1pde_valid(l1[idx1])) {
l2 = pmapboot_pagealloc();
if (l2 == NULL) {
- VPRINTF("pmapboot_enter: cannot allocate L2 page\n");
+ VPRINTF("pmapboot_enter: "
+ "cannot allocate L2 page\n");
return -1;
}
@@ -351,7 +353,8 @@ pmapboot_enter(vaddr_t va, paddr_t pa, p
if (!l2pde_valid(l2[idx2])) {
l3 = pmapboot_pagealloc();
if (l3 == NULL) {
- VPRINTF("pmapboot_enter: cannot allocate L3 page\n");
+ VPRINTF("pmapboot_enter: "
+ "cannot allocate L3 page\n");
return -1;
}
@@ -403,7 +406,8 @@ pmapboot_enter(vaddr_t va, paddr_t pa, p
}
if (va == va_end && (llidx & 15) != 15) {
/* clear CONTIG flag after this pte entry */
- for (i = (llidx + 1); i < ((llidx + 16) & ~15); i++) {
+ for (i = (llidx + 1); i < ((llidx + 16) & ~15);
+ i++) {
ll[i] &= ~LX_BLKPAG_CONTIG;
}
}
@@ -445,7 +449,7 @@ pmapboot_pagealloc(void)
char *e = s + PAGE_SIZE;
while (s < e)
- *s++ = 0;
+ *s++ = 0;
return (pd_entry_t *)pa;
}