diff options
author | Steve Chamberlain <sac@cygnus> | 1993-02-11 22:54:38 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1993-02-11 22:54:38 +0000 |
commit | ea6bbfba0acbd70fe5b6a36a5944f3b63fab48ad (patch) | |
tree | 81313ab841e1937be03e3adb0485a8b3ec125763 /sim | |
parent | aae9830745bfcfd078e2e1c6fd2ea58e7558b606 (diff) | |
download | gdb-ea6bbfba0acbd70fe5b6a36a5944f3b63fab48ad.zip gdb-ea6bbfba0acbd70fe5b6a36a5944f3b63fab48ad.tar.gz gdb-ea6bbfba0acbd70fe5b6a36a5944f3b63fab48ad.tar.bz2 |
Copyright change
Diffstat (limited to 'sim')
-rw-r--r-- | sim/h8300/p1.c | 29 | ||||
-rw-r--r-- | sim/h8300/p3.c | 29 | ||||
-rw-r--r-- | sim/h8300/perifs.c | 34 | ||||
-rw-r--r-- | sim/h8300/run.c | 29 | ||||
-rw-r--r-- | sim/h8300/state.h | 18 |
5 files changed, 76 insertions, 63 deletions
diff --git a/sim/h8300/p1.c b/sim/h8300/p1.c index f22657e..95bbd99 100644 --- a/sim/h8300/p1.c +++ b/sim/h8300/p1.c @@ -1,23 +1,22 @@ -/* H8/300 simulator - Copyright 1993 Free Software Foundation, Inc. +/* Interpreter fragment for the Hitachi H8/300 architecture simulator. - Contributed by Cygnus Support. - Written by Steve Chamberlain (sac@cygnus.com). + Written by Steve Chamberlain of Cygnus Support. + sac@cygnus.com + This file is part of H8/300 sim -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. + THIS SOFTWARE IS NOT COPYRIGHTED -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + Cygnus offers the following for use in the public domain. Cygnus + makes no warranty with regard to the software or it's performance + and the user accepts the software "AS IS" with all faults. + + CYGNUS DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD TO + THIS SOFTWARE INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +*/ #include <stdio.h> #include <stdlib.h> diff --git a/sim/h8300/p3.c b/sim/h8300/p3.c index 74015b6..0d8c259 100644 --- a/sim/h8300/p3.c +++ b/sim/h8300/p3.c @@ -1,23 +1,22 @@ -/* Tail end of H8/300 simulator - Copyright 1993 Free Software Foundation, Inc. +/* Interpreter fragment for the Hitachi H8/300 architecture simulator. - Contributed by Cygnus Support. - Written by Steve Chamberlain (sac@cygnus.com). + Written by Steve Chamberlain of Cygnus Support. + sac@cygnus.com + This file is part of H8/300 sim -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. + THIS SOFTWARE IS NOT COPYRIGHTED -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + Cygnus offers the following for use in the public domain. Cygnus + makes no warranty with regard to the software or it's performance + and the user accepts the software "AS IS" with all faults. + + CYGNUS DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD TO + THIS SOFTWARE INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +*/ movflags8: n = dst & 0x80; diff --git a/sim/h8300/perifs.c b/sim/h8300/perifs.c index b923214..a3f100f 100644 --- a/sim/h8300/perifs.c +++ b/sim/h8300/perifs.c @@ -1,29 +1,30 @@ -/* H8/300 simulator - Copyright 1993 Free Software Foundation, Inc. +/* perfipheral simulation - Contributed by Cygnus Support. - Written by Steve Chamberlain (sac@cygnus.com). + Written by Steve Chamberlain of Cygnus Support. + sac@cygnus.com + This file is part of H8/300 sim -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. + THIS SOFTWARE IS NOT COPYRIGHTED -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + Cygnus offers the following for use in the public domain. Cygnus + makes no warranty with regard to the software or it's performance + and the user accepts the software "AS IS" with all faults. + + CYGNUS DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD TO + THIS SOFTWARE INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +*/ /* Fake peripherals for the H8/330 */ #include "state.h" -perifs( ) + /* This routine is called every few instructions to see if some sort of hardware event is needed */ + +perifs( ) { int interrupt = 0; int lval; @@ -94,5 +95,4 @@ perifs( ) saved_state.reg[PC] = lval; } } - } diff --git a/sim/h8300/run.c b/sim/h8300/run.c index 1673227..59797ca 100644 --- a/sim/h8300/run.c +++ b/sim/h8300/run.c @@ -1,25 +1,22 @@ -/* run front end support for H8/300 - Copyright (C) 1987, 1992 Free Software Foundation, Inc. +/* front end to the simulator. -This file is part of H8300 SIM + Written by Steve Chamberlain of Cygnus Support. + sac@cygnus.com -GNU CC is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. + This file is part of H8/300 sim -GNU CC is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. -You should have received a copy of the GNU General Public License -along with GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + THIS SOFTWARE IS NOT COPYRIGHTED + Cygnus offers the following for use in the public domain. Cygnus + makes no warranty with regard to the software or it's performance + and the user accepts the software "AS IS" with all faults. -/* Steve Chamberlain - sac@cygnus.com */ + CYGNUS DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD TO + THIS SOFTWARE INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +*/ #include "bfd.h" #include "sysdep.h" diff --git a/sim/h8300/state.h b/sim/h8300/state.h index dd89d0b..799706b 100644 --- a/sim/h8300/state.h +++ b/sim/h8300/state.h @@ -1,3 +1,21 @@ +/* + Written by Steve Chamberlain of Cygnus Support. + sac@cygnus.com + + This file is part of H8/300 sim + + + THIS SOFTWARE IS NOT COPYRIGHTED + + Cygnus offers the following for use in the public domain. Cygnus + makes no warranty with regard to the software or it's performance + and the user accepts the software "AS IS" with all faults. + + CYGNUS DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD TO + THIS SOFTWARE INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +*/ #define SET_WORD_MEM(x,y) {saved_state.mem[(x)>>1] = y;} #define SET_BYTE_MEM(x,y) {BYTE_MEM(x)=y;} |