-- VMMgr>Projection.mesa (last edited by Knutsen on February 25, 1980 3:49 PM)
DIRECTORY
CachedRegion: FROM "CachedRegion" USING [Desc],
VM: FROM "VM" USING [PageNumber];
Projection: DEFINITIONS =
BEGIN
DeleteSwapUnits: PROCEDURE [pageMember: VM.PageNumber];
-- Set region to hasSwapUnits=FALSE.
-- NOTE: modifies projection file only, does not update region cache; thus, the region desc must be flushed from the cache first.
ForceOut: PROCEDURE [pageMember: VM.PageNumber];
-- If descriptor for projection region containing pageMember is cached and dirty, clean it.
Get: PROCEDURE [pageMember: VM.PageNumber] RETURNS [CachedRegion.Desc];
-- Returns descriptor for projection region containing pageMember. Also, inserts it in the region cache.
Merge: PROCEDURE [pageNext: VM.PageNumber];
-- Removes the projection region boundary at pageNext.
-- NOTE: modifies projection file only, does not update region cache; thus, the region desc must be flushed from the cache first.
Split: PROCEDURE [pageNext: VM.PageNumber];
-- If there is not already a projection region boundary at pageNext, make one.
-- NOTE: modifies projection file only, does not update region cache; thus, the region desc must be flushed from the cache first.
Touch: PROCEDURE [pageMember: VM.PageNumber];
-- Ensure descriptor for projection region containing pageMember is cached
TranslateLevel: PROCEDURE [pageMember: VM.PageNumber, delta: INTEGER];
-- Add (signed) delta to level field of descriptor for region containing pageMember.
-- NOTE: modifies projection file only, does not update region cache; thus, the region desc must be flushed from the cache first.
END.
LOG
Time: Sometime in April 1978By: McJonesAction: Created file
Time: June 24, 1978 5:26 PMBy: McJonesAction: PageNumber moved to VM
Time: September 28, 1979 3:50 PMBy: KnutsenAction: Added documentation.
Time: February 25, 1980 3:50 PMBy: KnutsenAction: Added DeleteSwapUnits.