ReadMe.NetBSD revision 1.1
11.1Sis$NetBSD: ReadMe.NetBSD,v 1.1 1996/05/15 21:06:20 is Exp $
21.1Sis
31.1SisCopyright (c) 1996 Ignatios Souvatzis.  All rights reserved.
41.1Sis
51.1SisRedistribution and use in source and binary forms, with or without
61.1Sismodification, are permitted provided that the following conditions
71.1Sisare met:
81.1Sis1. Redistributions of source code must retain the above copyright
91.1Sis   notice, this list of conditions and the following disclaimer.
101.1Sis2. Redistributions in binary form must reproduce the above copyright
111.1Sis   notice, this list of conditions and the following disclaimer in the
121.1Sis   documentation and/or other materials provided with the distribution.
131.1Sis3. All advertising materials mentioning features or use of this software
141.1Sis   must display the following acknowledgement:
151.1Sis	This product includes software developed by Ignatios Souvatzis.
161.1Sis4. The name of the author may not be used to endorse or promote products
171.1Sis   derived from this software without specific prior written permission.
181.1Sis
191.1SisTHIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
201.1SisIMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
211.1SisOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
221.1SisIN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
231.1SisINCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
241.1SisNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
251.1SisDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
261.1SisTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
271.1Sis(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
281.1SisTHIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
291.1Sis
301.1Sis
311.1SisNotes about the NetBSD integration
321.1Sis----------------------------------
331.1Sis
341.1SisPreface and Acknowledgements: 
351.1Sis
361.1SisA first try at integrating the M68060 Software Package was done by
371.1SisYasushi Yamasaki of the NetBSD/x68k group, but only available as a
381.1Sispatch file to their source tree (which wasn't integrated into the
391.1SisNetBSD master tree at that time).
401.1Sis
411.1SisI started with their glue code version from the patch file, and
421.1Sischanged the following things up to now:
431.1Sis
441.1Sis- collapse a few identical glue routines (fetch code/data words/longs
451.1Sisfrom user space) into a multi-labeled one
461.1Sis
471.1Sis- make the gas syntax files of the glue code the Master files
481.1Sis
491.1Sis- I call the access error handler (label _buserr) directly, instead of
501.1Sisthrough an RTE as in the example file
511.1Sis
521.1SisOther changes are only in the method this was integrated into the
531.1SisAmiga vs. X68k port, which is machine dependend anyway.
541.1Sis
551.1SisThanks for the initial effort!
561.1Sis
571.1Sis
581.1Sis
591.1SisI. File suffix convention
601.1Sis
611.1SisI cvs imported all of the Motorola files (with lowercase names).
621.1Sis
631.1SisThese are:
641.1Sis
651.1Sis*.s:	Assembler files "unsupported by Motorola, provided as a reference only"
661.1Sis*.sa:	Pseudo assembler hex dump files, which is Motorolas supported version.
671.1Sis*.doc:	docs by Motorola
681.1Sis
691.1Siserrata, changes, files, readme: by Motorola.
701.1Sis
711.1Sis
721.1SisI choose .S as the file suffix which is feeded to our assembler
731.1Sisdirectly or indirectly.
741.1Sis
751.1SisWe use:		To create: 
761.1Sis
771.1Sisisp.sa		isp.S
781.1Sisfpsp.sa		fpsp.S
791.1Sis
801.1SisIn addition, inetbsd.S and fnetbsd.S are our part specific glue files,
811.1Sisnetbsd.S is our general glue file, and copyright.S ensures we have a
821.1Siscopy of the copyright notice in the kernel if using the 060SP.
831.1Sis
841.1SisTo enforce the right relative positions of isp/its glue code inetbsd.S
851.1Sisincludes isp.S at the end, and fnetbsd.S includes fpsp.S.
861.1Sis
871.1SisIa: Don't Change Files
881.1Sis
891.1Sis- all Motorola doc files, all .sa (hex) files.
901.1Sis
911.1SisIb: Nearly Don't Change Files
921.1Sis
931.1Sis- for now, the .s files by Motorola. We might use the fpsp.s file
941.1Sislater to create an optimized version, once we a) verified its
951.1Sisidentical to the supported .s and b) write a conversion (to .S format)
961.1Sisscript.
971.1Sis
981.1SisII. Interface to the arch/$machine/$machine files:
991.1Sis
1001.1Sis[to be continued]
1011.1Sis
102