Chinaunix首页 | 论坛 | 博客
  • 博客访问: 46382
  • 博文数量: 19
  • 博客积分: 1416
  • 博客等级: 上尉
  • 技术积分: 210
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-19 11:33
文章分类
文章存档

2010年(10)

2009年(9)

我的朋友

分类:

2009-09-30 09:49:20

cacheFlush( )

NAME

cacheFlush( ) - flush all or some of a specified cache

SYNOPSIS

STATUS cacheFlush
    (
    CACHE_TYPE cache,         /* cache to flush */
    void *     address,       /* virtual address */
    size_t     bytes          /* number of bytes to flush */
    )

DESCRIPTION

This routine flushes (writes to memory) all or some of the entries in the specified cache. Depending on the cache design, this operation may also invalidate the cache tags. For write-through caches, no work needs to be done since RAM already matches the cached entries. Note that write buffers on the chip may need to be flushed to complete the flush.

RETURNS

OK, or ERROR if the cache type is invalid or the cache control is not supported.

阅读(1396) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~