--******************************************************************************************************************** -- Created: 9-Mar-2021 22:28:17 by OpenVMS SDL EV3-3 -- Source: 20-DEC-2005 17:17:54 $1$DGA8085:[LIB_ADA.LIS]BPTDEF.SDL;1 --******************************************************************************************************************** with SYSTEM; use SYSTEM; with STARLET; use STARLET; with CONDITION_HANDLING; use CONDITION_HANDLING; package BPTDEF is -- module $BPTDEF -- + -- -- Define bits which control which hardcoded calls to INI$BRK (the initial BPT) -- will be executed as a system is being booted. -- -- - BPT_M_INITBEGIN : constant := 16#00000001#; BPT_M_INITEND : constant := 16#00000002#; BPT_M_SMPSTART : constant := 16#00000004#; BPT_M_ANYMODE : constant := 16#00000008#; BPT_M_LDR_INIT : constant := 16#00000010#; BPT_M_PROCDUMP : constant := 16#00000020#; BPT_S_BPTDEF : constant := 4; -- Old size name, synonym type BPTMSK_TYPE is -- Initial BPT enable mask record INITBEGIN : BOOLEAN; -- BRK at start of INIT INITEND : BOOLEAN; -- BRK at end of INIT SMPSTART : BOOLEAN; -- BRK at INIT call to setup SMP ANYMODE : BOOLEAN; -- Trap to XDELTA in any mode LDR_INIT : BOOLEAN; -- BRK before calling init routines PROCDUMP : BOOLEAN; -- Trap to XDELTA before a process dump -- is written (requires ANYMODE be set too) FILLER_1 : UNSIGNED_26; end record; for BPTMSK_TYPE use record INITBEGIN at 0 range 0 .. 0; INITEND at 0 range 1 .. 1; SMPSTART at 0 range 2 .. 2; ANYMODE at 0 range 3 .. 3; LDR_INIT at 0 range 4 .. 4; PROCDUMP at 0 range 5 .. 5; FILLER_1 at 0 range 6 .. 31; end record; for BPTMSK_TYPE'SIZE use 32; BPTMSK_TYPE_INIT : constant BPTMSK_TYPE := (INITBEGIN => FALSE, INITEND => FALSE, SMPSTART => FALSE, ANYMODE => FALSE, LDR_INIT => FALSE, PROCDUMP => FALSE, FILLER_1 => 0); type BPT_TYPE is record BPTMSK : BPTMSK_TYPE; -- Initial BPT enable mask end record; for BPT_TYPE use record BPTMSK at 0 range 0 .. 31; end record; for BPT_TYPE'SIZE use 32; BPT_TYPE_INIT : constant BPT_TYPE := ( BPTMSK => BPTMSK_TYPE_INIT ); end BPTDEF;