Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/aarch64/include Define PRIxPTE
details: https://anonhg.NetBSD.org/src/rev/1d11988f9929
branches: trunk
changeset: 454239:1d11988f9929
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Sep 11 18:23:31 2019 +0000
description:
Define PRIxPTE
diffstat:
sys/arch/aarch64/include/pte.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 037b3d28af17 -r 1d11988f9929 sys/arch/aarch64/include/pte.h
--- a/sys/arch/aarch64/include/pte.h Wed Sep 11 18:19:35 2019 +0000
+++ b/sys/arch/aarch64/include/pte.h Wed Sep 11 18:23:31 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pte.h,v 1.9 2019/09/11 18:19:35 skrll Exp $ */
+/* $NetBSD: pte.h,v 1.10 2019/09/11 18:23:31 skrll Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -36,7 +36,13 @@
#ifndef _LOCORE
typedef uint64_t pd_entry_t; /* L0(512G) / L1(1G) / L2(2M) table entry */
+
+#ifndef __BSD_PTENTRY_T__
+#define __BSD_PTENTRY_T__
typedef uint64_t pt_entry_t; /* L3(4k) table entry */
+#define PRIxPTE PRIx64
+#endif /* __BSD_PTENTRY_T__ */
+
#endif /* _LOCORE */
/*
Home |
Main Index |
Thread Index |
Old Index