1 /* Copyright (C) 1994, 1997 Free Software Foundation, Inc.
2 This file is part of the GNU C Library.
3 Contributed by Joel Sherrill (jsherril@redstone-emh2.army.mil),
4 On-Line Applications Research Corporation.
6 The GNU C Library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Lesser General Public
8 License as published by the Free Software Foundation; either
9 version 2.1 of the License, or (at your option) any later version.
11 The GNU C Library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Lesser General Public License for more details.
16 You should have received a copy of the GNU Lesser General Public
17 License along with the GNU C Library; if not, write to the Free
18 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
21 #include <standalone.h>
24 /* _Board_Initialize()
26 This routine initializes the Motorola MVME135/MVME136. */
31 mc68020_isr
*monitors_vector_table
;
34 monitors_vector_table
= (mc68020_isr
*)0; /* 135Bug Vectors are at 0 */
35 set_vbr( monitors_vector_table
);
37 for ( index
=2 ; index
<=255 ; index
++ )
38 M68Kvec
[ index
] = monitors_vector_table
[ 32 ];
40 M68Kvec
[ 2 ] = monitors_vector_table
[ 2 ]; /* bus error vector */
41 M68Kvec
[ 4 ] = monitors_vector_table
[ 4 ]; /* breakpoints vector */
42 M68Kvec
[ 9 ] = monitors_vector_table
[ 9 ]; /* trace vector */
43 M68Kvec
[ 47 ] = monitors_vector_table
[ 47 ]; /* system call vector */
47 (*(unsigned char *)0xfffb0067) = 0x7f; /* make VME access round-robin */