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