PERFORCE change 162974 for review
Ulf Lilleengen
ulf.lilleengen at gmail.com
Thu May 28 23:01:12 UTC 2009
Arnar Mar Sig wrote:
> http://perforce.freebsd.org/chv.cgi?CH=162974
>
> Change 162974 by antab at antab_farm on 2009/05/28 21:27:21
>
> Add cpu_flush_dcache
>
> Affected files ...
>
> .. //depot/projects/avr32/src/sys/avr32/avr32/cpu.c#11 edit
>
> Differences ...
>
> ==== //depot/projects/avr32/src/sys/avr32/avr32/cpu.c#11 (text+ko) ====
>
> @@ -110,6 +110,16 @@
> ocdreg_write(DC, bit_offset(OCD, DC, RES));
> }
>
> +/*
> + * Flush the D-cache for non-DMA I/O so that the I-cache can
> + * be made coherent later.
> + */
> +void
> +cpu_flush_dcache(void *ptr, size_t len)
> +{
> + /* XXX: Todo */
> +}
> +
> /**
Btw, I have added support for cache operations like this in
avr32/avr32/cache.c for busdma.
--
Ulf Lilleengen
More information about the p4-projects
mailing list