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 Be consistent and explicitly size r...



details:   https://anonhg.NetBSD.org/src/rev/01f94a779536
branches:  trunk
changeset: 991546:01f94a779536
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Jul 17 11:55:55 2018 +0000

description:
Be consistent and explicitly size register32_t too.

diffstat:

 sys/arch/aarch64/include/types.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 3132e631f50d -r 01f94a779536 sys/arch/aarch64/include/types.h
--- a/sys/arch/aarch64/include/types.h  Tue Jul 17 11:12:41 2018 +0000
+++ b/sys/arch/aarch64/include/types.h  Tue Jul 17 11:55:55 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: types.h,v 1.10 2018/07/17 00:34:11 christos Exp $ */
+/* $NetBSD: types.h,v 1.11 2018/07/17 11:55:55 joerg Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -55,9 +55,9 @@
 #define PRIuVSIZE      "lu"
 
 typedef __uint64_t register_t;
-typedef unsigned int register32_t;
+typedef __uint32_t register32_t;
 #define PRIxREGISTER   PRIx64
-#define PRIxREGISTER32 "x"
+#define PRIxREGISTER32 PRIx32
 
 typedef unsigned short tlb_asid_t;
 



Home | Main Index | Thread Index | Old Index