359b47db97
original 2us are indeed not enough, 3us are working quite well on my tests. To be more safe set minimal period to 5us and to be even more safe replicate here from HPET mechanism of rereading counter after programming comparator. This change allows to handle 30K of short nanosleep() calls per second on Raspberry Pi instead of just 8K before. Discussed with: gonzo |
||
---|---|---|
.. | ||
bcm2835_dma.c | ||
bcm2835_dma.h | ||
bcm2835_fb.c | ||
bcm2835_gpio.c | ||
bcm2835_intr.c | ||
bcm2835_machdep.c | ||
bcm2835_mbox.c | ||
bcm2835_mbox.h | ||
bcm2835_sdhci.c | ||
bcm2835_systimer.c | ||
bcm2835_vcbus.h | ||
bcm2835_wdog.c | ||
bcm2835_wdog.h | ||
bus_space.c | ||
common.c | ||
dwc_otg_brcm.c | ||
files.bcm2835 |