|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 2353 (0x931)
Types: TextFile
Notes: R1k Text-file segment
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦03931f93a⟧
└─⟦this⟧
-- Copyright 1987, 1988 Verdix Corporation
----------------------------------------------------------------------
-- This package provides the M68000 processor family machine
-- configuration definitions and data structures used by the RTS Kernel.
----------------------------------------------------------------------
package v_cpu_conf is
pragma suppress(ALL_CHECKS);
pragma suppress(EXCEPTION_TABLES);
pragma not_elaborated;
--
-- Default trap numbers
--
DEFAULT_KRN_TRAP: constant := 0;
DEFAULT_TDM_TRAP: constant := 15;
--
-- Vector index for Trap 0
--
TRAP_0_VECTOR_NUMBER: constant := 32;
--
-- Status register masks
--
S_MASK: constant := 16#2000#; -- Supervisor/User state
NOT_S_MASK: constant := 16#dfff#;
M_MASK: constant := 16#1000#; -- Master/interrupt state
NOT_M_MASK: constant := 16#efff#;
IPL_MASK: constant := 16#0700#; -- Interrupt priority level
NOT_IPL_MASK: constant := 16#f8ff#;
-- Supervisor/User state bit number in upper byte of status register
S_BIT: constant := 5;
-- Master/interrupt state bit number in upper byte of status register
M_BIT: constant := 4;
-- Kernel status register: trace disabled, supervisor state, interrupt
-- state, interrupt priority = 7 (disabled)
KRN_STATUS: constant := 16#2700#;
-- User status register: trace disabled, user state, interrupt state,
-- interrupt priority = 0 (enabled)
USER_STATUS: constant := 16#0000#;
--
-- Exception stack frame offsets, masks and format types
--
SR_FRAME_OFFSET: constant := 0;
PC_FRAME_OFFSET: constant := 2;
FORMAT_VECTOR_FRAME_OFFSET: constant := 6;
INSTR_ADDR_FRAME_OFFSET: constant := 8;
MID_INSTR_INTERNAL_FRAME_OFFSET: constant := 12;
FORMAT_MASK: constant := 16#f000#;
VECTOR_OFFSET_MASK: constant := 16#0fff#;
SHORT_FORMAT: constant := 16#0000#;
THROWAWAY_FORMAT: constant := 16#1000#;
NORMAL_SIX_WORD_FORMAT: constant := 16#2000#;
COPROCESSOR_MID_INSTR_FORMAT: constant := 16#9000#;
end v_cpu_conf;