Date:2011-04-28 16:57:21 (12 years 11 months ago)
Author:Werner Almesberger
Commit:e94b3bbcfc710341c7ebe8158973edb610ca0060
Message:ubb-vga2.c (line, frame): don't pass prefetch pointer but just use *p

Files: ubb-vga/ubb-vga2.c (3 diffs)

Change Details

ubb-vga/ubb-vga2.c
262262}
263263
264264
265static void line(const uint32_t *line, volatile const uint32_t *prefetch)
265static void line(const uint32_t *line)
266266{
267267    const uint32_t *p = line;
268268
...... 
344344    }
345345
346346fail:
347    (void) *prefetch;
347    (void) *(volatile const uint32_t *) p;
348348    until(line_cycles);
349349}
350350
...... 
385385    until(line_cycles-US(0.79));
386386
387387    for (p = f; p != f+YRES*line_words; p += line_words)
388        line(p, p+line_words);
388        line(p);
389389
390390    /* Back porch */
391391    hdelay(14);

Archive Download the corresponding diff file

Branches:
master



interactive