-- SpecialVolume.mesa (last edited by: Luniewski on: July 28, 1980 2:33 PM)
DIRECTORY
Boot USING [LVBootFiles, PVBootFiles],
PhysicalVolume USING [ID, PageNumber],
Volume USING [ID, nullID, PageCount];
SpecialVolume: DEFINITIONS =
BEGIN
LogicalVolumePageNumber: TYPE = LONG CARDINAL;
SubVolume: TYPE = RECORD[
lvID: Volume.ID,
subVolumeSize: Volume.PageCount,
firstLVPageNumber: LogicalVolumePageNumber,
firstPVPageNumber: PhysicalVolume.PageNumber];
nullSubVolume: SubVolume = [Volume.nullID, LAST[Volume.PageCount], LAST[LogicalVolumePageNumber], LAST[PhysicalVolume.PageNumber]];
SubVolumeUnknown: ERROR;
GetNextSubVolume: PROCEDURE [pvID: PhysicalVolume.ID, this: SubVolume] RETURNS [next: SubVolume];
-- Get/set boot file pointers
GetLogicalVolumeBootFiles: PROCEDURE [lvID: Volume.ID, pBootFiles: LONG POINTER TO Boot.LVBootFiles];
GetPhysicalVolumeBootFiles: PROCEDURE [pvID: PhysicalVolume.ID, pBootFiles: LONG POINTER TO Boot.PVBootFiles];
SetLogicalVolumeBootFiles: PROCEDURE [lvID: Volume.ID, pBootFiles: LONG POINTER TO Boot.LVBootFiles];
SetPhysicalVolumeBootFiles: PROCEDURE [pvID: PhysicalVolume.ID, pBootFiles: LONG POINTER TO Boot.PVBootFiles];
END.
LOG
Time: May 15, 1980 4:40 PMBy: McJonesAction: Equate PhysicalVolume.ID to same type in System
Time: June 28, 1980 5:23 PMBy: ForrestAction: Trim long. Eliminate procedures now defined in other interfaces, and ReGroup adding some comments about moving Procedures. Move [Get|Set][Logical|Physiccal]VolumeBootFiles to KernelFile, GetContaining PhysicalVolume to PhysicalVolume.
Time: July 13, 1980 9:15 PMBy: ForrestAction: Move most procedures elsewhere.
Time: July 28, 1980 2:33 PMBy: LuniewskiAction: Added nullSubVolume, SubVolumeUnknown.