Changes in kernel/arch/arm32/src/mach/raspberrypi/raspberrypi.c [d1582b50:b67ce1ff] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/mach/raspberrypi/raspberrypi.c
rd1582b50 rb67ce1ff 94 94 { 95 95 bcm2835_timer_irq_ack(raspi.timer); 96 spinlock_unlock(&irq->lock);96 irq_spinlock_unlock(&irq->lock, false); 97 97 clock(); 98 spinlock_lock(&irq->lock);98 irq_spinlock_lock(&irq->lock, false); 99 99 } 100 100 … … 159 159 /* The IRQ handler was found. */ 160 160 irq->handler(irq); 161 spinlock_unlock(&irq->lock);161 irq_spinlock_unlock(&irq->lock, false); 162 162 } else { 163 163 /* Spurious interrupt. */ … … 174 174 { 175 175 #ifdef CONFIG_FB 176 uint32_t width, height; 176 177 fb_properties_t prop; 177 if (bcm2835_fb_init(&prop)) { 178 179 if (!bcm2835_mbox_get_fb_size(&width, &height)) { 180 printf("mbox: could not get the framebuffer size\n"); 181 width = 640; 182 height = 480; 183 } 184 if (bcm2835_fb_init(&prop, width, height)) { 178 185 outdev_t *fb_dev = fb_init(&prop); 179 186 if (fb_dev)
Note:
See TracChangeset
for help on using the changeset viewer.