Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/oea Add some comments to help visually trac...
details: https://anonhg.NetBSD.org/src/rev/8a2d0311c601
branches: trunk
changeset: 959396:8a2d0311c601
user: thorpej <thorpej%NetBSD.org@localhost>
date: Fri Feb 12 23:40:02 2021 +0000
description:
Add some comments to help visually track the nested #ifdef blocks in
ofwoea_batinit().
diffstat:
sys/arch/powerpc/oea/ofwoea_machdep.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 9813e88afedd -r 8a2d0311c601 sys/arch/powerpc/oea/ofwoea_machdep.c
--- a/sys/arch/powerpc/oea/ofwoea_machdep.c Fri Feb 12 23:38:17 2021 +0000
+++ b/sys/arch/powerpc/oea/ofwoea_machdep.c Fri Feb 12 23:40:02 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ofwoea_machdep.c,v 1.50 2020/07/07 02:33:54 rin Exp $ */
+/* $NetBSD: ofwoea_machdep.c,v 1.51 2021/02/12 23:40:02 thorpej Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ofwoea_machdep.c,v 1.50 2020/07/07 02:33:54 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ofwoea_machdep.c,v 1.51 2021/02/12 23:40:02 thorpej Exp $");
#include "ksyms.h"
#include "wsdisplay.h"
@@ -510,7 +510,7 @@
0xf0000000, BAT_BL_256M,
0);
else
-#endif
+#endif /* PPC_OEA601 */
/*
* map to bats
*/
@@ -519,7 +519,7 @@
0xf8000000, BAT_BL_64M,
0xfe000000, BAT_BL_8M, /* Grackle IO */
0);
-#else
+#else /* ! macppc */
uint16_t bitmap;
int node, i;
@@ -537,7 +537,7 @@
DPRINTF("Batmapped 256M at 0x%x\n", 0x10000000 * i);
}
}
-#endif
+#endif /* macppc */
#endif /* OEA */
}
Home |
Main Index |
Thread Index |
Old Index