/* * VID: [T1.2] PT: [Fri Apr 21 16:47:14 1995] SF: [osf.h] * TI: [/sae_users/cruz/bin/vice -iplatform.s -l// -p# -DEB164 -h -m -aeb164 ] */ #define __OSF_LOADED 1 /* ***************************************************************************** ** * ** Copyright © 1993, 1994 * ** by Digital Equipment Corporation, Maynard, Massachusetts. * ** * ** All Rights Reserved * ** * ** Permission is hereby granted to use, copy, modify and distribute * ** this software and its documentation, in both source code and * ** object code form, and without fee, for the purpose of distribution * ** of this software or modifications of this software within products * ** incorporating an integrated circuit implementing Digital's AXP * ** architecture, regardless of the source of such integrated circuit, * ** provided that the above copyright notice and this permission notice * ** appear in all copies, and that the name of Digital Equipment * ** Corporation not be used in advertising or publicity pertaining to * ** distribution of the document or software without specific, written * ** prior permission. * ** * ** Digital Equipment Corporation disclaims all warranties and/or * ** guarantees with regard to this software, including all implied * ** warranties of fitness for a particular purpose and merchantability, * ** and makes no representations regarding the use of, or the results * ** of the use of, the software and documentation in terms of correctness, * ** accuracy, reliability, currentness or otherwise; and you rely on * ** the software, documentation and results solely at your own risk. * ** * ** AXP is a trademark of Digital Equipment Corporation. * ** * ***************************************************************************** ** ** FACILITY: ** ** DECchip 21164 PALcode ** ** MODULE: ** ** osf.h ** ** MODULE DESCRIPTION: ** ** OSF/1 specific definitions ** ** AUTHOR: ER ** ** CREATION DATE: 24-Nov-1993 ** ** $Id: osf.h,v 1.1.1.1 1997/10/30 23:27:19 verghese Exp $ ** ** MODIFICATION HISTORY: ** ** $Log: osf.h,v $ ** Revision 1.1.1.1 1997/10/30 23:27:19 verghese ** current 10/29/97 ** ** Revision 1.11 1995/04/21 02:06:30 fdh ** Replaced C++ style comments with Standard C style comments. ** ** Revision 1.10 1994/09/26 14:17:47 samberg ** Complete VICE work and EB164/SD164 breakout. ** ** Revision 1.9 1994/07/26 17:39:10 samberg ** Changes for SD164. ** ** Revision 1.8 1994/07/08 17:03:48 samberg ** Changes to support platform specific additions ** ** Revision 1.7 1994/05/20 19:23:51 ericr ** Moved STACK_FRAME macro from osfpal.s to here ** ** Revision 1.6 1994/05/20 18:08:19 ericr ** Changed line comments to C++ style comment character ** ** Revision 1.5 1994/01/11 18:43:33 ericr ** Removed PAL version/revision and size constants ** ** Revision 1.4 1994/01/05 16:22:32 ericr ** Added more SCB vector offsets and MCHK error code ** ** Revision 1.3 1994/01/03 19:35:40 ericr ** Derive mask definitions from field constants ** ** Revision 1.2 1993/12/22 20:43:01 eric ** Added mask definitions for MCES bits ** ** Revision 1.1 1993/12/16 21:55:05 eric ** Initial revision ** ** **-- */ /* ** Seg0 and Seg1 Virtual Address (VA) Format ** ** Loc Size Name Function ** ----- ---- ---- --------------------------------- ** <42:33> 10 SEG1 First level page table offset ** <32:23> 10 SEG2 Second level page table offset ** <22:13> 10 SEG3 Third level page table offset ** <12:00> 13 OFFSET Byte within page offset */ #define VA_V_SEG1 33 #define VA_M_SEG1 (0x3FF< 32 PFN Page Frame Number ** <31:16> 16 SW Reserved for software ** <15:14> 2 RSV0 Reserved for hardware SBZ ** <13> 1 UWE User Write Enable ** <12> 1 KWE Kernel Write Enable ** <11:10> 2 RSV1 Reserved for hardware SBZ ** <9> 1 URE User Read Enable ** <8> 1 KRE Kernel Read Enable ** <7> 1 RSV2 Reserved for hardware SBZ ** <6:5> 2 GH Granularity Hint ** <4> 1 ASM Address Space Match ** <3> 1 FOE Fault On Execute ** <2> 1 FOW Fault On Write ** <1> 1 FOR Fault On Read ** <0> 1 V Valid */ #define PTE_V_PFN 32 #define PTE_M_PFN 0xFFFFFFFF00000000 #define PTE_V_SW 16 #define PTE_M_SW 0x00000000FFFF0000 #define PTE_V_UWE 13 #define PTE_M_UWE (1< 1 CM Current Mode ** <2:0> 3 IPL Interrupt Priority Level **/ #define PS_V_CM 3 #define PS_M_CM (1< 1 MIP Machine check in progress ** <1> 1 SCE System correctable error in progress ** <2> 1 PCE Processor correctable error in progress ** <3> 1 DPC Disable PCE error reporting ** <4> 1 DSC Disable SCE error reporting */ #define MCES_V_MIP 0 #define MCES_M_MIP (1< 8 ID Who-Am-I identifier ** <15:8> 1 SWAP Swap PALcode flag - character 'S' */ #define WHAMI_V_SWAP 8 #define WHAMI_M_SWAP (1<