changeset b91bdbee66c3 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=b91bdbee66c3
description:
        Major clean up of alpha system files.

        console/Makefile:
        palcode/Makefile:
            moved header files to /h so updated make file for that
        console/dbmentry.s:
        console/paljtokern.s:
        console/paljtoslave.s:
            upadated to use osf file that the palcode uses, one less file

diffstat:

 system/alpha/console/Makefile                |    4 +-
 system/alpha/console/dbmentry.s              |    2 +-
 system/alpha/console/paljtokern.s            |    7 +-
 system/alpha/console/paljtoslave.s           |    7 +-
 system/alpha/h/cserve.h                      |  107 ++
 system/alpha/h/dc21164FromGasSources.h       |  965 +++++++++++++++++++++++++++
 system/alpha/h/ev5_alpha_defs.h              |  323 +++++++++
 system/alpha/h/ev5_defs.h                    |  575 ++++++++++++++++
 system/alpha/h/ev5_impure.h                  |  423 +++++++++++
 system/alpha/h/ev5_osfalpha_defs.h           |  160 ++++
 system/alpha/h/ev5_paldef.h                  |  185 +++++
 system/alpha/h/fromHudsonMacros.h            |  145 ++++
 system/alpha/h/fromHudsonOsf.h               |  554 +++++++++++++++
 system/alpha/h/platform.h                    |  251 +++++++
 system/alpha/h/simos.h                       |   16 +
 system/alpha/h/tlaserreg.h                   |  171 ++++
 system/alpha/palcode/Makefile                |    4 +-
 system/alpha/palcode/cserve.h                |  107 --
 system/alpha/palcode/dc21164.h               |  961 --------------------------
 system/alpha/palcode/dc21164FromGasSources.h |  965 ---------------------------
 system/alpha/palcode/ev5_alpha_defs.h        |  323 ---------
 system/alpha/palcode/ev5_defs.h              |  575 ----------------
 system/alpha/palcode/ev5_impure.h            |  423 -----------
 system/alpha/palcode/ev5_osfalpha_defs.h     |  160 ----
 system/alpha/palcode/ev5_paldef.h            |  185 -----
 system/alpha/palcode/fromHudsonMacros.h      |  145 ----
 system/alpha/palcode/fromHudsonOsf.h         |  554 ---------------
 system/alpha/palcode/macros.h                |  137 ---
 system/alpha/palcode/osf.h                   |  545 ---------------
 system/alpha/palcode/platform.h              |  251 -------
 system/alpha/palcode/simos.h                 |   16 -
 system/alpha/palcode/tlaserreg.h             |  171 ----
 system/alpha/palcode/xxm.sed                 |    5 -
 33 files changed, 3888 insertions(+), 5534 deletions(-)

diffs (truncated from 9586 to 300 lines):

diff -r f89e2d31764c -r b91bdbee66c3 system/alpha/console/Makefile
--- a/system/alpha/console/Makefile     Mon May 17 19:23:48 2004 -0400
+++ b/system/alpha/console/Makefile     Tue May 18 16:26:16 2004 -0400
@@ -33,11 +33,11 @@
        $(CC)  -g3 $(INCLUDES) -nostdinc++ -o $*.o -c $*.c
 
 paljtokern.s.o: paljtokern.s
-       g++ -I ../palcode -E -P -nostdinc -nostdinc++ -x c++ paljtokern.s | \
+       g++ -I ../h -E -P -nostdinc -nostdinc++ -x c++ paljtokern.s | \
        $(AS) -m 21164 -o paljtokern.s.o
 
 paljtoslave.s.o: paljtoslave.s
-       g++ -I ../palcode -E -P -nostdinc -nostdinc++ -x c++ paljtoslave.s | \
+       g++ -I ../h -E -P -nostdinc -nostdinc++ -x c++ paljtoslave.s | \
        $(AS) -m 21164 -o paljtoslave.s.o
 
 console: console.o dbmentry.o printf.o paljtokern.s.o paljtoslave.s.o 
diff -r f89e2d31764c -r b91bdbee66c3 system/alpha/console/dbmentry.s
--- a/system/alpha/console/dbmentry.s   Mon May 17 19:23:48 2004 -0400
+++ b/system/alpha/console/dbmentry.s   Tue May 18 16:26:16 2004 -0400
@@ -15,7 +15,7 @@
 #ifndef MAKEDEPEND
 #include "ev5_impure.h"
 #include "cserve.h"
