DirectMapCache.mesa
Copyright © 1984, 1985 by Xerox Corporation. All rights reserved.
Last Edited by: Sindhu, April 28, 1985 10:52:56 pm PDT
DIRECTORY
CacheModels USING [Cache];
DirectMapCache: CEDAR DEFINITIONS = BEGIN
NewCache: PROC [lines: NAT ← 512, quadsPerLine: NAT ← 1, wordsPerQuad: NAT ← 4, realCache, mapCache: CacheModels.Cache ← NIL] RETURNS [cache: CacheModels.Cache];
Creates a new cache with the given configuration. If there is a real cache or a map cache to be used on cache misses, then it can also be supplied, but it is not necessary)
END.