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/68674b727322
branches:  trunk
changeset: 459434:68674b727322
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 dc9c05ea3436 -r 68674b727322 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