Index: src/debug/print.c
===================================================================
--- src/debug/print.c	(revision 02a99d21d0192f978464b19bf7f00c5e24b276b7)
+++ src/debug/print.c	(revision 1eee8383af7d588119b3a08d9aae36b0319f7a7c)
@@ -111,4 +111,11 @@
  *      and printed as a NULL terminated string.
  * c    The next variant argument is treated as a single char.
+ * p    The next variant argument is treated as a maximum
+ *      bit-width integer with respect to architecture
+ *      and printed in full hexadecimal width.
+ * P    As with 'p', but '0x' is prefixed.
+ * q    The next variant argument is treated as a 64b integer
+ *      and printed in full hexadecimal width.
+ * Q    As with 'q', but '0x' is prefixed.
  * l    The next variant argument is treated as a 32b integer
  *      and printed in full hexadecimal width.
@@ -170,4 +177,16 @@
 		                 * Hexadecimal conversions with fixed width.
 		                 */
+				case 'P': 
+					print_str("0x");
+				case 'p':
+		    			print_fixed_hex(va_arg(ap, __native), sizeof(__native));
+					goto loop;
+
+				case 'Q': 
+					print_str("0x");
+				case 'q':
+		    			print_fixed_hex(va_arg(ap, __native), INT64);
+					goto loop;
+
 				case 'L': 
 					print_str("0x");
