ReadMe.NetBSD revision 1.4
11.4Sis$NetBSD: ReadMe.NetBSD,v 1.4 1999/02/22 22:07:37 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.1Sis 731.1SisThese are: 741.1Sis 751.1Sis*.s: Assembler files "unsupported by Motorola, provided as a reference only" 761.1Sis*.sa: Pseudo assembler hex dump files, which is Motorolas supported version. 771.1Sis*.doc: docs by Motorola 781.1Sis 791.1Siserrata, changes, files, readme: by Motorola. 801.1Sis 811.1Sis 821.1SisI choose .S as the file suffix which is feeded to our assembler 831.1Sisdirectly or indirectly. 841.1Sis 851.1SisWe use: To create: 861.1Sis 871.1Sisisp.sa isp.S 881.1Sisfpsp.sa fpsp.S 891.1Sis 901.1SisIn addition, inetbsd.S and fnetbsd.S are our part specific glue files, 911.1Sisnetbsd.S is our general glue file, and copyright.S ensures we have a 921.1Siscopy of the copyright notice in the kernel if using the 060SP. 931.1Sis 941.1SisTo enforce the right relative positions of isp/its glue code inetbsd.S 951.1Sisincludes isp.S at the end, and fnetbsd.S includes fpsp.S. 961.1Sis 971.1SisIa: Don't Change Files 981.1Sis 991.1Sis- all Motorola doc files, all .sa (hex) files. 1001.1Sis 1011.1SisIb: Nearly Don't Change Files 1021.1Sis 1031.1Sis- for now, the .s files by Motorola. We might use the fpsp.s file 1041.1Sislater to create an optimized version, once we a) verified its 1051.1Sisidentical to the supported .s and b) write a conversion (to .S format) 1061.1Sisscript. 1071.1Sis 1081.1SisII. Interface to the arch/$machine/$machine files: 1091.1Sis 1101.1Sis[to be continued] 1111.1Sis 112