diff options
Diffstat (limited to 'sysdeps/standalone/m68k/m68020')
-rw-r--r-- | sysdeps/standalone/m68k/m68020/mvme136/_exit.c | 40 | ||||
-rw-r--r-- | sysdeps/standalone/m68k/m68020/mvme136/brdinit.c | 46 |
2 files changed, 42 insertions, 44 deletions
diff --git a/sysdeps/standalone/m68k/m68020/mvme136/_exit.c b/sysdeps/standalone/m68k/m68020/mvme136/_exit.c index d13b4d9770..d45e52d41d 100644 --- a/sysdeps/standalone/m68k/m68020/mvme136/_exit.c +++ b/sysdeps/standalone/m68k/m68020/mvme136/_exit.c @@ -1,33 +1,31 @@ -/* Copyright (C) 1994 Free Software Foundation, Inc. +/* Copyright (C) 1994, 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. Contributed by Joel Sherrill (jsherril@redstone-emh2.army.mil), On-Line Applications Research Corporation. -This file is part of the GNU C Library. + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. -The GNU C Library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. + The GNU C Library 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 + Library General Public License for more details. -The GNU C Library 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 -Library General Public License for more details. + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ - -#include <ansidecl.h> #include <unistd.h> #include <stdlib.h> #include "m68020.h" /* Return control to 135Bug */ -void -DEFUN_VOID(__exit_trap) +void +__exit_trap () { set_vbr( 0 ); /* restore 135Bug vectors */ asm volatile( "trap #15" ); /* trap to 135Bug */ @@ -39,8 +37,10 @@ DEFUN_VOID(__exit_trap) terminate program execution, using the low-order 8 bits of the given integer as status. */ -__NORETURN void -DEFUN(_exit, (status), int status) +void +__attribute__ ((noreturn)) +_exit (status) + int status; { /* status is ignored */ diff --git a/sysdeps/standalone/m68k/m68020/mvme136/brdinit.c b/sysdeps/standalone/m68k/m68020/mvme136/brdinit.c index 0c4801a49b..c477441104 100644 --- a/sysdeps/standalone/m68k/m68020/mvme136/brdinit.c +++ b/sysdeps/standalone/m68k/m68020/mvme136/brdinit.c @@ -1,25 +1,23 @@ -/* Copyright (C) 1994 Free Software Foundation, Inc. +/* Copyright (C) 1994, 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. Contributed by Joel Sherrill (jsherril@redstone-emh2.army.mil), On-Line Applications Research Corporation. - -This file is part of the GNU C Library. - -The GNU C Library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. - -The GNU C Library 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 -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ - -#include <ansidecl.h> + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + #include <standalone.h> #include "m68020.h" @@ -27,12 +25,12 @@ Cambridge, MA 02139, USA. */ This routine initializes the Motorola MVME135/MVME136. */ -void -DEFUN_VOID(_Board_Initialize) +void +_Board_Initialize () { mc68020_isr *monitors_vector_table; int index; - + monitors_vector_table = (mc68020_isr *)0; /* 135Bug Vectors are at 0 */ set_vbr( monitors_vector_table ); @@ -48,6 +46,6 @@ DEFUN_VOID(_Board_Initialize) (*(unsigned char *)0xfffb0067) = 0x7f; /* make VME access round-robin */ - enable_caching(); + enable_caching (); } |