HP copyrights

console/Makefile:
    Added copyright
    added CROSS_COMPILE variable
    removed install target
console/console.c:
console/dbmentry.S:
console/paljtokern.S:
console/paljtoslave.S:
console/printf.c:
h/cia.h:
h/cserve.h:
h/dc21164FromGasSources.h:
h/eb164.h:
h/ev5_alpha_defs.h:
h/ev5_defs.h:
h/ev5_impure.h:
h/ev5_osfalpha_defs.h:
h/ev5_paldef.h:
h/fromHudsonMacros.h:
h/fromHudsonOsf.h:
h/lib.h:
h/platform.h:
h/regdefs.h:
h/rpb.h:
palcode/Makefile:
palcode/osfpal.S:
palcode/osfpal_cache_copy.S:
palcode/osfpal_cache_copy_unaligned.S:
palcode/platform_m5.S:
palcode/platform_tlaser.S:
    added hp and our copyright
diff --git a/system/alpha/console/Makefile b/system/alpha/console/Makefile
index 766cf68..ca61a0f 100644
--- a/system/alpha/console/Makefile
+++ b/system/alpha/console/Makefile
@@ -1,3 +1,31 @@
+#Copyright (c) 2005 
+#The Regents of The University of Michigan
+#All Rights Reserved
+#
+#This code is part of the M5 simulator, developed by Nathan Binkert,
+#Erik Hallnor, Steve Raasch, and Steve Reinhardt, with contributions
+#from Ron Dreslinski, Dave Greene, Lisa Hsu, Ali Saidi, and Andrew
+#Schultz.
+#
+#Permission is granted to use, copy, create derivative works and
+#redistribute this software and such derivative works for any purpose,
+#so long as the copyright notice above, this grant of permission, and
+#the disclaimer below appear in all copies made; and so long as the
+#name of The University of Michigan is not used in any advertising or
+#publicity pertaining to the use or distribution of this software
+#without specific, written prior authorization.
+#
+#THIS SOFTWARE IS PROVIDED AS IS, WITHOUT REPRESENTATION FROM THE
+#UNIVERSITY OF MICHIGAN AS TO ITS FITNESS FOR ANY PURPOSE, AND WITHOUT
+#WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND, EITHER EXPRESS OR
+#IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF
+#MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE REGENTS OF
+#THE UNIVERSITY OF MICHIGAN SHALL NOT BE LIABLE FOR ANY DAMAGES,
+#INCLUDING DIRECT, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+#DAMAGES, WITH RESPECT TO ANY CLAIM ARISING OUT OF OR IN CONNECTION
+#WITH THE USE OF THE SOFTWARE, EVEN IF IT HAS BEEN OR IS HEREAFTER
+#ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
 DBMENTRY	= fffffc0000010000
 CFLAGS=-I . -I ../h -I$(M5)/dev -nostdinc++ -Wa,-m21164
 
@@ -5,10 +33,11 @@
 
 ### If we are not compiling on an alpha, we must use cross tools ###    
 ifneq ($(ARCHNAME), alpha)
-CC=alpha-unknown-linux-gnu-gcc
-AS=alpha-unknown-linux-gnu-as
-LD=alpha-unknown-linux-gnu-ld
+CROSS_COMPILE?=alpha-unknown-linux-gnu-
 endif
+CC=$(CROSS_COMPILE)gcc
+AS=$(CROSS_COMPILE)as
+LD=$(CROSS_COMPILE)ld
 
 OBJS=dbmentry.o printf.o paljtokern.o paljtoslave.o
 TLOBJS+=$(OBJS) console_tl.o
@@ -39,8 +68,5 @@
 console_tl: $(TLOBJS)
 	$(LD) -o console_tl  -N -Ttext $(DBMENTRY) -non_shared $(TLOBJS) -lc
 
-install: console
-	scp console zizzer.eecs.umich.edu:/z/m5/system/testing/binaries/console
-
 clean:
 	rm -f *.o console_t?
