<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 4, 2022 at 5:01 PM Gedare Bloom <<a href="mailto:gedare@rtems.org">gedare@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Out of the original list, the following are the files that have NOT<br>
been marked as third-party in my proof-of-concept available at<br>
<a href="https://git.rtems.org/gedare/rtems.git/log/?h=test-split-3rd-party" rel="noreferrer" target="_blank">https://git.rtems.org/gedare/rtems.git/log/?h=test-split-3rd-party</a><br>
<br>
Most of the .h files are not included because uninstalled headers<br>
aren't in the spec files. This includes the following headers:<br></blockquote><div><br></div><div>I'll comment on the ones I am fairly confident on.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
------------------<br>
cpukit/dtc/libfdt/libfdt_internal.h<br>
cpukit/libmisc/shell/dd.h<br>
cpukit/libmisc/shell/err.h<br>
cpukit/libmisc/shell/extern-cp.h<br>
cpukit/libmisc/shell/extern-dd.h<br>
cpukit/libmisc/shell/extern-ls.h<br>
cpukit/libmisc/shell/fts.h<br>
cpukit/libmisc/shell/hexdump.h<br>
cpukit/libmisc/shell/pathnames-mv.h<br>
cpukit/libmisc/shell/sysexits.h<br>
cpukit/libmisc/shell/vis.h<br>
cpukit/libmisc/shell/mknod-pack_dev.h<br>
cpukit/libfs/src/jffs2/src/acl.h<br>
cpukit/libfs/src/jffs2/src/compr.h<br>
cpukit/libfs/src/jffs2/src/debug.h<br>
cpukit/libfs/src/jffs2/src/jffs2_fs_i.h<br>
cpukit/libfs/src/jffs2/src/jffs2_fs_sb.h<br>
cpukit/libfs/src/jffs2/src/nodelist.h<br>
cpukit/libfs/src/jffs2/src/rtems-jffs2-config.h<br>
cpukit/libfs/src/jffs2/src/summary.h<br>
cpukit/libfs/src/jffs2/src/xattr.h<br></blockquote><div><br></div><div>All of the jffs2 except the rtems file</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
cpukit/libmisc/uuid/uuidP.h<br>
cpukit/libmisc/uuid/uuidd.h<br>
cpukit/libmisc/xz/xz_config.h<br>
cpukit/libmisc/xz/xz_lzma2.h<br>
cpukit/libmisc/xz/xz_private.h<br>
cpukit/libmisc/xz/xz_stream.h<br>
cpukit/zlib/gzguts.h<br>
cpukit/zlib/inffast.h<br>
cpukit/zlib/inflate.h<br>
cpukit/zlib/inftrees.h<br>
cpukit/zlib/deflate.h<br>
cpukit/zlib/zutil.h<br>
cpukit/zlib/crc32.h<br>
cpukit/zlib/inffixed.h<br>
cpukit/zlib/trees.h<br></blockquote><div><br></div><div>All of the uuid, xz, and zlib.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
------------------<br>
<br>
The RTL is owned by RTEMS now, including:<br>
------------------<br>
cpukit/libdl/rtl-mdreloc-arm.c<br>
cpukit/libdl/rtl-mdreloc-i386.c<br>
cpukit/libdl/rtl-mdreloc-m68k.c<br>
cpukit/libdl/rtl-mdreloc-riscv.c<br>
cpukit/libdl/rtl-mdreloc-sparc.c<br></blockquote><div><br></div><div>Yes.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
cpukit/libdl/fastlz.c<br>
cpukit/libdl/fastlz.h<br></blockquote><div><br></div><div>How did these get changed enough to be our code.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
------------------<br>
<br>
These two are RTEMS-owned, authored by Till and Kevin Kirspel<br>
------------------<br>
cpukit/libfs/src/defaults/default_mmap.c<br>
cpukit/score/cpu/nios2/include/rtems/score/nios2-count-zeros.h<br>
------------------<br>
<br>
There are several header files related to ISA-specific support that<br>
might be worth identifying as third-party.<br>
------------------<br>
cpukit/score/cpu/i386/include/machine/elf_machdep.h<br>
cpukit/score/cpu/m68k/include/machine/elf_machdep.h<br>
cpukit/score/cpu/mips/include/machine/elf_machdep.h<br>
cpukit/score/cpu/nios2/include/machine/elf_machdep.h<br>
cpukit/score/cpu/sparc/include/machine/elf_machdep.h<br>
cpukit/score/cpu/x86_64/include/machine/elf_machdep.h<br></blockquote><div><br></div><div>Yes. These mostly came from FreeBSD. Not sure about the nios2 though.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
cpukit/score/cpu/mips/include/rtems/mips/idtcpu.h<br>
cpukit/score/cpu/mips/include/rtems/mips/iregdef.h<br></blockquote><div><br></div><div>Yep. Wonder if these should be in the BSP area though.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
------------------<br>
<br>
Some random files:<br>
------------------<br>
cpukit/include/pci/pcireg.h<br></blockquote><div><br></div><div>Grrr... this file could have been managed better.</div><div><br></div> * Copyright (c) 1997, Stefan Esser <<a href="mailto:se@freebsd.org">se@freebsd.org</a>><br> * All rights reserved.<br> *<br> * New PCI library written from scratch. Defines in this file was taken from<br> * FreeBSD commit f1d6f4778d2044502209708bc167c05f9aa48615.<br> * auto-generated pci_ids.h also reused from RTEMS.<br> * Copyright 2009, Cobham Gaisler AB<br><div><br></div><div>It is ours but if we had been clever, it may not have been or could</div><div>have had ifdef rtems. </div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
cpukit/libmisc/mouse/mouse_parser.c<br></blockquote><div><br></div><div> I think mouse_parser.c is third party but I don't remember where it came from</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">cpukit/libmisc/xz/xz_crc64.c<br></blockquote><div><br></div><div>I don't know where xz came from but I found this:</div><div><br></div><div><a href="http://web.mit.edu/freebsd/head/sys/contrib/xz-embedded/">http://web.mit.edu/freebsd/head/sys/contrib/xz-embedded/</a><br></div><div><br></div><div>crc64 appears to be disabled by default for space reasons but a 64-bit CRC would</div><div>be more robust. I'm prone to turn the code on. We aren't forcing it onto anyone.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
------------------<br>
<br>
And I didn't touch the testsuites:<br>
------------------<br>
testsuites/samples/paranoia/paranoia.c<br>
testsuites/benchmarks/dhrystone/dhry.h<br>
testsuites/benchmarks/dhrystone/dhry_1.c<br>
testsuites/benchmarks/dhrystone/dhry_2.c<br>
testsuites/benchmarks/linpack/linpack-pc.c<br>
testsuites/benchmarks/whetstone/whetstone.c<br></blockquote><div><br></div><div>Ideally these are all third party but I suspect paranoia may have </div><div>been modified too much before we got good rules. Eventually we</div><div>may want to grab a new copy, put an rtems_config.c with a "main()"</div><div>and see if we can avoid editing it.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
------------------<br>
</blockquote></div></div>