-#include "osf.h"
+#include "fromHudsonOsf.h"
 #endif
 
 //#include "paldefs.h"
diff -r f89e2d31764c -r b91bdbee66c3 system/alpha/console/paljtokern.s
--- a/system/alpha/console/paljtokern.s Mon May 17 19:23:48 2004 -0400
+++ b/system/alpha/console/paljtokern.s Tue May 18 16:26:16 2004 -0400
@@ -1,6 +1,7 @@
-#include "dc21164.h"   // DECchip 21164 specific definitions
-#include "osf.h"       // OSF/1 specific definitions
-#include "macros.h"    // Global macro definitions
+#include "dc21164FromGasSources.h"     // DECchip 21164 specific definitions
+#include "ev5_defs.h" 
+#include "fromHudsonOsf.h"     // OSF/1 specific definitions
+#include "fromHudsonMacros.h"  // Global macro definitions
 #include "ev5_impure.h"        // Scratch & logout area data structures
 #include "platform.h"  // Platform specific definitions
 
diff -r f89e2d31764c -r b91bdbee66c3 system/alpha/console/paljtoslave.s
--- a/system/alpha/console/paljtoslave.s        Mon May 17 19:23:48 2004 -0400
+++ b/system/alpha/console/paljtoslave.s        Tue May 18 16:26:16 2004 -0400
@@ -1,6 +1,7 @@
-#include       "dc21164.h"     // DECchip 21164 specific definitions
-#include       "osf.h"         // OSF/1 specific definitions
-#include       "macros.h"      // Global macro definitions
+#include       "dc21164FromGasSources.h"       // DECchip 21164 specific 
definitions
+#include    "ev5_defs.h"
+#include       "fromHudsonOsf.h"               // OSF/1 specific definitions
+#include       "fromHudsonMacros.h"    // Global macro definitions
 #include       "ev5_impure.h"  // Scratch & logout area data structures
 #include       "platform.h"    // Platform specific definitions
 
