Index: kernel/generic/include/macros.h
===================================================================
--- kernel/generic/include/macros.h	(revision 4bb31f7fb268426f499400dc8b2d9f6c6d3aaf65)
+++ kernel/generic/include/macros.h	(revision 9652bd59e77f347c04ec00c93fda8652cb52baa6)
@@ -63,4 +63,5 @@
 	return (s1 < e2) && (s2 < e1);
 }
+
 /* Compute overlapping of physical addresses */
 #define PA_overlaps(x, szx, y, szy)	overlaps(KA2PA(x), szx, KA2PA(y), szy)
Index: kernel/generic/src/interrupt/interrupt.c
===================================================================
--- kernel/generic/src/interrupt/interrupt.c	(revision 4bb31f7fb268426f499400dc8b2d9f6c6d3aaf65)
+++ kernel/generic/src/interrupt/interrupt.c	(revision 9652bd59e77f347c04ec00c93fda8652cb52baa6)
@@ -104,17 +104,31 @@
 static int exc_print_cmd(cmd_arg_t *argv)
 {
-	int i;
+	unsigned int i;
 	char *symbol;
 
 	spinlock_lock(&exctbl_lock);
-	printf("Exc Description Handler\n");
-	for (i=0; i < IVT_ITEMS; i++) {
-		symbol = get_symtab_entry((unative_t)exc_table[i].f);
+	
+	if (sizeof(void *) == 4) {
+		printf("Exc Description  Handler    Symbol\n");
+		printf("--- ------------ ---------- --------\n");
+	} else {
+		printf("Exc Description  Handler            Symbol\n");
+		printf("--- ------------ ------------------ --------\n");
+	}
+	
+	for (i = 0; i < IVT_ITEMS; i++) {
+		symbol = get_symtab_entry((unative_t) exc_table[i].f);
 		if (!symbol)
 			symbol = "not found";
-		printf("%d %s %.*p(%s)\n", i + IVT_FIRST, exc_table[i].name,
-		       sizeof(uintptr_t) * 2, exc_table[i].f,symbol);		
-		if (!((i+1) % 20)) {
-			printf("Press any key to continue.");
+		
+		if (sizeof(void *) == 4)
+			printf("%-3u %-12s %#10zx %s\n", i + IVT_FIRST, exc_table[i].name,
+				exc_table[i].f, symbol);
+		else
+			printf("%-3u %-12s %#18zx %s\n", i + IVT_FIRST, exc_table[i].name,
+				exc_table[i].f, symbol);
+		
+		if (((i + 1) % 20) == 0) {
+			printf(" -- Press any key to continue -- ");
 			spinlock_unlock(&exctbl_lock);
 			getc(stdin);
@@ -123,4 +137,5 @@
 		}
 	}
+	
 	spinlock_unlock(&exctbl_lock);
 	
Index: kernel/generic/src/mm/frame.c
===================================================================
--- kernel/generic/src/mm/frame.c	(revision 4bb31f7fb268426f499400dc8b2d9f6c6d3aaf65)
+++ kernel/generic/src/mm/frame.c	(revision 9652bd59e77f347c04ec00c93fda8652cb52baa6)
@@ -1121,13 +1121,27 @@
 	ipl = interrupts_disable();
 	spinlock_lock(&zones.lock);
-	printf("#  base address free frames  busy frames\n");
-	printf("-- ------------ ------------ ------------\n");
+	
+	if (sizeof(void *) == 4) {
+		printf("#  base address free frames  busy frames\n");
+		printf("-- ------------ ------------ ------------\n");
+	} else {
+		printf("#  base address         free frames  busy frames\n");
+		printf("-- -------------------- ------------ ------------\n");
+	}
+	
 	for (i = 0; i < zones.count; i++) {
 		zone = zones.info[i];
 		spinlock_lock(&zone->lock);
-		printf("%-2d %12p %12zd %12zd\n", i, PFN2ADDR(zone->base),
-		    zone->free_count, zone->busy_count);
+		
+		if (sizeof(void *) == 4)
+			printf("%-2d   %#10zx %12zd %12zd\n", i, PFN2ADDR(zone->base),
+			    zone->free_count, zone->busy_count);
+		else
+			printf("%-2d   %#18zx %12zd %12zd\n", i, PFN2ADDR(zone->base),
+			    zone->free_count, zone->busy_count);
+		
 		spinlock_unlock(&zone->lock);
 	}
+	
 	spinlock_unlock(&zones.lock);
 	interrupts_restore(ipl);
Index: kernel/generic/src/printf/printf_core.c
===================================================================
--- kernel/generic/src/printf/printf_core.c	(revision 4bb31f7fb268426f499400dc8b2d9f6c6d3aaf65)
+++ kernel/generic/src/printf/printf_core.c	(revision 9652bd59e77f347c04ec00c93fda8652cb52baa6)
@@ -459,5 +459,5 @@
  * 	- u	Print unsigned decimal number.
  *
- * 	- X, x	Print hexadecimal number with upper- or lower-case. Prefix isi
+ * 	- X, x	Print hexadecimal number with upper- or lower-case. Prefix is
  *		not printed by default.
  * 
Index: kernel/generic/src/proc/task.c
===================================================================
--- kernel/generic/src/proc/task.c	(revision 4bb31f7fb268426f499400dc8b2d9f6c6d3aaf65)
+++ kernel/generic/src/proc/task.c	(revision 9652bd59e77f347c04ec00c93fda8652cb52baa6)
@@ -421,8 +421,13 @@
 	char suffix;
 	order(task_get_accounting(t), &cycles, &suffix);
-			
-	printf("%-6llu %-10s %-3ld %#10zx %#10zx %9llu%c %7zd %6zd",
-	    t->taskid, t->name, t->context, t, t->as, cycles, suffix,
-	    t->refcount, atomic_get(&t->active_calls));
+	
+	if (sizeof(void *) == 4)
+		printf("%-6llu %-10s %-3ld %#10zx %#10zx %9llu%c %7zd %6zd",
+	    	t->taskid, t->name, t->context, t, t->as, cycles, suffix,
+		    t->refcount, atomic_get(&t->active_calls));
+	else
+		printf("%-6llu %-10s %-3ld %#18zx %#18zx %9llu%c %7zd %6zd",
+		    t->taskid, t->name, t->context, t, t->as, cycles, suffix,
+	    	t->refcount, atomic_get(&t->active_calls));
 	for (j = 0; j < IPC_MAX_PHONES; j++) {
 		if (t->phones[j].callee)
@@ -444,8 +449,15 @@
 	spinlock_lock(&tasks_lock);
 	
-	printf("taskid name       ctx address    as         cycles     threads "
-	    "calls  callee\n");
-	printf("------ ---------- --- ---------- ---------- ---------- ------- "
-	    "------ ------>\n");
+	if (sizeof(void *) == 4) {
+		printf("taskid name       ctx address    as         "
+			"cycles     threads calls  callee\n");
+		printf("------ ---------- --- ---------- ---------- "
+			"---------- ------- ------ ------>\n");
+	} else {
+		printf("taskid name       ctx address            as                 "
+			"cycles     threads calls  callee\n");
+		printf("------ ---------- --- ------------------ ------------------ "
+			"---------- ------- ------ ------>\n");
+	}
 
 	avltree_walk(&tasks_tree, task_print_walker, NULL);
Index: kernel/generic/src/proc/thread.c
===================================================================
--- kernel/generic/src/proc/thread.c	(revision 4bb31f7fb268426f499400dc8b2d9f6c6d3aaf65)
+++ kernel/generic/src/proc/thread.c	(revision 9652bd59e77f347c04ec00c93fda8652cb52baa6)
@@ -587,8 +587,13 @@
 	char suffix;
 	order(t->cycles, &cycles, &suffix);
-			
-	printf("%-6llu %-10s %#10zx %-8s %#10zx %-3ld %#10zx %#10zx %9llu%c ",
-	    t->tid, t->name, t, thread_states[t->state], t->task,
-	    t->task->context, t->thread_code, t->kstack, cycles, suffix);
+	
+	if (sizeof(void *) == 4)
+		printf("%-6llu %-10s %#10zx %-8s %#10zx %-3ld %#10zx %#10zx %9llu%c ",
+		    t->tid, t->name, t, thread_states[t->state], t->task,
+	    	t->task->context, t->thread_code, t->kstack, cycles, suffix);
+	else
+		printf("%-6llu %-10s %#18zx %-8s %#18zx %-3ld %#18zx %#18zx %9llu%c ",
+		    t->tid, t->name, t, thread_states[t->state], t->task,
+	    	t->task->context, t->thread_code, t->kstack, cycles, suffix);
 			
 	if (t->cpu)
@@ -597,6 +602,10 @@
 		printf("none");
 			
-	if (t->state == Sleeping)
-		printf(" %#10zx", t->sleep_queue);
+	if (t->state == Sleeping) {
+		if (sizeof(uintptr_t) == 4)
+			printf(" %#10zx", t->sleep_queue);
+		else
+			printf(" %#18zx", t->sleep_queue);
+	}
 			
 	printf("\n");
@@ -614,8 +623,19 @@
 	spinlock_lock(&threads_lock);
 	
-	printf("tid    name       address    state    task       ctx code    "
-	    "   stack      cycles     cpu  waitqueue\n");
-	printf("------ ---------- ---------- -------- ---------- --- --------"
-	    "-- ---------- ---------- ---- ---------\n");
+	if (sizeof(uintptr_t) == 4) {
+		printf("tid    name       address    state    task       "
+			"ctx code       stack      cycles     cpu  "
+			"waitqueue\n");
+		printf("------ ---------- ---------- -------- ---------- "
+			"--- ---------- ---------- ---------- ---- "
+			"----------\n");
+	} else {
+		printf("tid    name       address            state    task               "
+			"ctx code               stack              cycles     cpu  "
+			"waitqueue\n");
+		printf("------ ---------- ------------------ -------- ------------------ "
+			"--- ------------------ ------------------ ---------- ---- "
+			"------------------\n");
+	}
 
 	avltree_walk(&threads_tree, thread_walker, NULL);
