Changes in kernel/arch/arm32/src/mach/testarm/testarm.c [30885b9:a71c158] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/mach/testarm/testarm.c
r30885b9 ra71c158 57 57 58 58 struct arm_machine_ops machine_ops = { 59 MACHINE_GENFUNC,60 MACHINE_GENFUNC,61 59 gxemul_init, 62 60 gxemul_timer_irq_start, 63 61 gxemul_cpu_halt, 64 62 gxemul_get_memory_size, 65 gxemul_fb_init,66 63 gxemul_irq_exception, 67 gxemul_get_fb_address,68 64 gxemul_frame_init, 69 65 gxemul_output_init, … … 78 74 } 79 75 80 void gxemul_fb_init(void) 81 { 76 void gxemul_output_init(void) 77 { 78 #ifdef CONFIG_FB 82 79 fb_properties_t prop = { 83 80 .addr = GXEMUL_FB_ADDRESS, … … 88 85 .visual = VISUAL_RGB_8_8_8, 89 86 }; 90 fb_init(&prop); 91 } 92 93 void gxemul_output_init(void) 94 { 95 dsrlnout_init((ioport8_t *) gxemul_kbd); 87 88 outdev_t *fbdev = fb_init(&prop); 89 if (fbdev) 90 stdout_wire(fbdev); 91 #endif 92 93 #ifdef CONFIG_ARM_PRN 94 outdev_t *dsrlndev = dsrlnout_init((ioport8_t *) gxemul_kbd); 95 if (dsrlndev) 96 stdout_wire(dsrlndev); 97 #endif 96 98 } 97 99 … … 233 235 } 234 236 235 uintptr_t gxemul_get_fb_address()236 {237 return ((uintptr_t)GXEMUL_FB_ADDRESS);238 }239 240 241 237 /** @} 242 238 */
Note:
See TracChangeset
for help on using the changeset viewer.