diff --git a/system/alpha/console/console.c b/system/alpha/console/console.c
index 2ab4c6e..f51d958 100644
--- a/system/alpha/console/console.c
+++ b/system/alpha/console/console.c
@@ -1,5 +1,53 @@
+/*
+Copyright (c) 2003, 2004
+The Regents of The University of Michigan
+All Rights Reserved
 
+This code is part of the M5 simulator, developed by Nathan Binkert,
+Erik Hallnor, Steve Raasch, and Steve Reinhardt, with contributions
+from Ron Dreslinski, Dave Greene, Lisa Hsu, Ali Saidi, and Andrew
+Schultz.
 
+Permission is granted to use, copy, create derivative works and
+redistribute this software and such derivative works for any purpose,
+so long as the copyright notice above, this grant of permission, and
+the disclaimer below appear in all copies made; and so long as the
+name of The University of Michigan is not used in any advertising or
+publicity pertaining to the use or distribution of this software
+without specific, written prior authorization.
+
+THIS SOFTWARE IS PROVIDED AS IS, WITHOUT REPRESENTATION FROM THE
+UNIVERSITY OF MICHIGAN AS TO ITS FITNESS FOR ANY PURPOSE, AND WITHOUT
+WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND, EITHER EXPRESS OR
+IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE REGENTS OF
+THE UNIVERSITY OF MICHIGAN SHALL NOT BE LIABLE FOR ANY DAMAGES,
+INCLUDING DIRECT, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WITH RESPECT TO ANY CLAIM ARISING OUT OF OR IN CONNECTION
+WITH THE USE OF THE SOFTWARE, EVEN IF IT HAS BEEN OR IS HEREAFTER
+ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+*/
+/*
+Copyright 1993 Hewlett-Packard Development Company, L.P.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
 /* ******************************************
  * SimOS SRM  Console
  *
diff --git a/system/alpha/console/dbmentry.S b/system/alpha/console/dbmentry.S
index f540d49..df7b39e 100644
--- a/system/alpha/console/dbmentry.S
+++ b/system/alpha/console/dbmentry.S
@@ -1,3 +1,53 @@
+/*
+Copyright (c) 2003, 2004
+The Regents of The University of Michigan
+All Rights Reserved
+
+This code is part of the M5 simulator, developed by Nathan Binkert,
+Erik Hallnor, Steve Raasch, and Steve Reinhardt, with contributions
+from Ron Dreslinski, Dave Greene, Lisa Hsu, Ali Saidi, and Andrew
+Schultz.
+
+Permission is granted to use, copy, create derivative works and
+redistribute this software and such derivative works for any purpose,
+so long as the copyright notice above, this grant of permission, and
+the disclaimer below appear in all copies made; and so long as the
+name of The University of Michigan is not used in any advertising or
+publicity pertaining to the use or distribution of this software
+without specific, written prior authorization.
+
+THIS SOFTWARE IS PROVIDED AS IS, WITHOUT REPRESENTATION FROM THE
+UNIVERSITY OF MICHIGAN AS TO ITS FITNESS FOR ANY PURPOSE, AND WITHOUT
+WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND, EITHER EXPRESS OR
+IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE REGENTS OF
+THE UNIVERSITY OF MICHIGAN SHALL NOT BE LIABLE FOR ANY DAMAGES,
+INCLUDING DIRECT, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WITH RESPECT TO ANY CLAIM ARISING OUT OF OR IN CONNECTION
+WITH THE USE OF THE SOFTWARE, EVEN IF IT HAS BEEN OR IS HEREAFTER
+ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+*/
+/*
+Copyright 1993 Hewlett-Packard Development Company, L.P.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
 
 /* taken from ebfw/rom/dbmentry.s */
 
diff --git a/system/alpha/console/paljtokern.S b/system/alpha/console/paljtokern.S
index e33177d..3e3ec6f 100644
--- a/system/alpha/console/paljtokern.S
+++ b/system/alpha/console/paljtokern.S
@@ -1,3 +1,53 @@
+/*
+Copyright (c) 2003, 2004
+The Regents of The University of Michigan
+All Rights Reserved
+
+This code is part of the M5 simulator, developed by Nathan Binkert,
+Erik Hallnor, Steve Raasch, and Steve Reinhardt, with contributions
+from Ron Dreslinski, Dave Greene, Lisa Hsu, Ali Saidi, and Andrew
+Schultz.
+
+Permission is granted to use, copy, create derivative works and
+redistribute this software and such derivative works for any purpose,
+so long as the copyright notice above, this grant of permission, and
+the disclaimer below appear in all copies made; and so long as the
+name of The University of Michigan is not used in any advertising or
+publicity pertaining to the use or distribution of this software
+without specific, written prior authorization.
+
+THIS SOFTWARE IS PROVIDED AS IS, WITHOUT REPRESENTATION FROM THE
+UNIVERSITY OF MICHIGAN AS TO ITS FITNESS FOR ANY PURPOSE, AND WITHOUT
+WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND, EITHER EXPRESS OR
+IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE REGENTS OF
+THE UNIVERSITY OF MICHIGAN SHALL NOT BE LIABLE FOR ANY DAMAGES,
+INCLUDING DIRECT, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WITH RESPECT TO ANY CLAIM ARISING OUT OF OR IN CONNECTION
+WITH THE USE OF THE SOFTWARE, EVEN IF IT HAS BEEN OR IS HEREAFTER
+ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+*/
+/*
+Copyright 1993 Hewlett-Packard Development Company, L.P.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
 #include "dc21164FromGasSources.h"	// DECchip 21164 specific definitions
 #include "ev5_defs.h"
 #include "fromHudsonOsf.h"	// OSF/1 specific definitions
diff --git a/system/alpha/console/paljtoslave.S b/system/alpha/console/paljtoslave.S
index ebf3029..add6fda 100644
--- a/system/alpha/console/paljtoslave.S
+++ b/system/alpha/console/paljtoslave.S
@@ -1,3 +1,53 @@
+/*
+Copyright (c) 2003, 2004
+The Regents of The University of Michigan
+All Rights Reserved
+
+This code is part of the M5 simulator, developed by Nathan Binkert,
+Erik Hallnor, Steve Raasch, and Steve Reinhardt, with contributions
+from Ron Dreslinski, Dave Greene, Lisa Hsu, Ali Saidi, and Andrew
+Schultz.
+
+Permission is granted to use, copy, create derivative works and
+redistribute this software and such derivative works for any purpose,
+so long as the copyright notice above, this grant of permission, and
+the disclaimer below appear in all copies made; and so long as the
+name of The University of Michigan is not used in any advertising or
+publicity pertaining to the use or distribution of this software
+without specific, written prior authorization.
+
+THIS SOFTWARE IS PROVIDED AS IS, WITHOUT REPRESENTATION FROM THE
+UNIVERSITY OF MICHIGAN AS TO ITS FITNESS FOR ANY PURPOSE, AND WITHOUT
+WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND, EITHER EXPRESS OR
+IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE REGENTS OF
+THE UNIVERSITY OF MICHIGAN SHALL NOT BE LIABLE FOR ANY DAMAGES,
+INCLUDING DIRECT, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WITH RESPECT TO ANY CLAIM ARISING OUT OF OR IN CONNECTION
+WITH THE USE OF THE SOFTWARE, EVEN IF IT HAS BEEN OR IS HEREAFTER
+ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+*/
+/*
+Copyright 1993 Hewlett-Packard Development Company, L.P.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
 #include	"dc21164FromGasSources.h"	// DECchip 21164 specific definitions
 #include    "ev5_defs.h"
 #include	"fromHudsonOsf.h"		// OSF/1 specific definitions
diff --git a/system/alpha/console/printf.c b/system/alpha/console/printf.c
index a26aa16..9a92036 100644
--- a/system/alpha/console/printf.c
+++ b/system/alpha/console/printf.c
@@ -1,28 +1,24 @@
-/*****************************************************************************
+/*
+Copyright 1993, 1994 Hewlett-Packard Development Company, L.P.
 
-       Copyright © 1993, 1994 Digital Equipment Corporation,
-                       Maynard, Massachusetts.
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
 
-                        All Rights Reserved
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
 
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted, provided
-that the copyright notice and this permission notice appear in all copies
-of software and supporting documentation, and that the name of Digital not
-be used in advertising or publicity pertaining to distribution of the software
-without specific, written prior permission. Digital grants this permission
-provided that you prominently mark, as not part of the original, any
-modifications made to this software or documentation.
-
-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.
-
-******************************************************************************/
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
 
 #ifndef LINT
 static char *rcsid = "$Id: printf.c,v 1.1.1.1 1997/10/30 23:27:12 verghese Exp $";
diff --git a/system/alpha/h/cia.h b/system/alpha/h/cia.h
index 737e3fb..864afb2 100644
--- a/system/alpha/h/cia.h
+++ b/system/alpha/h/cia.h
@@ -1,30 +1,29 @@
+/*
+Copyright 1993, 1994, 1995 Hewlett-Packard Development Company, L.P.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+
+
+
 #ifndef __CIA_H_LOADED
 #define __CIA_H_LOADED
-/*****************************************************************************
-
-       Copyright 1993, 1994, 1995 Digital Equipment Corporation,
-                       Maynard, Massachusetts.
-
-                        All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted, provided
-that the copyright notice and this permission notice appear in all copies
-of software and supporting documentation, and that the name of Digital not
-be used in advertising or publicity pertaining to distribution of the software
-without specific, written prior permission. Digital grants this permission
-provided that you prominently mark, as not part of the original, any
-modifications made to this software or documentation.
-
-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.
-
-******************************************************************************/
 
 /*
  *  $Id: cia.h,v 1.1.1.1 1997/10/30 23:27:14 verghese Exp $;
diff --git a/system/alpha/h/cserve.h b/system/alpha/h/cserve.h
index 47a30a0..1e42495 100644
--- a/system/alpha/h/cserve.h
+++ b/system/alpha/h/cserve.h
@@ -1,39 +1,33 @@
 /*
+Copyright 1993, 1994 Hewlett-Packard Development Company, L.P.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+
+
+/*
  *      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:
 **
diff --git a/system/alpha/h/dc21164FromGasSources.h b/system/alpha/h/dc21164FromGasSources.h
index 9b33892..bdb1251 100644
--- a/system/alpha/h/dc21164FromGasSources.h
+++ b/system/alpha/h/dc21164FromGasSources.h
@@ -1,37 +1,29 @@
+/*
+Copyright 1993 Hewlett-Packard Development Company, L.P.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+
 #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:
 **
diff --git a/system/alpha/h/eb164.h b/system/alpha/h/eb164.h
index b4fbd6b..7c9bff3 100644
--- a/system/alpha/h/eb164.h
+++ b/system/alpha/h/eb164.h
@@ -1,29 +1,27 @@
+/*
+Copyright 1993 Hewlett-Packard Development Company, L.P.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+
 #ifndef __EB164_H_LOADED
 #define __EB164_H_LOADED
-/*****************************************************************************
-
-Copyright © 1993, Digital Equipment Corporation, Maynard, Massachusetts.
-
-                        All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted, provided
-that the copyright notice and this permission notice appear in all copies
-of software and supporting documentation, and that the name of Digital not
-be used in advertising or publicity pertaining to distribution of the software
-without specific, written prior permission. Digital grants this permission
-provided that you prominently mark, as not part of the original, any
-modifications made to this software or documentation.
-
-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.
-
-******************************************************************************/
 
 /*
  *  $Id: eb164.h,v 1.1.1.1 1997/10/30 23:27:14 verghese Exp $;
diff --git a/system/alpha/h/ev5_alpha_defs.h b/system/alpha/h/ev5_alpha_defs.h
index 96769de..84faf92 100644
--- a/system/alpha/h/ev5_alpha_defs.h
+++ b/system/alpha/h/ev5_alpha_defs.h
@@ -1,3 +1,25 @@
+/*
+Copyright 1993 Hewlett-Packard Development Company, L.P.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+
 #ifndef EV5_ALPHA_DEFS_INCLUDED
 #define EV5_ALPHA_DEFS_INCLUDED 1
 
diff --git a/system/alpha/h/ev5_defs.h b/system/alpha/h/ev5_defs.h
index 110d338..fbbc580 100644
--- a/system/alpha/h/ev5_defs.h
+++ b/system/alpha/h/ev5_defs.h
@@ -1,3 +1,25 @@
+/*
+Copyright 1995 Hewlett-Packard Development Company, L.P.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+
 #ifndef EV5_DEFS_INCLUDED
 #define EV5_DEFS_INCLUDED 1
 
diff --git a/system/alpha/h/ev5_impure.h b/system/alpha/h/ev5_impure.h
index ffa910c..6ec838a 100644
--- a/system/alpha/h/ev5_impure.h
+++ b/system/alpha/h/ev5_impure.h
@@ -1,3 +1,25 @@
+/*
+Copyright 1993 Hewlett-Packard Development Company, L.P.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+
 #ifndef EV5_IMPURE_INCLUDED
 #define EV5_IMPURE_INCLUDED
 
diff --git a/system/alpha/h/ev5_osfalpha_defs.h b/system/alpha/h/ev5_osfalpha_defs.h
index 08a1100..6bc98de 100644
--- a/system/alpha/h/ev5_osfalpha_defs.h
+++ b/system/alpha/h/ev5_osfalpha_defs.h
@@ -1,3 +1,25 @@
+/*
+Copyright 1993 Hewlett-Packard Development Company, L.P.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+
 #ifndef EV5_OSFALPHA_DEFS_INCLUDED
 #define EV5_OSFALPHA_DEFS_INCLUDED 1
 
diff --git a/system/alpha/h/ev5_paldef.h b/system/alpha/h/ev5_paldef.h
index 5f9241b..d2262a4 100644
--- a/system/alpha/h/ev5_paldef.h
+++ b/system/alpha/h/ev5_paldef.h
@@ -1,3 +1,25 @@
+/*
+Copyright 1993 Hewlett-Packard Development Company, L.P.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+
 #ifndef EV5_PALDEF_INCLUDED
 #define EV5_PALDEF_INCLUDED 1
 
diff --git a/system/alpha/h/fromHudsonMacros.h b/system/alpha/h/fromHudsonMacros.h
index 4b22d87..e6c219e 100644
--- a/system/alpha/h/fromHudsonMacros.h
+++ b/system/alpha/h/fromHudsonMacros.h
@@ -1,3 +1,25 @@
+/*
+Copyright 1993, 1994 Hewlett-Packard Development Company, L.P.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+
 #ifndef HUDSON_MACROS_LOADED
 #define	HUDSON_MACROS_LOADED	    1
 
@@ -6,36 +28,6 @@
  *       TI: [/sae_users/cruz/bin/vice -iplatform.s -l// -p# -DEB164 -h -m -aeb164 ]
  */
 /*
-*****************************************************************************
-**                                                                          *
-**  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:
 **
diff --git a/system/alpha/h/fromHudsonOsf.h b/system/alpha/h/fromHudsonOsf.h
index f9cb2f7..647b1e9 100644
--- a/system/alpha/h/fromHudsonOsf.h
+++ b/system/alpha/h/fromHudsonOsf.h
@@ -1,3 +1,25 @@
+/*
+Copyright 1993, 1994 Hewlett-Packard Development Company, L.P.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+
 #ifndef FROMHUDSONOSF_INCLUDED
 #define FROMHUDSONOSF_INCLUDED 1
 /*
@@ -6,36 +28,6 @@
  */
 #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:
 **
