Module Name:    src
Committed By:   matt
Date:           Fri Jan  7 01:58:09 UTC 2011

Modified Files:
        src/sys/arch/powerpc/include [matt-nb5-pq3]: types.h

Log Message:
Add PRIx{P,V}{ADDR,SIZE} and PRIxREGISTER


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.33.32.1 src/sys/arch/powerpc/include/types.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/powerpc/include/types.h
diff -u src/sys/arch/powerpc/include/types.h:1.33 src/sys/arch/powerpc/include/types.h:1.33.32.1
--- src/sys/arch/powerpc/include/types.h:1.33	Thu Jan 31 05:30:00 2008
+++ src/sys/arch/powerpc/include/types.h	Fri Jan  7 01:58:09 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: types.h,v 1.33 2008/01/31 05:30:00 matt Exp $	*/
+/*	$NetBSD: types.h,v 1.33.32.1 2011/01/07 01:58:09 matt Exp $	*/
 
 /*-
  * Copyright (C) 1995 Wolfgang Solfrank.
@@ -42,6 +42,12 @@
 #if defined(_NETBSD_SOURCE)
 typedef	unsigned long	paddr_t, vaddr_t;
 typedef	unsigned long	psize_t, vsize_t;
+#define	PRIxPADDR	"lx"
+#define	PRIxPSIZE	"lx"
+#define	PRIuPSIZE	"lu"
+#define	PRIxVADDR	"lx"
+#define	PRIxVSIZE	"lx"
+#define	PRIuVSIZE	"lu"
 #endif
 
 /*

Reply via email to