diff -r f89e2d31764c -r b91bdbee66c3 system/alpha/h/cserve.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/system/alpha/h/cserve.h   Tue May 18 16:26:16 2004 -0400
@@ -0,0 +1,107 @@
+/*
+ *      VID: [T1.2] PT: [Fri Apr 21 16:47:20 1995] SF: [cserve.h]
+ *       TI: [/sae_users/cruz/bin/vice -iplatform.s -l// -p# -DEB164 -h -m 
-aeb164 ]
+ */
+#define        __CSERVE_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 OSF/1 PALcode
+**
+**  MODULE:
+**
+**     cserve.h
+**
+**  MODULE DESCRIPTION:
+**
+**      Platform specific cserve definitions.
+**
+**  AUTHOR: ES
+**
+**  CREATION DATE:  21-JUN-1994
+**
+**  $Id: cserve.h,v 1.1.1.1 1997/10/30 23:27:18 verghese Exp $
+**
+**  MODIFICATION HISTORY:
+**
+**  $Log: cserve.h,v $
+**  Revision 1.1.1.1  1997/10/30 23:27:18  verghese
+**  current 10/29/97
+**
+**  Revision 1.6  1995/04/03  17:29:52  samberg
+**  Add rd_bccfg_off
+**
+**  Revision 1.5  1995/02/02  19:31:34  samberg
+**  Added WR_BCACHE, deleted WR_BCCFG and WR_BCCTL
+**
+**  Revision 1.4  1994/12/08  17:13:34  samberg
+**  Add CSERVE_K_WR_BCCTL and CSERVE_K_WR_BCCFG
+**
+**  Revision 1.3  1994/11/30  15:59:30  samberg
+**  Use c-style comments for c compiler use
+**
+**  Revision 1.2  1994/11/22  19:02:46  samberg
+**  Add constants for ev4 backward compatibility
+**
+**  Revision 1.2  1994/11/22  19:02:46  samberg
+**  Add constants for ev4 backward compatibility
+**
+**  Revision 1.1  1994/07/08  17:01:40  samberg
+**  Initial revision
+**
+**
+*/
+
+/*
+** Console Service (cserve) sub-function codes:
+*/
+#define CSERVE_K_LDQP           0x01
+#define CSERVE_K_STQP           0x02
+#define CSERVE_K_JTOPAL         0x09
+#define CSERVE_K_WR_INT         0x0A
+#define CSERVE_K_RD_IMPURE      0x0B
+#define CSERVE_K_PUTC           0x0F
+#define CSERVE_K_WR_ICSR       0x10
+#define CSERVE_K_WR_ICCSR      0x10    /* for ev4 backwards compatibility */
+#define CSERVE_K_RD_ICSR       0x11
+#define CSERVE_K_RD_ICCSR      0x11    /* for ev4 backwards compatibility */
+#define CSERVE_K_RD_BCCTL      0x12
+#define CSERVE_K_RD_BCCFG      0x13
+
+#define CSERVE_K_WR_BCACHE      0x16
+
+#define CSERVE_K_RD_BCCFG_OFF   0x17
+#define CSERVE_K_JTOKERN       0x18
+
+
diff -r f89e2d31764c -r b91bdbee66c3 system/alpha/h/dc21164FromGasSources.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/system/alpha/h/dc21164FromGasSources.h    Tue May 18 16:26:16 2004 -0400
@@ -0,0 +1,965 @@
+#ifndef DC21164FROMGASSOURCES_INCLUDED
+#define        DC21164FROMGASSOURCES_INCLUDED  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:
+**
+**      dc21164.h
+**
+**  MODULE DESCRIPTION:
+**
+**      DECchip 21164 specific definitions
+**
+**  AUTHOR: ER
+**
+**  CREATION DATE:  24-Nov-1993
+**
+**  $Id: dc21164FromGasSources.h,v 1.1.1.1 1997/10/30 23:27:19 verghese Exp $
+**
+**  MODIFICATION HISTORY:
+**
+**  $Log: dc21164FromGasSources.h,v $
+**  Revision 1.1.1.1  1997/10/30 23:27:19  verghese
+**  current 10/29/97
+**
+**  Revision 1.1  1995/11/18 01:45:46  boyle
+**  Initial revision
+**
+**  Revision 1.15  1995/04/21  02:06:30  fdh
+**  Replaced C++ style comments with Standard C style comments.
+**
+**  Revision 1.14  1995/03/20  14:55:23  samberg
+**  Add flushIc to make Roger Cruz's life easier.
+**
+**  Revision 1.13  1994/12/14  15:52:48  samberg
+**  Add slXmit and slRcv bit definitions
+**
+**  Revision 1.12  1994/09/07  15:43:49  samberg
+**  Changes for Makefile.vpp, take out OSF definition
+**
+**  Revision 1.11  1994/07/26  17:38:35  samberg
+**  Changes for SD164.
+**
+**  Revision 1.10  1994/07/08  17:02:12  samberg
+**  Changes to support platform specific additions
+**
+**  Revision 1.8  1994/05/31  15:49:21  ericr
+**  Moved ptKdebug from pt10 to pt13; pt10 is used in MCHK flows
+**
+**  Revision 1.7  1994/05/26  19:29:51  ericr
+**  Added BC_CONFIG definitions
+**
+**  Revision 1.6  1994/05/25  14:27:25  ericr
+**  Added physical bit to ldq_lp and stq_cp macros
+**
+**  Revision 1.5  1994/05/20  18:07:50  ericr
+**  Changed line comments to C++ style comment character
+**
+**  Revision 1.4  1994/01/17  21:46:54  ericr
+**  Added floating point register definitions
+**
+**  Revision 1.3  1994/01/03  19:31:49  ericr
+**  Added cache parity error status register definitions
+**
+**  Revision 1.2  1993/12/22  20:42:35  eric
+**  Added ptTrap, ptMisc and flag definitions
+**  Added PAL shadow regsiter definitions
+**
+**  Revision 1.1  1993/12/16  21:55:05  eric
+**  Initial revision
+**
+**
+**--
+*/
+
+
+/*
+**
+**  INTERNAL PROCESSOR REGISTER DEFINITIONS
+**
+**  The internal processor register definitions below are annotated
+**  with one of the following symbols:
+**
+**     RW - The register may be read and written
+**     RO - The register may only be read
+**     WO - The register may only be written
+**
+**  For RO and WO registers, all bits and fields within the register are
+**  also read-only or write-only.  For RW registers, each bit or field
+**  within the register is annotated with one of the following:
+**
+**     RW  - The bit/field may be read and written
+**     RO  - The bit/field may be read; writes are ignored
+**     WO  - The bit/field may be written; reads return UNPREDICTABLE
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to