diff --git a/system/alpha/h/lib.h b/system/alpha/h/lib.h
index cdfa286..2b48372 100644
--- a/system/alpha/h/lib.h
+++ b/system/alpha/h/lib.h
@@ -1,30 +1,28 @@
+/*
+Copyright 1993, 1994Hewlett-Packard Development Company, L.P.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+
+
 #ifndef __LIB_H_LOADED
 #define __LIB_H_LOADED
-/*****************************************************************************
-
-       Copyright © 1993, 1994 Digital Equipment Corporation,
-                       Maynard, Massachusetts.
-
-                        All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted, provided
-that the copyright notice and this permission notice appear in all copies
-of software and supporting documentation, and that the name of Digital not
-be used in advertising or publicity pertaining to distribution of the software
-without specific, written prior permission. Digital grants this permission
-provided that you prominently mark, as not part of the original, any
-modifications made to this software or documentation.
-
-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.
-
-******************************************************************************/
 
 /*
  *  $Id: lib.h,v 1.1.1.1 1997/10/30 23:27:16 verghese Exp $;
diff --git a/system/alpha/h/platform.h b/system/alpha/h/platform.h
index a7777d9..368152e 100644
--- a/system/alpha/h/platform.h
+++ b/system/alpha/h/platform.h
@@ -1,39 +1,32 @@
 /*
+Copyright 1993, 1994 Hewlett-Packard Development Company, L.P.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+
+
+/*
  *      VID: [T1.2] PT: [Fri Apr 21 16:47:18 1995] SF: [platform.h]
  *       TI: [/sae_users/cruz/bin/vice -iplatform.s -l// -p# -DEB164 -h -m -aeb164 ]
  */
 #define	__PLATFORM_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:
 **
diff --git a/system/alpha/h/regdefs.h b/system/alpha/h/regdefs.h
index 3af0004..3a12b8c 100644
--- a/system/alpha/h/regdefs.h
+++ b/system/alpha/h/regdefs.h
@@ -1,30 +1,28 @@
+/*
+Copyright 1993Hewlett-Packard Development Company, L.P.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+
+
 #ifndef __REGDEFS_H_LOADED
 #define __REGDEFS_H_LOADED
-/*****************************************************************************
-
-       Copyright © 1993, 1994 Digital Equipment Corporation,
-                       Maynard, Massachusetts.
-
-                        All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted, provided
-that the copyright notice and this permission notice appear in all copies
-of software and supporting documentation, and that the name of Digital not
-be used in advertising or publicity pertaining to distribution of the software
-without specific, written prior permission. Digital grants this permission
-provided that you prominently mark, as not part of the original, any
-modifications made to this software or documentation.
-
-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.
-
-******************************************************************************/
 
 /*
  *  $Id: regdefs.h,v 1.1.1.1 1997/10/30 23:27:17 verghese Exp $;
diff --git a/system/alpha/h/rpb.h b/system/alpha/h/rpb.h
index f23afda..225aec2 100644
--- a/system/alpha/h/rpb.h
+++ b/system/alpha/h/rpb.h
@@ -1,28 +1,28 @@
 /*
+Copyright 1990 Hewlett-Packard Development Company, L.P.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+
+/*
  *	"@(#)rpb.h	9.2	(ULTRIX/OSF)	10/30/91"
  */
