Index: kernel/arch/ppc64/src/ppc64.c
===================================================================
--- kernel/arch/ppc64/src/ppc64.c	(revision 78595d6da1d919a9ecacafa878d040aaf6b4ce80)
+++ kernel/arch/ppc64/src/ppc64.c	(revision aca95f6bab0c00a09f8e69569a6f138fa736287f)
@@ -38,4 +38,5 @@
 #include <arch/interrupt.h>
 #include <genarch/fb/fb.h>
+#include <genarch/fb/visuals.h>
 #include <userspace.h>
 #include <proc/uarg.h>
@@ -69,5 +70,25 @@
 {
 	if (config.cpu_active == 1) {
-		fb_init(bootinfo.screen.addr, bootinfo.screen.width, bootinfo.screen.height, bootinfo.screen.bpp, bootinfo.screen.scanline, false);
+		/* Initialize framebuffer */
+		unsigned int visual;
+		
+		switch (bootinfo.screen.bpp) {
+		case 8:
+			visual = VISUAL_INDIRECT_8;
+			break;
+		case 16:
+			visual = VISUAL_RGB_5_5_5;
+			break;
+		case 24:
+			visual = VISUAL_RGB_8_8_8;
+			break;
+		case 32:
+			visual = VISUAL_RGB_0_8_8_8;
+			break;
+		default:
+			panic("Unsupported bits per pixel");
+		}
+		fb_init(bootinfo.screen.addr, bootinfo.screen.width, bootinfo.screen.height, bootinfo.screen.scanline, visual);
+		
 	
 		/* Merge all zones to 1 big zone */
