/kernel/trunk/arch/sparc64/src/console.c |
---|
80,7 → 80,7 |
dtlb_insert_mapping(FB_VIRT_ADDRESS, FB_PHYS_ADDRESS, PAGESIZE_4M, true, false); |
dtlb_insert_mapping(KBD_VIRT_ADDRESS, KBD_PHYS_ADDRESS, PAGESIZE_8K, true, false); |
fb_init(FB_VIRT_ADDRESS, FB_X_RES, FB_Y_RES, FB_COLOR_DEPTH/8); |
fb_init(FB_VIRT_ADDRESS, FB_X_RES, FB_Y_RES, FB_COLOR_DEPTH, FB_X_RES * FB_COLOR_DEPTH / 8); |
i8042_init(); |
} |
/kernel/trunk/arch/ppc32/src/console.c |
---|
26,6 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
#include <arch/boot/boot.h> |
#include <arch/console.h> |
#include <console/chardev.h> |
#include <console/console.h> |
35,6 → 36,6 |
/** Initialize console to use frame buffer. */ |
void ppc32_console_init(void) |
{ |
/* TODO: PCI detection etc. etc. - this is fine in PearPC for now */ |
fb_init(0xf0000000, 800, 600, 4); |
/* TODO: Framebuffer mapping */ |
fb_init(0xf0000000, bootinfo.screen.width, bootinfo.screen.height, bootinfo.screen.bpp, bootinfo.screen.scanline); |
} |
/kernel/trunk/arch/mips32/src/console.c |
---|
42,7 → 42,7 |
} else { |
msim_console(); |
#ifdef CONFIG_FB |
fb_init(0xb2000000, 640, 480, 3); // gxemul framebuffer |
fb_init(0xb2000000, 640, 480, 24, 1920); // gxemul framebuffer |
#endif |
} |
} |