-/************************************************************************
- *									*
- *			Copyright (c) 1990 by				*
- *		Digital Equipment Corporation, Maynard, MA		*
- *			All rights reserved.				*
- *									*
- *   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.	*
- *									*
- ************************************************************************/
-
 /*
  * Defines for the architected startup addresses.
  */
diff --git a/system/alpha/h/tlaserreg.h b/system/alpha/h/tlaserreg.h
deleted file mode 100644
index 7a8d9d9..0000000
--- a/system/alpha/h/tlaserreg.h
+++ /dev/null
@@ -1,171 +0,0 @@
-/* $Id: tlaserreg.h,v 1.3 2002/10/27 14:28:17 binkertn Exp $ */
-/*
- * Copyright (C) 1998 by the Board of Trustees
- *    of Leland Stanford Junior University.
- * Copyright (C) 1998 Digital Equipment Corporation
- *
- * This file is part of the SimOS distribution.
- * See LICENSE file for terms of the license.
- *
- */
-
-#ifndef __TLASERREG_H__
-#define __TLASERREG_H__
-
-///////////////////////////////////////////////////////////////////////
-//
-// This file is also included to build the palcode
-//
-
-// Common module defines
-#define TLDEV_REG		0x00
-#define TLBER_REG		0x40
-#define TLCNR_REG		0x80
-#define TLFADR0_REG		0x600
-#define TLFADR1_REG		0x640
-#define TLESR0_REG		0x680
-#define TLESR1_REG		0x6c0
-#define TLESR2_REG		0x700
-#define TLESR3_REG		0x740
-
-// I/O Module defines
-#define TLMMR0_REG		0x200
-#define TLMMR1_REG		0x240
-#define TLMMR2_REG		0x280
-#define TLMMR3_REG		0x2c0
-#define TLMMR4_REG		0x300
-#define TLMMR5_REG		0x340
-#define TLMMR6_REG		0x380
-#define TLMMR7_REG		0x3c0
-#define TLCPUMASK_REG		0x0b00
-#define TLILID0_REG		0xa00
-#define TLILID1_REG		0xa40
-#define TLILID2_REG		0xa80
-#define TLILID3_REG		0xac0
-#define TLMBPR_REG		0xc00
-#define ICCMSR_REG		0x2000
-#define ICCMTR_REG		0x20c0
-#define ICCWTR_REG		0x2100
-#define ICCNSE_REG		0x2040
-#define IDPNSE0_REG		0x2a40
-#define IDPNSE1_REG		0x2140
-#define IDPNSE2_REG		0x2240
-#define IDPNSE3_REG		0x2340
-#define IDPVR_REG		0x2b40
-#define IDPDR0_REG		0x2a80
-#define IDPDR1_REG		0x2180
-#define IDPDR2_REG		0x2280
-#define IDPDR3_REG		0x2380
-
-// CPU Module defines
-#define CPU0_OFFSET		0x0000
-#define CPU1_OFFSET		0x0040
-#define TLVID_REG		0x00c0
-#define TLDIAG_REG		0x1000
-#define TLMODCONFIG_REG		0x10c0
-#define TLINTRMASK0_REG		0x1100
-#define TLINTRMASK1_REG		0x1140
-#define TLINTRSUM0_REG		0x1180
-#define TLINTRSUM1_REG		0x11c0
-#define TLEPAERR_REG		0x1500
-#define TLEPDERR_REG		0x1540
-#define TLEPMERR_REG		0x1580
-#define TLEP_VMG_REG		0x15c0
-#define TLEPWERR_REG		0x1600
-
-// Memory Module defines
-#define MCR_REG			0x1880
-#define MIR_REG			0x1840
-#define MDRA_REG		0x1980
-#define MER_REG			0x1940
-#define DDR0_REG		0x10140
-#define DDR1_REG		0x14140
-#define DDR2_REG		0x18140
-#define DDR3_REG		0x1c140
-
-// Broadcast defines
-#define BROADCAST_NODE		0x18
-#define TLIPINTR_REG		0x40
-
-// GBUS defines
-#define GBUS_BASE		ULL(0xfffffcff90000000)
-#define GBUS_BIT_SHIFT		0x06
-#define FLASH_BASE		0x07000000
-#define UART_BASE		0x10000000
-#define WATCH_CSR_BASE		0x20000000
-#define WHATAMI_REG		0x30000000
-#define MISCR_REG		0x34000000
-#define SERNUM_REG		0x37000000
-
-// RTC defines
-#define RTC_SECOND		0	// second of minute [0..59]
-#define RTC_SECOND_ALARM	1	// seconds to alarm
-#define RTC_MINUTE		2	// minute of hour [0..59]
-#define RTC_MINUTE_ALARM	3	// minutes to alarm
-#define RTC_HOUR		4	// hour of day [0..23]
-#define RTC_HOUR_ALARM		5	// hours to alarm
-#define RTC_DAY_OF_WEEK		6	// day of week [1..7]
-#define RTC_DAY_OF_MONTH	7	// day of month [1..31]
-#define RTC_MONTH		8	// month of year [1..12]
-#define RTC_YEAR		9	// year [00..99]
-#define RTC_CONTROL_REGISTERA	10	// control register A
-#define RTC_CONTROL_REGISTERB	11	// control register B
-#define RTC_CONTROL_REGISTERC	12	// control register C
-#define RTC_CONTROL_REGISTERD	13	// control register D
-#define RTC_REGNUMBER_RTC_CR1	0x6A	// control register 1
-
-// Other defines
-#define DEVICE_TYPE_TIOP	0x2000
-#define DEVICE_TYPE_MEM		0x4000
-#define DEVICE_TYPE_CPU		0x8000
-
-
-///////////////////////////////////////////////////////////////////////
-//
-// litterals used in the platform_tlaser.s file.
-//
-// -DBUILD_PALCODE is only defined then. The compilation does include
-// this file from the simulation source tree.
-//
-// It is NOT an obsolete compilation option
-//
-
-#ifdef BUILD_PALCODE
-
-#define  tlep_lintrsum0_offset   0x1180
-#define  tlep_lintrsum1_offset   0x11c0
-#define  tlep_tlintrsum0_offset  tlep_lintrsum0_offset
-#define  tlep_tlintrsum1_offset  tlep_lintrsum1_offset
-#define  tlep_watch_csrc_offset  (RTC_CONTROL_REGISTERC <<GBUS_BIT_SHIFT)
-
-#define  tlsb_tlber              TLBER_REG
-#define  tlsb_tlber_offset       tlsb_tlber /* ??? */
-#define  tlsb_tldev              TLDEV_REG
-#define  tlsb_tlesr0             TLESR0_REG
-#define  tlsb_tlesr1             TLESR1_REG
-#define  tlsb_tlesr2             TLESR2_REG
-#define  tlsb_tlesr3             TLESR3_REG
-
-
-#define  tlsb_tlilid0_offset     TLILID0_REG
-#define  tlsb_tlilid1_offset     TLILID1_REG
-#define  tlsb_tlilid2_offset     TLILID2_REG
-#define  tlsb_tlilid3_offset     TLILID3_REG
-
-#define TLSB_TLIPINTR_OFFSET     TLIPINTR_REG
-
-#endif // BUILD_PALCODE
-
-
-
-///////////////////////////////////////////////////////////////////////
-//
-// Codes used to probe/clear the TLINTRSUM register
-//
-
-#define TLASER_INTRSUM_UART	1	// uart
-#define TLASER_INTRSUM_IPI	0x20	// IPI
-#define TLASER_INTRSUM_INTIM	0x40	// clock
-
-#endif // __TLASERREG_H__
-
diff --git a/system/alpha/palcode/Makefile b/system/alpha/palcode/Makefile
index 3f4dc9b..8ea1a4f 100644
--- a/system/alpha/palcode/Makefile
+++ b/system/alpha/palcode/Makefile
@@ -1,9 +1,42 @@
+#Copyright (c) 2003, 2004
+#The Regents of The University of Michigan
+#All Rights Reserved
+#
+#This code is part of the M5 simulator, developed by Nathan Binkert,
+#Erik Hallnor, Steve Raasch, and Steve Reinhardt, with contributions
+#from Ron Dreslinski, Dave Greene, Lisa Hsu, Ali Saidi, and Andrew
+#Schultz.
+#
+#Permission is granted to use, copy, create derivative works and
+#redistribute this software and such derivative works for any purpose,
+#so long as the copyright notice above, this grant of permission, and
+#the disclaimer below appear in all copies made; and so long as the
+#name of The University of Michigan is not used in any advertising or
+#publicity pertaining to the use or distribution of this software
+#without specific, written prior authorization.
+#
+#THIS SOFTWARE IS PROVIDED AS IS, WITHOUT REPRESENTATION FROM THE
+#UNIVERSITY OF MICHIGAN AS TO ITS FITNESS FOR ANY PURPOSE, AND WITHOUT
+#WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND, EITHER EXPRESS OR
+#IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF
+#MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE REGENTS OF
+#THE UNIVERSITY OF MICHIGAN SHALL NOT BE LIABLE FOR ANY DAMAGES,
+#INCLUDING DIRECT, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+#DAMAGES, WITH RESPECT TO ANY CLAIM ARISING OUT OF OR IN CONNECTION
+#WITH THE USE OF THE SOFTWARE, EVEN IF IT HAS BEEN OR IS HEREAFTER
+#ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
 #Makefile for palcode
 #Works on alpha-linux and builds elf executable
 
