ReadMe.NetBSD revision 1.1
1$NetBSD: ReadMe.NetBSD,v 1.1 1996/05/15 21:06:20 is Exp $ 2 3Copyright (c) 1996 Ignatios Souvatzis. All rights reserved. 4 5Redistribution and use in source and binary forms, with or without 6modification, are permitted provided that the following conditions 7are met: 81. Redistributions of source code must retain the above copyright 9 notice, this list of conditions and the following disclaimer. 102. Redistributions in binary form must reproduce the above copyright 11 notice, this list of conditions and the following disclaimer in the 12 documentation and/or other materials provided with the distribution. 133. All advertising materials mentioning features or use of this software 14 must display the following acknowledgement: 15 This product includes software developed by Ignatios Souvatzis. 164. The name of the author may not be used to endorse or promote products 17 derived from this software without specific prior written permission. 18 19THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 20IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 21OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 22IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 23INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 24NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 28THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 30 31Notes about the NetBSD integration 32---------------------------------- 33 34Preface and Acknowledgements: 35 36A first try at integrating the M68060 Software Package was done by 37Yasushi Yamasaki of the NetBSD/x68k group, but only available as a 38patch file to their source tree (which wasn't integrated into the 39NetBSD master tree at that time). 40 41I started with their glue code version from the patch file, and 42changed the following things up to now: 43 44- collapse a few identical glue routines (fetch code/data words/longs 45from user space) into a multi-labeled one 46 47- make the gas syntax files of the glue code the Master files 48 49- I call the access error handler (label _buserr) directly, instead of 50through an RTE as in the example file 51 52Other changes are only in the method this was integrated into the 53Amiga vs. X68k port, which is machine dependend anyway. 54 55Thanks for the initial effort! 56 57 58 59I. File suffix convention 60 61I cvs imported all of the Motorola files (with lowercase names). 62 63These are: 64 65*.s: Assembler files "unsupported by Motorola, provided as a reference only" 66*.sa: Pseudo assembler hex dump files, which is Motorolas supported version. 67*.doc: docs by Motorola 68 69errata, changes, files, readme: by Motorola. 70 71 72I choose .S as the file suffix which is feeded to our assembler 73directly or indirectly. 74 75We use: To create: 76 77isp.sa isp.S 78fpsp.sa fpsp.S 79 80In addition, inetbsd.S and fnetbsd.S are our part specific glue files, 81netbsd.S is our general glue file, and copyright.S ensures we have a 82copy of the copyright notice in the kernel if using the 060SP. 83 84To enforce the right relative positions of isp/its glue code inetbsd.S 85includes isp.S at the end, and fnetbsd.S includes fpsp.S. 86 87Ia: Don't Change Files 88 89- all Motorola doc files, all .sa (hex) files. 90 91Ib: Nearly Don't Change Files 92 93- for now, the .s files by Motorola. We might use the fpsp.s file 94later to create an optimized version, once we a) verified its 95identical to the supported .s and b) write a conversion (to .S format) 96script. 97 98II. Interface to the arch/$machine/$machine files: 99 100[to be continued] 101 102