ReadMe.NetBSD revision 1.5
11.5Sis$NetBSD: ReadMe.NetBSD,v 1.5 2000/04/14 20:24:29 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.4Sis 561.4Sis- translate the gas syntax files of the Motorola code once, to avoid 571.4Sisthe translation time. 581.1Sis 591.1Sis- I call the access error handler (label _buserr) directly, instead of 601.1Sisthrough an RTE as in the example file 611.1Sis 621.1SisOther changes are only in the method this was integrated into the 631.1SisAmiga vs. X68k port, which is machine dependend anyway. 641.1Sis 651.1SisThanks for the initial effort! 661.1Sis 671.1Sis 681.1Sis 691.1SisI. File suffix convention 701.1Sis 711.1SisI cvs imported all of the Motorola files (with lowercase names). 721.5SisThese have been moved to the dist subdirectory as of today --- 2000-04-14 731.1Sis 741.1SisThese are: 751.1Sis 761.1Sis*.s: Assembler files "unsupported by Motorola, provided as a reference only" 771.1Sis*.sa: Pseudo assembler hex dump files, which is Motorolas supported version. 781.1Sis*.doc: docs by Motorola 791.1Sis 801.1Siserrata, changes, files, readme: by Motorola. 811.1Sis 821.1Sis 831.1SisI choose .S as the file suffix which is feeded to our assembler 841.1Sisdirectly or indirectly. 851.1Sis 861.1SisWe use: To create: 871.1Sis 881.1Sisisp.sa isp.S 891.1Sisfpsp.sa fpsp.S 901.5Sis 911.5SisType "make" in this directory to create them, then check in. 921.1Sis 931.1SisIn addition, inetbsd.S and fnetbsd.S are our part specific glue files, 941.1Sisnetbsd.S is our general glue file, and copyright.S ensures we have a 951.1Siscopy of the copyright notice in the kernel if using the 060SP. 961.1Sis 971.1SisTo enforce the right relative positions of isp/its glue code inetbsd.S 981.1Sisincludes isp.S at the end, and fnetbsd.S includes fpsp.S. 991.1Sis 1001.1SisIa: Don't Change Files 1011.1Sis 1021.1Sis- all Motorola doc files, all .sa (hex) files. 1031.1Sis 1041.1SisIb: Nearly Don't Change Files 1051.1Sis 1061.1Sis- for now, the .s files by Motorola. We might use the fpsp.s file 1071.1Sislater to create an optimized version, once we a) verified its 1081.1Sisidentical to the supported .s and b) write a conversion (to .S format) 1091.1Sisscript. 1101.1Sis 1111.1SisII. Interface to the arch/$machine/$machine files: 1121.1Sis 1131.1Sis[to be continued] 1141.1Sis 115