CLEARCACHE(3spp) RISC/os Reference Manual CLEARCACHE(3spp)
NAME
clear_cache - clear address range from instruction and data
caches
SYNOPSIS
void clearcache(addr, bcnt);
char *addr;
unsigned bcnt;
DESCRIPTION
Clear_cache invalidates the cache for cache lines in the
range addr to addr+bcnt-1. The specified address range must
reside in k0seg, or if in kuseg or k2seg must be entirely
mapped by translation buffer entries that have caching
enabled.
SEE ALSO
flush_cache(3spp)
Printed 1/6/92 Page 1