ReadMe.NetBSD revision 1.3
11.3Sis$NetBSD: ReadMe.NetBSD,v 1.3 1999/02/16 23:34:12 is Exp $ 21.1Sis 31.3SisCopyright (c) 1996 The NetBSD Foundation, Inc. 41.2SisAll rights reserved. 51.2Sis 61.2SisThis code is derived from software contributed to The NetBSD Foundation 71.2Sisby Ignatios Souvatzis. 81.1Sis 91.1SisRedistribution and use in source and binary forms, with or without 101.1Sismodification, are permitted provided that the following conditions 111.1Sisare met: 121.1Sis1. Redistributions of source code must retain the above copyright 131.1Sis notice, this list of conditions and the following disclaimer. 141.1Sis2. Redistributions in binary form must reproduce the above copyright 151.1Sis notice, this list of conditions and the following disclaimer in the 161.1Sis documentation and/or other materials provided with the distribution. 171.1Sis3. All advertising materials mentioning features or use of this software 181.1Sis must display the following acknowledgement: 191.2Sis This product includes software developed by the NetBSD 201.2Sis Foundation, Inc. and its contributors. 211.2Sis4. Neither the name of The NetBSD Foundation nor the names of its 221.2Sis contributors may be used to endorse or promote products derived 231.2Sis from this software without specific prior written permission. 241.1Sis 251.2SisTHIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 261.2Sis``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 271.2SisTO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 281.2SisPURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 291.2SisBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 301.2SisCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 311.2SisSUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 321.2SisINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 331.2SisCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 341.2SisARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 351.2SisPOSSIBILITY OF SUCH DAMAGE. 361.1Sis 371.1Sis 381.1SisNotes about the NetBSD integration 391.1Sis---------------------------------- 401.1Sis 411.1SisPreface and Acknowledgements: 421.1Sis 431.1SisA first try at integrating the M68060 Software Package was done by 441.1SisYasushi Yamasaki of the NetBSD/x68k group, but only available as a 451.1Sispatch file to their source tree (which wasn't integrated into the 461.1SisNetBSD master tree at that time). 471.1Sis 481.1SisI started with their glue code version from the patch file, and 491.1Sischanged the following things up to now: 501.1Sis 511.1Sis- collapse a few identical glue routines (fetch code/data words/longs 521.1Sisfrom user space) into a multi-labeled one 531.1Sis 541.1Sis- make the gas syntax files of the glue code the Master files 551.1Sis 561.1Sis- I call the access error handler (label _buserr) directly, instead of 571.1Sisthrough an RTE as in the example file 581.1Sis 591.1SisOther changes are only in the method this was integrated into the 601.1SisAmiga vs. X68k port, which is machine dependend anyway. 611.1Sis 621.1SisThanks for the initial effort! 631.1Sis 641.1Sis 651.1Sis 661.1SisI. File suffix convention 671.1Sis 681.1SisI cvs imported all of the Motorola files (with lowercase names). 691.1Sis 701.1SisThese are: 711.1Sis 721.1Sis*.s: Assembler files "unsupported by Motorola, provided as a reference only" 731.1Sis*.sa: Pseudo assembler hex dump files, which is Motorolas supported version. 741.1Sis*.doc: docs by Motorola 751.1Sis 761.1Siserrata, changes, files, readme: by Motorola. 771.1Sis 781.1Sis 791.1SisI choose .S as the file suffix which is feeded to our assembler 801.1Sisdirectly or indirectly. 811.1Sis 821.1SisWe use: To create: 831.1Sis 841.1Sisisp.sa isp.S 851.1Sisfpsp.sa fpsp.S 861.1Sis 871.1SisIn addition, inetbsd.S and fnetbsd.S are our part specific glue files, 881.1Sisnetbsd.S is our general glue file, and copyright.S ensures we have a 891.1Siscopy of the copyright notice in the kernel if using the 060SP. 901.1Sis 911.1SisTo enforce the right relative positions of isp/its glue code inetbsd.S 921.1Sisincludes isp.S at the end, and fnetbsd.S includes fpsp.S. 931.1Sis 941.1SisIa: Don't Change Files 951.1Sis 961.1Sis- all Motorola doc files, all .sa (hex) files. 971.1Sis 981.1SisIb: Nearly Don't Change Files 991.1Sis 1001.1Sis- for now, the .s files by Motorola. We might use the fpsp.s file 1011.1Sislater to create an optimized version, once we a) verified its 1021.1Sisidentical to the supported .s and b) write a conversion (to .S format) 1031.1Sisscript. 1041.1Sis 1051.1SisII. Interface to the arch/$machine/$machine files: 1061.1Sis 1071.1Sis[to be continued] 1081.1Sis 109