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/fc3966d7b74c
branches:  trunk
changeset: 320738:fc3966d7b74c
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 8be68a1795fd -r fc3966d7b74c 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