-GAS = alpha-linux-as
-CC = alpha-linux-gcc
-LD = alpha-linux-ld
+### If we are not compiling on an alpha, we must use cross tools ###    
+ifneq ($(ARCHNAME), alpha)
+CROSS_COMPILE?=alpha-unknown-linux-gnu-
+endif
+CC=$(CROSS_COMPILE)gcc
+AS=$(CROSS_COMPILE)as
+LD=$(CROSS_COMPILE)ld
+
 CFLAGS=-I . -I ../h -D SIMOS -D BUILD_PALCODE -nostdinc -nostdinc++ -Wa,-m21164
 LDFLAGS=-Ttext 0x4000
 
@@ -21,7 +54,6 @@
 platform_m5b.o: platform_m5.S
 	$(CC) $(CFLAGS) -DBIG_TSUNAMI -o $@ -c $<
 	
-
 tlaser:  $(TLOBJS)
 	$(LD) $(LDFLAGS) -o tl_osfpal osfpal.o platform_tlaser.o
 
diff --git a/system/alpha/palcode/osfpal.S b/system/alpha/palcode/osfpal.S
index 0796a80..c46af0c 100644
--- a/system/alpha/palcode/osfpal.S
+++ b/system/alpha/palcode/osfpal.S
@@ -1,3 +1,56 @@
+/*
+ * Copyright (c) 2003, 2004
+ * The Regents of The University of Michigan
+ * All Rights Reserved
+ *
+ * This code is part of the M5 simulator, developed by Nathan Binkert,
+ * Erik Hallnor, Steve Raasch, and Steve Reinhardt, with contributions
+ * from Ron Dreslinski, Dave Greene, Lisa Hsu, Ali Saidi, and Andrew
+ * Schultz.
+ *
+ * Permission is granted to use, copy, create derivative works and
+ * redistribute this software and such derivative works for any
+ * purpose, so long as the copyright notice above, this grant of
+ * permission, and the disclaimer below appear in all copies made; and
+ * so long as the name of The University of Michigan is not used in
+ * any advertising or publicity pertaining to the use or distribution
+ * of this software without specific, written prior authorization.
+ *
+ * THIS SOFTWARE IS PROVIDED AS IS, WITHOUT REPRESENTATION FROM THE
+ * UNIVERSITY OF MICHIGAN AS TO ITS FITNESS FOR ANY PURPOSE, AND
+ * WITHOUT WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND, EITHER
+ * EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE. THE REGENTS OF THE UNIVERSITY OF MICHIGAN SHALL NOT BE
+ * LIABLE FOR ANY DAMAGES, INCLUDING DIRECT, SPECIAL, INDIRECT,
+ * INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WITH RESPECT TO ANY CLAIM
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OF THE SOFTWARE, EVEN
+ * IF IT HAS BEEN OR IS HEREAFTER ADVISED OF THE POSSIBILITY OF SUCH
+ * DAMAGES.
+ */
+
+/*
+Copyright 1992, 1993, 1994, 1995 Hewlett-Packard Development Company, L.P.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+
 // modified to use the Hudson style "impure.h" instead of ev5_impure.sdl
 // since we don't have a mechanism to expand the data structures.... pb Nov/95
 
diff --git a/system/alpha/palcode/osfpal_cache_copy.S b/system/alpha/palcode/osfpal_cache_copy.S
index 110e051..6bddf0f 100644
--- a/system/alpha/palcode/osfpal_cache_copy.S
+++ b/system/alpha/palcode/osfpal_cache_copy.S
@@ -1,3 +1,55 @@
+/*
+ * Copyright (c) 2003, 2004
+ * The Regents of The University of Michigan
+ * All Rights Reserved
+ *
+ * This code is part of the M5 simulator, developed by Nathan Binkert,
+ * Erik Hallnor, Steve Raasch, and Steve Reinhardt, with contributions
+ * from Ron Dreslinski, Dave Greene, Lisa Hsu, Ali Saidi, and Andrew
+ * Schultz.
+ *
+ * Permission is granted to use, copy, create derivative works and
+ * redistribute this software and such derivative works for any
+ * purpose, so long as the copyright notice above, this grant of
+ * permission, and the disclaimer below appear in all copies made; and
+ * so long as the name of The University of Michigan is not used in
+ * any advertising or publicity pertaining to the use or distribution
+ * of this software without specific, written prior authorization.
+ *
+ * THIS SOFTWARE IS PROVIDED AS IS, WITHOUT REPRESENTATION FROM THE
+ * UNIVERSITY OF MICHIGAN AS TO ITS FITNESS FOR ANY PURPOSE, AND
+ * WITHOUT WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND, EITHER
+ * EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE. THE REGENTS OF THE UNIVERSITY OF MICHIGAN SHALL NOT BE
+ * LIABLE FOR ANY DAMAGES, INCLUDING DIRECT, SPECIAL, INDIRECT,
+ * INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WITH RESPECT TO ANY CLAIM
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OF THE SOFTWARE, EVEN
+ * IF IT HAS BEEN OR IS HEREAFTER ADVISED OF THE POSSIBILITY OF SUCH
+ * DAMAGES.
+ */
+/*
+Copyright 1992, 1993, 1994, 1995 Hewlett-Packard Development Company, L.P.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+
 // modified to use the Hudson style "impure.h" instead of ev5_impure.sdl
 // since we don't have a mechanism to expand the data structures.... pb Nov/95
 
diff --git a/system/alpha/palcode/osfpal_cache_copy_unaligned.S b/system/alpha/palcode/osfpal_cache_copy_unaligned.S
index e8ac423..b8651fa 100644
--- a/system/alpha/palcode/osfpal_cache_copy_unaligned.S
+++ b/system/alpha/palcode/osfpal_cache_copy_unaligned.S
@@ -1,3 +1,55 @@
+/*
+ * Copyright (c) 2003, 2004
+ * The Regents of The University of Michigan
+ * All Rights Reserved
+ *
+ * This code is part of the M5 simulator, developed by Nathan Binkert,
+ * Erik Hallnor, Steve Raasch, and Steve Reinhardt, with contributions
+ * from Ron Dreslinski, Dave Greene, Lisa Hsu, Ali Saidi, and Andrew
+ * Schultz.
+ *
+ * Permission is granted to use, copy, create derivative works and
+ * redistribute this software and such derivative works for any
+ * purpose, so long as the copyright notice above, this grant of
+ * permission, and the disclaimer below appear in all copies made; and
+ * so long as the name of The University of Michigan is not used in
+ * any advertising or publicity pertaining to the use or distribution
+ * of this software without specific, written prior authorization.
+ *
+ * THIS SOFTWARE IS PROVIDED AS IS, WITHOUT REPRESENTATION FROM THE
+ * UNIVERSITY OF MICHIGAN AS TO ITS FITNESS FOR ANY PURPOSE, AND
+ * WITHOUT WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND, EITHER
+ * EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE. THE REGENTS OF THE UNIVERSITY OF MICHIGAN SHALL NOT BE
+ * LIABLE FOR ANY DAMAGES, INCLUDING DIRECT, SPECIAL, INDIRECT,
+ * INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WITH RESPECT TO ANY CLAIM
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OF THE SOFTWARE, EVEN
+ * IF IT HAS BEEN OR IS HEREAFTER ADVISED OF THE POSSIBILITY OF SUCH
+ * DAMAGES.
+ */
+/*
+Copyright 1992, 1993, 1994, 1995 Hewlett-Packard Development Company, L.P.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+
 // modified to use the Hudson style "impure.h" instead of ev5_impure.sdl
 // since we don't have a mechanism to expand the data structures.... pb Nov/95
 
diff --git a/system/alpha/palcode/platform_m5.S b/system/alpha/palcode/platform_m5.S
index 52128e1..6c060f2 100644
--- a/system/alpha/palcode/platform_m5.S
+++ b/system/alpha/palcode/platform_m5.S
@@ -1,3 +1,55 @@
+/*
+ * Copyright (c) 2003, 2004, 2005
+ * The Regents of The University of Michigan
+ * All Rights Reserved
+ *
+ * This code is part of the M5 simulator, developed by Nathan Binkert,
+ * Erik Hallnor, Steve Raasch, and Steve Reinhardt, with contributions
+ * from Ron Dreslinski, Dave Greene, Lisa Hsu, Ali Saidi, and Andrew
+ * Schultz.
+ *
+ * Permission is granted to use, copy, create derivative works and
+ * redistribute this software and such derivative works for any
+ * purpose, so long as the copyright notice above, this grant of
+ * permission, and the disclaimer below appear in all copies made; and
+ * so long as the name of The University of Michigan is not used in
+ * any advertising or publicity pertaining to the use or distribution
+ * of this software without specific, written prior authorization.
+ *
+ * THIS SOFTWARE IS PROVIDED AS IS, WITHOUT REPRESENTATION FROM THE
+ * UNIVERSITY OF MICHIGAN AS TO ITS FITNESS FOR ANY PURPOSE, AND
+ * WITHOUT WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND, EITHER
+ * EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE. THE REGENTS OF THE UNIVERSITY OF MICHIGAN SHALL NOT BE
+ * LIABLE FOR ANY DAMAGES, INCLUDING DIRECT, SPECIAL, INDIRECT,
+ * INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WITH RESPECT TO ANY CLAIM
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OF THE SOFTWARE, EVEN
+ * IF IT HAS BEEN OR IS HEREAFTER ADVISED OF THE POSSIBILITY OF SUCH
+ * DAMAGES.
+ */
+/*
+Copyright 1993 Hewlett-Packard Development Company, L.P.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+
 // build_fixed_image: not sure what means
 // real_mm to be replaced during rewrite
 // remove_save_state  remove_restore_state can be remooved to save space ??
diff --git a/system/alpha/palcode/platform_tlaser.S b/system/alpha/palcode/platform_tlaser.S
index 3ad55f0..41f31ec 100644
--- a/system/alpha/palcode/platform_tlaser.S
+++ b/system/alpha/palcode/platform_tlaser.S
@@ -1,3 +1,56 @@
+/*
+ * Copyright (c) 2003, 2004, 2005
+ * The Regents of The University of Michigan
+ * All Rights Reserved
+ *
+ * This code is part of the M5 simulator, developed by Nathan Binkert,
+ * Erik Hallnor, Steve Raasch, and Steve Reinhardt, with contributions
+ * from Ron Dreslinski, Dave Greene, Lisa Hsu, Ali Saidi, and Andrew
+ * Schultz.
+ *
+ * Permission is granted to use, copy, create derivative works and
+ * redistribute this software and such derivative works for any
+ * purpose, so long as the copyright notice above, this grant of
+ * permission, and the disclaimer below appear in all copies made; and
+ * so long as the name of The University of Michigan is not used in
+ * any advertising or publicity pertaining to the use or distribution
+ * of this software without specific, written prior authorization.
+ *
+ * THIS SOFTWARE IS PROVIDED AS IS, WITHOUT REPRESENTATION FROM THE
+ * UNIVERSITY OF MICHIGAN AS TO ITS FITNESS FOR ANY PURPOSE, AND
+ * WITHOUT WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND, EITHER
+ * EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE. THE REGENTS OF THE UNIVERSITY OF MICHIGAN SHALL NOT BE
+ * LIABLE FOR ANY DAMAGES, INCLUDING DIRECT, SPECIAL, INDIRECT,
+ * INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WITH RESPECT TO ANY CLAIM
+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OF THE SOFTWARE, EVEN
+ * IF IT HAS BEEN OR IS HEREAFTER ADVISED OF THE POSSIBILITY OF SUCH
+ * DAMAGES.
+ */
+
+/*
+Copyright 1993 Hewlett-Packard Development Company, L.P.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+
 // build_fixed_image: not sure what means
 // real_mm to be replaced during rewrite
 // remove_save_state  remove_restore_state can be remooved to save space ??