-- --**************************************************************************** --* * --* Copyright (c) 2001 * --* by DIGITAL Equipment Corporation, Maynard, Mass. * --* * --* This software is furnished under a license and may be used and copied * --* only in accordance with the terms of such license and with the * --* inclusion of the above copyright notice. This software or any other * --* copies thereof may not be provided or otherwise made available to any * --* other person. No title to and ownership of the software is hereby * --* transferred. * --* * --* The information in this software is subject to change without notice * --* and should not be construed as a commitment by DIGITAL Equipment * --* Corporation. * --* * --* DIGITAL assumes no responsibility for the use or reliability of its * --* software on equipment which is not supplied by DIGITAL. * --* * --**************************************************************************** --******************************************************************************************************************** -- Created: 15-MAR-2001 22:54:29 by OpenVMS SDL EV1-33 -- Source: 14-NOV-1991 17:38:44 $11$DUA933:[LIB_ADA.LIS]WSLDEF.SDL;1 --******************************************************************************************************************** with SYSTEM; use SYSTEM; with STARLET; use STARLET; with CONDITION_HANDLING; use CONDITION_HANDLING; package WSLDEF is -- module $WSLDEF --+ -- WORKING SET LIST DEFINITIONS --- WSL_M_VALID : constant := 16#00000001#; WSL_M_PAGTYP : constant := 16#0000000E#; WSL_M_PFNLOCK : constant := 16#00000010#; WSL_M_WSLOCK : constant := 16#00000020#; WSL_M_GOODPAGE : constant := 16#00000040#; WSL_M_MODIFY : constant := 16#00000100#; WSL_M_OFFSET : constant := 16#7FFFFE00#; WSL_C_LENGTH : constant := 4; -- SIZE OF WS LIST ENTRY -- WSL_C_PROCESS : constant := 0; -- PROCESS PAGE WSL_C_SYSTEM : constant := 2; -- SYSTEM PAGE WSL_C_GLOBAL : constant := 4; -- GLOBAL PAGE (READ ONLY) WSL_C_GBLWRT : constant := 6; -- GLOBAL WRITABLE PAGE WSL_C_PPGTBL : constant := 8; -- PROCESS PAGE TABLE WSL_C_GPGTBL : constant := 10; -- GLOBAL PAGE TABLE type WSL_TYPE is record VALID : BOOLEAN; -- WSL ENTRY VALID PAGTYP : UNSIGNED_3; -- PAGE TYPE (SEE PFNDEF FOR VALUES) PFNLOCK : BOOLEAN; -- PAGE FRAME LOCK -- THE PRECEDING 5 BITS MUST BE IN ORDER WSLOCK : BOOLEAN; -- WORKING SET LOCK GOODPAGE : BOOLEAN; -- THIS PAGE SHOULD REMAIN IN WS ONE MORE PASS FILLER_1 : BOOLEAN; -- SPARE BIT MODIFY : BOOLEAN; -- SAVED MODIFY BIT OFFSET : UNSIGNED_22; -- WSLE OFFSET FILLER_2 : BOOLEAN; end record; for WSL_TYPE use record VALID at 0 range 0 .. 0; PAGTYP at 0 range 1 .. 3; PFNLOCK at 0 range 4 .. 4; WSLOCK at 0 range 5 .. 5; GOODPAGE at 0 range 6 .. 6; FILLER_1 at 0 range 7 .. 7; MODIFY at 1 range 0 .. 0; OFFSET at 1 range 1 .. 22; FILLER_2 at 3 range 7 .. 7; end record; for WSL_TYPE'SIZE use 32; WSL_TYPE_INIT : constant WSL_TYPE := (VALID => FALSE, PAGTYP => 0, PFNLOCK => FALSE, WSLOCK => FALSE, GOODPAGE => FALSE, FILLER_1 => FALSE, MODIFY => FALSE, OFFSET => 0, FILLER_2 => FALSE); end WSLDEF;