1 $NetBSD: ReadMe.NetBSD,v 1.5 2000/04/14 20:24:29 is Exp $
3 Copyright (c) 1996 The NetBSD Foundation, Inc.
6 This code is derived from software contributed to The NetBSD Foundation
9 Redistribution and use in source and binary forms, with or without
10 modification, are permitted provided that the following conditions
12 1. Redistributions of source code must retain the above copyright
13 notice, this list of conditions and the following disclaimer.
14 2. Redistributions in binary form must reproduce the above copyright
15 notice, this list of conditions and the following disclaimer in the
16 documentation and/or other materials provided with the distribution.
18 THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
19 ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20 TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
22 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 POSSIBILITY OF SUCH DAMAGE.
31 Notes about the NetBSD integration
32 ----------------------------------
34 Preface and Acknowledgements:
36 A first try at integrating the M68060 Software Package was done by
37 Yasushi Yamasaki of the NetBSD/x68k group, but only available as a
38 patch file to their source tree (which wasn't integrated into the
39 NetBSD master tree at that time).
41 I started with their glue code version from the patch file, and
42 changed the following things up to now:
44 - collapse a few identical glue routines (fetch code/data words/longs
45 from user space) into a multi-labeled one
47 - make the gas syntax files of the glue code the Master files
49 - translate the gas syntax files of the Motorola code once, to avoid
52 - I call the access error handler (label _buserr) directly, instead of
53 through an RTE as in the example file
55 Other changes are only in the method this was integrated into the
56 Amiga vs. X68k port, which is machine dependend anyway.
58 Thanks for the initial effort!
62 I. File suffix convention
64 I cvs imported all of the Motorola files (with lowercase names).
65 These have been moved to the dist subdirectory as of today --- 2000-04-14
69 *.s: Assembler files "unsupported by Motorola, provided as a reference only"
70 *.sa: Pseudo assembler hex dump files, which is Motorolas supported version.
71 *.doc: docs by Motorola
73 errata, changes, files, readme: by Motorola.
76 I choose .S as the file suffix which is feeded to our assembler
77 directly or indirectly.
84 Type "make" in this directory to create them, then check in.
86 In addition, inetbsd.S and fnetbsd.S are our part specific glue files,
87 netbsd.S is our general glue file, and copyright.S ensures we have a
88 copy of the copyright notice in the kernel if using the 060SP.
90 To enforce the right relative positions of isp/its glue code inetbsd.S
91 includes isp.S at the end, and fnetbsd.S includes fpsp.S.
93 Ia: Don't Change Files
95 - all Motorola doc files, all .sa (hex) files.
97 Ib: Nearly Don't Change Files
99 - for now, the .s files by Motorola. We might use the fpsp.s file
100 later to create an optimized version, once we a) verified its
101 identical to the supported .s and b) write a conversion (to .S format)
104 II. Interface to the arch/$machine/$machine files: