diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 9ae10a6..196e680 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 Integral +# +# SPDX-License-Identifier: GPL-3.0-or-later + name: CMake on: diff --git a/.gitignore b/.gitignore index aba3a63..19adc18 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 Integral +# +# SPDX-License-Identifier: GPL-3.0-or-later + /*cache*/ /.vscode/ /build/ diff --git a/.reuse/dep5 b/.reuse/dep5 new file mode 100644 index 0000000..f357595 --- /dev/null +++ b/.reuse/dep5 @@ -0,0 +1,10 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Tiny x86 OS +Upstream-Contact: Integral +Source: https://github.com/Integral-Tech/tiny-x86os + +# Sample paragraph, commented out: +# +# Files: src/* +# Copyright: $YEAR $NAME <$CONTACT> +# License: ... diff --git a/CMakeLists.txt b/CMakeLists.txt index b11e5cd..b4849f4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 Integral +# +# SPDX-License-Identifier: GPL-3.0-or-later + cmake_minimum_required(VERSION 3.0.0) set(CMAKE_VERBOSE_MAKEFILE on) diff --git a/LICENSE b/LICENSE deleted file mode 100644 index f288702..0000000 --- a/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - Copyright (C) - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -. diff --git a/LICENSES/GPL-3.0-or-later.txt b/LICENSES/GPL-3.0-or-later.txt new file mode 100644 index 0000000..f6cdd22 --- /dev/null +++ b/LICENSES/GPL-3.0-or-later.txt @@ -0,0 +1,232 @@ +GNU GENERAL PUBLIC LICENSE +Version 3, 29 June 2007 + +Copyright © 2007 Free Software Foundation, Inc. + +Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. + +Preamble + +The GNU General Public License is a free, copyleft license for software and other kinds of works. + +The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. + +To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. + +For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. + +Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. + +For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. + +Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. + +Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. + +The precise terms and conditions for copying, distribution and modification follow. + +TERMS AND CONDITIONS + +0. Definitions. + +“This License” refers to version 3 of the GNU General Public License. + +“Copyright” also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. + +“The Program” refers to any copyrightable work licensed under this License. Each licensee is addressed as “you”. “Licensees” and “recipients” may be individuals or organizations. + +To “modify” a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a “modified version” of the earlier work or a work “based on” the earlier work. + +A “covered work” means either the unmodified Program or a work based on the Program. + +To “propagate” a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. + +To “convey” a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. + +An interactive user interface displays “Appropriate Legal Notices” to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. + +1. Source Code. +The “source code” for a work means the preferred form of the work for making modifications to it. “Object code” means any non-source form of a work. + +A “Standard Interface” means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. + +The “System Libraries” of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A “Major Component”, in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. + +The “Corresponding Source” for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. + +The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. + +The Corresponding Source for a work in source code form is that same work. + +2. Basic Permissions. +All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. + +You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. + +Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. + +3. Protecting Users' Legal Rights From Anti-Circumvention Law. +No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. + +When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. + +4. Conveying Verbatim Copies. +You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. + +You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. + +5. Conveying Modified Source Versions. +You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to “keep intact all notices”. + + c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. + +A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an “aggregate” if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. + +6. Conveying Non-Source Forms. +You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: + + a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. + + d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. + +A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. + +A “User Product” is either (1) a “consumer product”, which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, “normally used” refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. + +“Installation Information” for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. + +If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). + +The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. + +Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. + +7. Additional Terms. +“Additional permissions” are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. + +When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. + +Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or authors of the material; or + + e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. + +All other non-permissive additional terms are considered “further restrictions” within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. + +If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. + +Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. + +8. Termination. +You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). + +However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. + +Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. + +Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. + +9. Acceptance Not Required for Having Copies. +You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. + +10. Automatic Licensing of Downstream Recipients. +Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. + +An “entity transaction” is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. + +You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. + +11. Patents. +A “contributor” is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's “contributor version”. + +A contributor's “essential patent claims” are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, “control” includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. + +Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. + +In the following three paragraphs, a “patent license” is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To “grant” such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. + +If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. “Knowingly relying” means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. + +If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. + +A patent license is “discriminatory” if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. + +Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. + +12. No Surrender of Others' Freedom. +If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. + +13. Use with the GNU Affero General Public License. +Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. + +14. Revised Versions of this License. +The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. + +If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. + +Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. + +15. Disclaimer of Warranty. +THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +16. Limitation of Liability. +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +17. Interpretation of Sections 15 and 16. +If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. + +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the “copyright” line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + +If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an “about box”. + +You should also get your employer (if you work as a programmer) or school, if any, to sign a “copyright disclaimer” for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . + +The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . diff --git a/README.md b/README.md index dfe631d..fd3470a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ + + # Tiny x86 OS A tiny x86 operating system, referring to the source code of Linux 0.11. diff --git a/newlib/i686-elf/include/_ansi.h b/newlib/i686-elf/include/_ansi.h index 6c7497e..24972f6 100644 --- a/newlib/i686-elf/include/_ansi.h +++ b/newlib/i686-elf/include/_ansi.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* Provide support for both ANSI and non-ANSI environments. */ /* To get a strict ANSI C environment, define macro __STRICT_ANSI__. This will diff --git a/newlib/i686-elf/include/_newlib_version.h b/newlib/i686-elf/include/_newlib_version.h index f651c4c..ac62f81 100644 --- a/newlib/i686-elf/include/_newlib_version.h +++ b/newlib/i686-elf/include/_newlib_version.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* _newlib_version.h. Generated from _newlib_version.hin by configure. */ /* Version macros for internal and downstream use. */ #ifndef _NEWLIB_VERSION_H__ diff --git a/newlib/i686-elf/include/_syslist.h b/newlib/i686-elf/include/_syslist.h index 271644e..892444b 100644 --- a/newlib/i686-elf/include/_syslist.h +++ b/newlib/i686-elf/include/_syslist.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* internal use only -- mapping of "system calls" for libraries that lose and only provide C names, so that we end up in violation of ANSI */ #ifndef __SYSLIST_H diff --git a/newlib/i686-elf/include/alloca.h b/newlib/i686-elf/include/alloca.h index 5d36318..59b8e44 100644 --- a/newlib/i686-elf/include/alloca.h +++ b/newlib/i686-elf/include/alloca.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* libc/include/alloca.h - Allocate memory on stack */ /* Written 2000 by Werner Almesberger */ diff --git a/newlib/i686-elf/include/ar.h b/newlib/i686-elf/include/ar.h index 4c05813..88e154b 100644 --- a/newlib/i686-elf/include/ar.h +++ b/newlib/i686-elf/include/ar.h @@ -1,43 +1,9 @@ /* $NetBSD: ar.h,v 1.4 1994/10/26 00:55:43 cgd Exp $ */ -/*- - * Copyright (c) 1991, 1993 - * The Regents of the University of California. All rights reserved. - * (c) UNIX System Laboratories, Inc. - * All or some portions of this file are derived from material licensed - * to the University of California by American Telephone and Telegraph - * Co. or Unix System Laboratories, Inc. and are reproduced herein with - * the permission of UNIX System Laboratories, Inc. - * - * This code is derived from software contributed to Berkeley by - * Hugh Smith at The University of Guelph. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)ar.h 8.2 (Berkeley) 1/21/94 - */ +// Copyright (c) 1991, 1993 +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _AR_H_ #define _AR_H_ diff --git a/newlib/i686-elf/include/argz.h b/newlib/i686-elf/include/argz.h index 02c9adb..facf595 100644 --- a/newlib/i686-elf/include/argz.h +++ b/newlib/i686-elf/include/argz.h @@ -1,8 +1,7 @@ -/* Copyright (C) 2002 by Red Hat, Incorporated. All rights reserved. - * - * Permission to use, copy, modify, and distribute this software - * is freely granted, provided that this notice is preserved. - */ +// Copyright (C) 2002 by Red Hat, Incorporated. All rights reserved. +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _ARGZ_H_ #define _ARGZ_H_ diff --git a/newlib/i686-elf/include/assert.h b/newlib/i686-elf/include/assert.h index b9e5e9b..6bc3a81 100644 --- a/newlib/i686-elf/include/assert.h +++ b/newlib/i686-elf/include/assert.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* assert.h */ diff --git a/newlib/i686-elf/include/complex.h b/newlib/i686-elf/include/complex.h index 0a3ea97..b918f34 100644 --- a/newlib/i686-elf/include/complex.h +++ b/newlib/i686-elf/include/complex.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* $NetBSD: complex.h,v 1.3 2010/09/15 16:11:30 christos Exp $ */ /* diff --git a/newlib/i686-elf/include/cpio.h b/newlib/i686-elf/include/cpio.h index 99860b2..0e03b18 100644 --- a/newlib/i686-elf/include/cpio.h +++ b/newlib/i686-elf/include/cpio.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* POSIX.1 symbolic constants for c_mode field of cpio archive format */ #ifndef _CPIO_H diff --git a/newlib/i686-elf/include/ctype.h b/newlib/i686-elf/include/ctype.h index 932a567..b1af086 100644 --- a/newlib/i686-elf/include/ctype.h +++ b/newlib/i686-elf/include/ctype.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _CTYPE_H_ #define _CTYPE_H_ diff --git a/newlib/i686-elf/include/devctl.h b/newlib/i686-elf/include/devctl.h index 46305cf..e4170ab 100644 --- a/newlib/i686-elf/include/devctl.h +++ b/newlib/i686-elf/include/devctl.h @@ -1,28 +1,7 @@ -/* - * Copyright (c) 2016,2019 Joel Sherrill . - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - */ +// Copyright (c) 2016,2019 Joel Sherrill . +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _POSIX_DEVCTL_h_ #define _POSIX_DEVCTL_h_ diff --git a/newlib/i686-elf/include/dirent.h b/newlib/i686-elf/include/dirent.h index 5d566a8..da3cafd 100644 --- a/newlib/i686-elf/include/dirent.h +++ b/newlib/i686-elf/include/dirent.h @@ -1,36 +1,7 @@ -/*- - * SPDX-License-Identifier: BSD-3-Clause - * - * Copyright (c) 1989, 1993 - * The Regents of the University of California. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)dirent.h 8.3 (Berkeley) 8/10/94 - * $FreeBSD: head/include/dirent.h 326024 2017-11-20 19:45:28Z pfg $ - */ +// Copyright (c) 1989, 1993 +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _DIRENT_H_ #define _DIRENT_H_ diff --git a/newlib/i686-elf/include/elf.h b/newlib/i686-elf/include/elf.h index 79d3b97..b098876 100644 --- a/newlib/i686-elf/include/elf.h +++ b/newlib/i686-elf/include/elf.h @@ -1,27 +1,7 @@ -/* -From musl include/elf.h - -Copyright © 2005-2014 Rich Felker, et al. - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ +// Copyright © 2005-2014 Rich Felker, et al. +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _ELF_H #define _ELF_H diff --git a/newlib/i686-elf/include/envlock.h b/newlib/i686-elf/include/envlock.h index 799cf7f..31fafa1 100644 --- a/newlib/i686-elf/include/envlock.h +++ b/newlib/i686-elf/include/envlock.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* envlock.h -- header file for env routines. */ #ifndef _INCLUDE_ENVLOCK_H_ diff --git a/newlib/i686-elf/include/envz.h b/newlib/i686-elf/include/envz.h index e6a31c3..9243e5f 100644 --- a/newlib/i686-elf/include/envz.h +++ b/newlib/i686-elf/include/envz.h @@ -1,8 +1,7 @@ -/* Copyright (C) 2002 by Red Hat, Incorporated. All rights reserved. - * - * Permission to use, copy, modify, and distribute this software - * is freely granted, provided that this notice is preserved. - */ +// Copyright (C) 2002 by Red Hat, Incorporated. All rights reserved. +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #include #include diff --git a/newlib/i686-elf/include/errno.h b/newlib/i686-elf/include/errno.h index 7cc2ca8..5dfe8e3 100644 --- a/newlib/i686-elf/include/errno.h +++ b/newlib/i686-elf/include/errno.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef __ERRNO_H__ #define __ERRNO_H__ diff --git a/newlib/i686-elf/include/fastmath.h b/newlib/i686-elf/include/fastmath.h index 95eea5f..fe86ef1 100644 --- a/newlib/i686-elf/include/fastmath.h +++ b/newlib/i686-elf/include/fastmath.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _FASTMATH_H_ #ifdef __cplusplus extern "C" { diff --git a/newlib/i686-elf/include/fcntl.h b/newlib/i686-elf/include/fcntl.h index 86a9167..6bfa58c 100644 --- a/newlib/i686-elf/include/fcntl.h +++ b/newlib/i686-elf/include/fcntl.h @@ -1 +1,5 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include diff --git a/newlib/i686-elf/include/fenv.h b/newlib/i686-elf/include/fenv.h index 4795cc9..7d8e1f2 100644 --- a/newlib/i686-elf/include/fenv.h +++ b/newlib/i686-elf/include/fenv.h @@ -1,13 +1,7 @@ -/* Copyright (c) 2017 SiFive Inc. All rights reserved. - - This copyrighted material is made available to anyone wishing to use, - modify, copy, or redistribute it subject to the terms and conditions - of the FreeBSD License. This program is distributed in the hope that - it will be useful, but WITHOUT ANY WARRANTY expressed or implied, - including the implied warranties of MERCHANTABILITY or FITNESS FOR - A PARTICULAR PURPOSE. A copy of this license is available at - http://www.opensource.org/licenses. -*/ +// Copyright (c) 2017 SiFive Inc. All rights reserved. +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _FENV_H #define _FENV_H diff --git a/newlib/i686-elf/include/fnmatch.h b/newlib/i686-elf/include/fnmatch.h index a94e923..bac8605 100644 --- a/newlib/i686-elf/include/fnmatch.h +++ b/newlib/i686-elf/include/fnmatch.h @@ -1,34 +1,7 @@ -/*- - * Copyright (c) 1992, 1993 - * The Regents of the University of California. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 4. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * $FreeBSD: src/include/fnmatch.h,v 1.10 2002/03/23 17:24:53 imp Exp $ - * @(#)fnmatch.h 8.1 (Berkeley) 6/2/93 - */ +// Copyright (c) 1992, 1993 +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _FNMATCH_H_ #define _FNMATCH_H_ diff --git a/newlib/i686-elf/include/ftw.h b/newlib/i686-elf/include/ftw.h index 8de1e1e..248ee00 100644 --- a/newlib/i686-elf/include/ftw.h +++ b/newlib/i686-elf/include/ftw.h @@ -1,25 +1,7 @@ -/* -* Copyright © 2005-2020 Rich Felker, et al. -* -* Permission is hereby granted, free of charge, to any person obtaining -* a copy of this software and associated documentation files (the -* "Software"), to deal in the Software without restriction, including -* without limitation the rights to use, copy, modify, merge, publish, -* distribute, sublicense, and/or sell copies of the Software, and to -* permit persons to whom the Software is furnished to do so, subject to -* the following conditions: -* -* The above copyright notice and this permission notice shall be -* included in all copies or substantial portions of the Software. -* -* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ +// Copyright © 2005-2020 Rich Felker, et al. +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _FTW_H #define _FTW_H diff --git a/newlib/i686-elf/include/getopt.h b/newlib/i686-elf/include/getopt.h index ac88524..3017ce1 100644 --- a/newlib/i686-elf/include/getopt.h +++ b/newlib/i686-elf/include/getopt.h @@ -1,86 +1,7 @@ -/**************************************************************************** - -getopt.h - Read command line options - -AUTHOR: Gregory Pietsch -CREATED Thu Jan 09 22:37:00 1997 - -DESCRIPTION: - -The getopt() function parses the command line arguments. Its arguments argc -and argv are the argument count and array as passed to the main() function -on program invocation. The argument optstring is a list of available option -characters. If such a character is followed by a colon (`:'), the option -takes an argument, which is placed in optarg. If such a character is -followed by two colons, the option takes an optional argument, which is -placed in optarg. If the option does not take an argument, optarg is NULL. - -The external variable optind is the index of the next array element of argv -to be processed; it communicates from one call to the next which element to -process. - -The getopt_long() function works like getopt() except that it also accepts -long options started by two dashes `--'. If these take values, it is either -in the form - ---arg=value - - or - ---arg value - -It takes the additional arguments longopts which is a pointer to the first -element of an array of type GETOPT_LONG_OPTION_T, defined below. The last -element of the array has to be filled with NULL for the name field. - -The longind pointer points to the index of the current long option relative -to longopts if it is non-NULL. - -The getopt() function returns the option character if the option was found -successfully, `:' if there was a missing parameter for one of the options, -`?' for an unknown option character, and EOF for the end of the option list. - -The getopt_long() function's return value is described below. - -The function getopt_long_only() is identical to getopt_long(), except that a -plus sign `+' can introduce long options as well as `--'. - -Describe how to deal with options that follow non-option ARGV-elements. - -If the caller did not specify anything, the default is REQUIRE_ORDER if the -environment variable POSIXLY_CORRECT is defined, PERMUTE otherwise. - -REQUIRE_ORDER means don't recognize them as options; stop option processing -when the first non-option is seen. This is what Unix does. This mode of -operation is selected by either setting the environment variable -POSIXLY_CORRECT, or using `+' as the first character of the optstring -parameter. - -PERMUTE is the default. We permute the contents of ARGV as we scan, so that -eventually all the non-options are at the end. This allows options to be -given in any order, even with programs that were not written to expect this. - -RETURN_IN_ORDER is an option available to programs that were written to -expect options and other ARGV-elements in any order and that care about the -ordering of the two. We describe each non-option ARGV-element as if it were -the argument of an option with character code 1. Using `-' as the first -character of the optstring parameter selects this mode of operation. - -The special argument `--' forces an end of option-scanning regardless of the -value of `ordering'. In the case of RETURN_IN_ORDER, only `--' can cause -getopt() and friends to return EOF with optind != argc. - -COPYRIGHT NOTICE AND DISCLAIMER: - -Copyright (C) 1997 Gregory Pietsch - -This file and the accompanying getopt.c implementation file are hereby -placed in the public domain without restrictions. Just give the author -credit, don't claim you wrote it or prevent anyone else from using it. - -Gregory Pietsch's current e-mail address: -gpietsch@comcast.net -****************************************************************************/ +// Copyright (C) 1997 Gregory Pietsch +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later /* This is a glibc-extension header file. */ diff --git a/newlib/i686-elf/include/glob.h b/newlib/i686-elf/include/glob.h index 7a300e6..4b1f80d 100644 --- a/newlib/i686-elf/include/glob.h +++ b/newlib/i686-elf/include/glob.h @@ -1,37 +1,7 @@ -/* - * Copyright (c) 1989, 1993 - * The Regents of the University of California. All rights reserved. - * - * This code is derived from software contributed to Berkeley by - * Guido van Rossum. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 4. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)glob.h 8.1 (Berkeley) 6/2/93 - * $FreeBSD: src/include/glob.h,v 1.6 2002/03/23 17:24:53 imp Exp $ - */ +// Copyright (c) 1989, 1993 +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _GLOB_H_ #define _GLOB_H_ diff --git a/newlib/i686-elf/include/grp.h b/newlib/i686-elf/include/grp.h index 7296e7a..5a6a1db 100644 --- a/newlib/i686-elf/include/grp.h +++ b/newlib/i686-elf/include/grp.h @@ -1,40 +1,9 @@ /* $NetBSD: grp.h,v 1.7 1995/04/29 05:30:40 cgd Exp $ */ -/*- - * Copyright (c) 1989, 1993 - * The Regents of the University of California. All rights reserved. - * (c) UNIX System Laboratories, Inc. - * All or some portions of this file are derived from material licensed - * to the University of California by American Telephone and Telegraph - * Co. or Unix System Laboratories, Inc. and are reproduced herein with - * the permission of UNIX System Laboratories, Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)grp.h 8.2 (Berkeley) 1/21/94 - */ +// Copyright (c) 1989, 1993 +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _GRP_H_ #define _GRP_H_ diff --git a/newlib/i686-elf/include/iconv.h b/newlib/i686-elf/include/iconv.h index 37feb88..73b48d7 100644 --- a/newlib/i686-elf/include/iconv.h +++ b/newlib/i686-elf/include/iconv.h @@ -1,28 +1,8 @@ -/* - * Copyright (c) 2003-2004, Artem B. Bityuckiy, SoftMine Corporation. - * Rights transferred to Franklin Electronic Publishers. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - */ +// Copyright (c) 2003-2004, Artem B. Bityuckiy, SoftMine Corporation. +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _ICONV_H_ #define _ICONV_H_ diff --git a/newlib/i686-elf/include/ieeefp.h b/newlib/i686-elf/include/ieeefp.h index 2d6421a..4513ef2 100644 --- a/newlib/i686-elf/include/ieeefp.h +++ b/newlib/i686-elf/include/ieeefp.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _IEEE_FP_H_ #define _IEEE_FP_H_ diff --git a/newlib/i686-elf/include/inttypes.h b/newlib/i686-elf/include/inttypes.h index 417ff22..cad5749 100644 --- a/newlib/i686-elf/include/inttypes.h +++ b/newlib/i686-elf/include/inttypes.h @@ -1,10 +1,7 @@ -/* - * Copyright (c) 2004, 2005 by - * Ralf Corsepius, Ulm/Germany. All rights reserved. - * - * Permission to use, copy, modify, and distribute this software - * is freely granted, provided that this notice is preserved. - */ +// Copyright (c) 2004, 2005 by +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later /** * @file inttypes.h diff --git a/newlib/i686-elf/include/langinfo.h b/newlib/i686-elf/include/langinfo.h index fcf986c..5ee3c0c 100644 --- a/newlib/i686-elf/include/langinfo.h +++ b/newlib/i686-elf/include/langinfo.h @@ -1,30 +1,7 @@ -/*- - * Copyright (c) 2001 Alexey Zelkin - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * $FreeBSD: src/include/langinfo.h,v 1.5 2002/03/23 17:24:53 imp Exp $ - */ +// Copyright (c) 2001 Alexey Zelkin +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _LANGINFO_H_ #define _LANGINFO_H_ diff --git a/newlib/i686-elf/include/libgen.h b/newlib/i686-elf/include/libgen.h index 414b5aa..417d067 100644 --- a/newlib/i686-elf/include/libgen.h +++ b/newlib/i686-elf/include/libgen.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* * libgen.h - defined by XPG4 */ diff --git a/newlib/i686-elf/include/limits.h b/newlib/i686-elf/include/limits.h index 893f108..b8417af 100644 --- a/newlib/i686-elf/include/limits.h +++ b/newlib/i686-elf/include/limits.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _LIBC_LIMITS_H_ # define _LIBC_LIMITS_H_ 1 diff --git a/newlib/i686-elf/include/locale.h b/newlib/i686-elf/include/locale.h index 8abb8db..d2ad75b 100644 --- a/newlib/i686-elf/include/locale.h +++ b/newlib/i686-elf/include/locale.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* locale.h Values appropriate for the formatting of monetary and other diff --git a/newlib/i686-elf/include/machine/_arc4random.h b/newlib/i686-elf/include/machine/_arc4random.h index 52808d7..a3a8783 100644 --- a/newlib/i686-elf/include/machine/_arc4random.h +++ b/newlib/i686-elf/include/machine/_arc4random.h @@ -1 +1,5 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* Use default implementation, see arc4random.h */ diff --git a/newlib/i686-elf/include/machine/_default_types.h b/newlib/i686-elf/include/machine/_default_types.h index 6137493..cf5f64d 100644 --- a/newlib/i686-elf/include/machine/_default_types.h +++ b/newlib/i686-elf/include/machine/_default_types.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* * $Id$ */ diff --git a/newlib/i686-elf/include/machine/_endian.h b/newlib/i686-elf/include/machine/_endian.h index 92a14dc..1cc2e37 100644 --- a/newlib/i686-elf/include/machine/_endian.h +++ b/newlib/i686-elf/include/machine/_endian.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef __MACHINE_ENDIAN_H__ #error "must be included via " #endif /* !__MACHINE_ENDIAN_H__ */ diff --git a/newlib/i686-elf/include/machine/_time.h b/newlib/i686-elf/include/machine/_time.h index 476760c..a07d095 100644 --- a/newlib/i686-elf/include/machine/_time.h +++ b/newlib/i686-elf/include/machine/_time.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _SYS_TIME_H_ #error "must be included via " #endif /* !_SYS_TIME_H_ */ diff --git a/newlib/i686-elf/include/machine/_types.h b/newlib/i686-elf/include/machine/_types.h index 17e6d51..5b45840 100644 --- a/newlib/i686-elf/include/machine/_types.h +++ b/newlib/i686-elf/include/machine/_types.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* * $Id$ */ diff --git a/newlib/i686-elf/include/machine/ansi.h b/newlib/i686-elf/include/machine/ansi.h index 737b6d0..4bb0837 100644 --- a/newlib/i686-elf/include/machine/ansi.h +++ b/newlib/i686-elf/include/machine/ansi.h @@ -1 +1,5 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* dummy header file to support BSD compiler */ diff --git a/newlib/i686-elf/include/machine/endian.h b/newlib/i686-elf/include/machine/endian.h index 34a5726..039e1bd 100644 --- a/newlib/i686-elf/include/machine/endian.h +++ b/newlib/i686-elf/include/machine/endian.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef __MACHINE_ENDIAN_H__ #define __MACHINE_ENDIAN_H__ diff --git a/newlib/i686-elf/include/machine/fastmath.h b/newlib/i686-elf/include/machine/fastmath.h index accfa87..5e9c9f5 100644 --- a/newlib/i686-elf/include/machine/fastmath.h +++ b/newlib/i686-elf/include/machine/fastmath.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _MACHFASTMATH_H #define _MACHFASTMATH_H diff --git a/newlib/i686-elf/include/machine/ieeefp.h b/newlib/i686-elf/include/machine/ieeefp.h index 3c1f41e..72ec623 100644 --- a/newlib/i686-elf/include/machine/ieeefp.h +++ b/newlib/i686-elf/include/machine/ieeefp.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef __IEEE_BIG_ENDIAN #ifndef __IEEE_LITTLE_ENDIAN diff --git a/newlib/i686-elf/include/machine/malloc.h b/newlib/i686-elf/include/machine/malloc.h index fdada9e..9a609c5 100644 --- a/newlib/i686-elf/include/machine/malloc.h +++ b/newlib/i686-elf/include/machine/malloc.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _MACHMALLOC_H_ #define _MACHMALLOC_H_ diff --git a/newlib/i686-elf/include/machine/param.h b/newlib/i686-elf/include/machine/param.h index bdf8bf7..6194dff 100644 --- a/newlib/i686-elf/include/machine/param.h +++ b/newlib/i686-elf/include/machine/param.h @@ -1 +1,5 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* Place holder for machine-specific param.h. */ diff --git a/newlib/i686-elf/include/machine/setjmp-dj.h b/newlib/i686-elf/include/machine/setjmp-dj.h index 6ca5e65..14372bf 100644 --- a/newlib/i686-elf/include/machine/setjmp-dj.h +++ b/newlib/i686-elf/include/machine/setjmp-dj.h @@ -1,14 +1,7 @@ -/* - * Copyright (C) 1991 DJ Delorie - * All rights reserved. - * - * Redistribution, modification, and use in source and binary forms is permitted - * provided that the above copyright notice and following paragraph are - * duplicated in all such forms. - * - * This file is distributed WITHOUT ANY WARRANTY; without even the implied - * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - */ +// Copyright (C) 1991 DJ Delorie +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later /* Modified to use SETJMP_DJ_H rather than SETJMP_H to avoid conflicting with setjmp.h. Ian Taylor, Cygnus support, April, diff --git a/newlib/i686-elf/include/machine/setjmp.h b/newlib/i686-elf/include/machine/setjmp.h index 0bb5323..5bedf51 100644 --- a/newlib/i686-elf/include/machine/setjmp.h +++ b/newlib/i686-elf/include/machine/setjmp.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later _BEGIN_STD_C diff --git a/newlib/i686-elf/include/machine/stdlib.h b/newlib/i686-elf/include/machine/stdlib.h index fa3f3a1..fed3b4f 100644 --- a/newlib/i686-elf/include/machine/stdlib.h +++ b/newlib/i686-elf/include/machine/stdlib.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _MACHSTDLIB_H_ #define _MACHSTDLIB_H_ diff --git a/newlib/i686-elf/include/machine/termios.h b/newlib/i686-elf/include/machine/termios.h index 41fd459..a1a1377 100644 --- a/newlib/i686-elf/include/machine/termios.h +++ b/newlib/i686-elf/include/machine/termios.h @@ -1 +1,5 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #define __MAX_BAUD B4000000 diff --git a/newlib/i686-elf/include/machine/time.h b/newlib/i686-elf/include/machine/time.h index c75edaf..103991a 100644 --- a/newlib/i686-elf/include/machine/time.h +++ b/newlib/i686-elf/include/machine/time.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _MACHTIME_H_ #define _MACHTIME_H_ diff --git a/newlib/i686-elf/include/machine/types.h b/newlib/i686-elf/include/machine/types.h index 19d0e85..18be227 100644 --- a/newlib/i686-elf/include/machine/types.h +++ b/newlib/i686-elf/include/machine/types.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* * Newlib targets may provide an own version of this file in their machine * directory to add custom user types for . diff --git a/newlib/i686-elf/include/malloc.h b/newlib/i686-elf/include/malloc.h index a9dc5bc..704a62b 100644 --- a/newlib/i686-elf/include/malloc.h +++ b/newlib/i686-elf/include/malloc.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* malloc.h -- header file for memory routines. */ #ifndef _INCLUDE_MALLOC_H_ diff --git a/newlib/i686-elf/include/math.h b/newlib/i686-elf/include/math.h index 0b6494e..1def78c 100644 --- a/newlib/i686-elf/include/math.h +++ b/newlib/i686-elf/include/math.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _MATH_H_ #define _MATH_H_ diff --git a/newlib/i686-elf/include/memory.h b/newlib/i686-elf/include/memory.h index f4a14fc..32e2fe6 100644 --- a/newlib/i686-elf/include/memory.h +++ b/newlib/i686-elf/include/memory.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _MEMORY_H #define _MEMORY_H #include diff --git a/newlib/i686-elf/include/ndbm.h b/newlib/i686-elf/include/ndbm.h index c5084b9..3588773 100644 --- a/newlib/i686-elf/include/ndbm.h +++ b/newlib/i686-elf/include/ndbm.h @@ -1,41 +1,7 @@ -/*- - * SPDX-License-Identifier: BSD-3-Clause - * - * Copyright (c) 1990, 1993 - * The Regents of the University of California. All rights reserved. - * - * This code is derived from software contributed to Berkeley by - * Margo Seltzer. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)ndbm.h 8.1 (Berkeley) 6/2/93 - * $FreeBSD$ : src/include/ndbm.h - * Nov 20 19:45:28 2017 UTC by pfg - * SVN Revision 326024 - */ +// Copyright (c) 1990, 1993 +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _NDBM_H_ #define _NDBM_H_ diff --git a/newlib/i686-elf/include/newlib.h b/newlib/i686-elf/include/newlib.h index 3dd8f85..6838c72 100644 --- a/newlib/i686-elf/include/newlib.h +++ b/newlib/i686-elf/include/newlib.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* newlib.h. Generated from newlib.hin by configure. */ /* newlib.hin. Manually edited from the output of autoheader to remove all PACKAGE_ macros which will collide with any user diff --git a/newlib/i686-elf/include/paths.h b/newlib/i686-elf/include/paths.h index b1c70f5..4165b46 100644 --- a/newlib/i686-elf/include/paths.h +++ b/newlib/i686-elf/include/paths.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _PATHS_H_ #define _PATHS_H_ diff --git a/newlib/i686-elf/include/pthread.h b/newlib/i686-elf/include/pthread.h index c99ad39..8995926 100644 --- a/newlib/i686-elf/include/pthread.h +++ b/newlib/i686-elf/include/pthread.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* * Written by Joel Sherrill . * diff --git a/newlib/i686-elf/include/pwd.h b/newlib/i686-elf/include/pwd.h index baae884..0d2bc70 100644 --- a/newlib/i686-elf/include/pwd.h +++ b/newlib/i686-elf/include/pwd.h @@ -1,33 +1,7 @@ -/*- - * Copyright (c) 1989 The Regents of the University of California. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)pwd.h 5.13 (Berkeley) 5/28/91 - */ +// Copyright (c) 1989 The Regents of the University of California. +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _PWD_H_ #ifdef __cplusplus diff --git a/newlib/i686-elf/include/reent.h b/newlib/i686-elf/include/reent.h index 2b01fbe..9fd3698 100644 --- a/newlib/i686-elf/include/reent.h +++ b/newlib/i686-elf/include/reent.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* This header file provides the reentrancy. */ /* The reentrant system calls here serve two purposes: diff --git a/newlib/i686-elf/include/regdef.h b/newlib/i686-elf/include/regdef.h index 8cf144b..e36d45b 100644 --- a/newlib/i686-elf/include/regdef.h +++ b/newlib/i686-elf/include/regdef.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* regdef.h -- define register names. */ /* This is a standard include file for MIPS targets. Other target diff --git a/newlib/i686-elf/include/regex.h b/newlib/i686-elf/include/regex.h index fa3e268..b755839 100644 --- a/newlib/i686-elf/include/regex.h +++ b/newlib/i686-elf/include/regex.h @@ -1,38 +1,8 @@ -/*- - * Copyright (c) 1992 Henry Spencer. - * Copyright (c) 1992, 1993 - * The Regents of the University of California. All rights reserved. - * - * This code is derived from software contributed to Berkeley by - * Henry Spencer of the University of Toronto. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 4. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)regex.h 8.2 (Berkeley) 1/3/94 - * $FreeBSD: src/include/regex.h,v 1.4 2002/03/23 17:24:53 imp Exp $ - */ +// Copyright (c) 1992 Henry Spencer. +// Copyright (c) 1992, 1993 +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _REGEX_H_ #define _REGEX_H_ diff --git a/newlib/i686-elf/include/sched.h b/newlib/i686-elf/include/sched.h index 8a45d49..d24a8bd 100644 --- a/newlib/i686-elf/include/sched.h +++ b/newlib/i686-elf/include/sched.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* * Written by Joel Sherrill . * diff --git a/newlib/i686-elf/include/search.h b/newlib/i686-elf/include/search.h index ed321b0..59cdb92 100644 --- a/newlib/i686-elf/include/search.h +++ b/newlib/i686-elf/include/search.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* $NetBSD: search.h,v 1.12 1999/02/22 10:34:28 christos Exp $ */ /* $FreeBSD: src/include/search.h,v 1.4 2002/03/23 17:24:53 imp Exp $ */ diff --git a/newlib/i686-elf/include/setjmp.h b/newlib/i686-elf/include/setjmp.h index a2830b2..a1a69f4 100644 --- a/newlib/i686-elf/include/setjmp.h +++ b/newlib/i686-elf/include/setjmp.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* setjmp.h stubs for future use. diff --git a/newlib/i686-elf/include/signal.h b/newlib/i686-elf/include/signal.h index 23a9863..6e375a4 100644 --- a/newlib/i686-elf/include/signal.h +++ b/newlib/i686-elf/include/signal.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _SIGNAL_H_ #define _SIGNAL_H_ diff --git a/newlib/i686-elf/include/spawn.h b/newlib/i686-elf/include/spawn.h index d172177..180a6f5 100644 --- a/newlib/i686-elf/include/spawn.h +++ b/newlib/i686-elf/include/spawn.h @@ -1,28 +1,7 @@ -/*- - * Copyright (c) 2008 Ed Schouten - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - */ +// Copyright (c) 2008 Ed Schouten +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _SPAWN_H_ #define _SPAWN_H_ diff --git a/newlib/i686-elf/include/ssp/ssp.h b/newlib/i686-elf/include/ssp/ssp.h index 9229086..08a31de 100644 --- a/newlib/i686-elf/include/ssp/ssp.h +++ b/newlib/i686-elf/include/ssp/ssp.h @@ -1,33 +1,10 @@ /* $NetBSD: ssp.h,v 1.13 2015/09/03 20:43:47 plunky Exp $ */ -/*- - * Copyright (c) 2006, 2011 The NetBSD Foundation, Inc. - * All rights reserved. - * - * This code is derived from software contributed to The NetBSD Foundation - * by Christos Zoulas. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ +// Copyright (c) 2006, 2011 The NetBSD Foundation, Inc. +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _SSP_SSP_H_ #define _SSP_SSP_H_ diff --git a/newlib/i686-elf/include/ssp/stdio.h b/newlib/i686-elf/include/ssp/stdio.h index df2cd18..cb21616 100644 --- a/newlib/i686-elf/include/ssp/stdio.h +++ b/newlib/i686-elf/include/ssp/stdio.h @@ -1,33 +1,10 @@ /* $NetBSD: stdio.h,v 1.5 2011/07/17 20:54:34 joerg Exp $ */ -/*- - * Copyright (c) 2006 The NetBSD Foundation, Inc. - * All rights reserved. - * - * This code is derived from software contributed to The NetBSD Foundation - * by Christos Zoulas. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ +// Copyright (c) 2006 The NetBSD Foundation, Inc. +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _SSP_STDIO_H_ #define _SSP_STDIO_H_ diff --git a/newlib/i686-elf/include/ssp/stdlib.h b/newlib/i686-elf/include/ssp/stdlib.h index d5edb6d..7308bec 100644 --- a/newlib/i686-elf/include/ssp/stdlib.h +++ b/newlib/i686-elf/include/ssp/stdlib.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _SSP_STDLIB_H_ #define _SSP_STDLIB_H_ diff --git a/newlib/i686-elf/include/ssp/string.h b/newlib/i686-elf/include/ssp/string.h index 85c4512..4b67fb0 100644 --- a/newlib/i686-elf/include/ssp/string.h +++ b/newlib/i686-elf/include/ssp/string.h @@ -1,33 +1,10 @@ /* $NetBSD: string.h,v 1.13 2014/11/29 13:23:48 pooka Exp $ */ -/*- - * Copyright (c) 2006 The NetBSD Foundation, Inc. - * All rights reserved. - * - * This code is derived from software contributed to The NetBSD Foundation - * by Christos Zoulas. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ +// Copyright (c) 2006 The NetBSD Foundation, Inc. +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _SSP_STRING_H_ #define _SSP_STRING_H_ diff --git a/newlib/i686-elf/include/ssp/strings.h b/newlib/i686-elf/include/ssp/strings.h index 13adba1..8138e25 100644 --- a/newlib/i686-elf/include/ssp/strings.h +++ b/newlib/i686-elf/include/ssp/strings.h @@ -1,33 +1,10 @@ /* $NetBSD: strings.h,v 1.3 2008/04/28 20:22:54 martin Exp $ */ -/*- - * Copyright (c) 2007 The NetBSD Foundation, Inc. - * All rights reserved. - * - * This code is derived from software contributed to The NetBSD Foundation - * by Christos Zoulas. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ +// Copyright (c) 2007 The NetBSD Foundation, Inc. +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _SSP_STRINGS_H_ #define _SSP_STRINGS_H_ diff --git a/newlib/i686-elf/include/ssp/unistd.h b/newlib/i686-elf/include/ssp/unistd.h index 5ca6ace..7d237b4 100644 --- a/newlib/i686-elf/include/ssp/unistd.h +++ b/newlib/i686-elf/include/ssp/unistd.h @@ -1,33 +1,10 @@ /* $NetBSD: unistd.h,v 1.7 2015/06/25 18:41:03 joerg Exp $ */ -/*- - * Copyright (c) 2006 The NetBSD Foundation, Inc. - * All rights reserved. - * - * This code is derived from software contributed to The NetBSD Foundation - * by Christos Zoulas. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ +// Copyright (c) 2006 The NetBSD Foundation, Inc. +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _SSP_UNISTD_H_ #define _SSP_UNISTD_H_ diff --git a/newlib/i686-elf/include/ssp/wchar.h b/newlib/i686-elf/include/ssp/wchar.h index d748fa2..60a1a75 100644 --- a/newlib/i686-elf/include/ssp/wchar.h +++ b/newlib/i686-elf/include/ssp/wchar.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _SSP_WCHAR_H_ #define _SSP_WCHAR_H_ diff --git a/newlib/i686-elf/include/stdatomic.h b/newlib/i686-elf/include/stdatomic.h index d58e795..9977c9f 100644 --- a/newlib/i686-elf/include/stdatomic.h +++ b/newlib/i686-elf/include/stdatomic.h @@ -1,31 +1,7 @@ -/*- - * Copyright (c) 2011 Ed Schouten - * David Chisnall - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * $FreeBSD$ - */ +// Copyright (c) 2011 Ed Schouten +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _STDATOMIC_H_ #define _STDATOMIC_H_ diff --git a/newlib/i686-elf/include/stdint.h b/newlib/i686-elf/include/stdint.h index 4abdacb..31cf966 100644 --- a/newlib/i686-elf/include/stdint.h +++ b/newlib/i686-elf/include/stdint.h @@ -1,10 +1,7 @@ -/* - * Copyright (c) 2004, 2005 by - * Ralf Corsepius, Ulm/Germany. All rights reserved. - * - * Permission to use, copy, modify, and distribute this software - * is freely granted, provided that this notice is preserved. - */ +// Copyright (c) 2004, 2005 by +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _STDINT_H #define _STDINT_H diff --git a/newlib/i686-elf/include/stdio.h b/newlib/i686-elf/include/stdio.h index ab18806..f3e4884 100644 --- a/newlib/i686-elf/include/stdio.h +++ b/newlib/i686-elf/include/stdio.h @@ -1,21 +1,7 @@ -/* - * Copyright (c) 1990 The Regents of the University of California. - * All rights reserved. - * - * Redistribution and use in source and binary forms are permitted - * provided that the above copyright notice and this paragraph are - * duplicated in all such forms and that any documentation, - * and/or other materials related to such - * distribution and use acknowledge that the software was developed - * by the University of California, Berkeley. The name of the - * University may not be used to endorse or promote products derived - * from this software without specific prior written permission. - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. - * - * @(#)stdio.h 5.3 (Berkeley) 3/15/86 - */ +// Copyright (c) 1990 The Regents of the University of California. +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later /* * NB: to fit things in six character monocase externals, the diff --git a/newlib/i686-elf/include/stdio_ext.h b/newlib/i686-elf/include/stdio_ext.h index 231262d..c9c2bb3 100644 --- a/newlib/i686-elf/include/stdio_ext.h +++ b/newlib/i686-elf/include/stdio_ext.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* * stdio_ext.h * diff --git a/newlib/i686-elf/include/stdlib.h b/newlib/i686-elf/include/stdlib.h index 15b3494..dbac078 100644 --- a/newlib/i686-elf/include/stdlib.h +++ b/newlib/i686-elf/include/stdlib.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* * stdlib.h * diff --git a/newlib/i686-elf/include/string.h b/newlib/i686-elf/include/string.h index 60e837b..3d0bc01 100644 --- a/newlib/i686-elf/include/string.h +++ b/newlib/i686-elf/include/string.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* * string.h * diff --git a/newlib/i686-elf/include/strings.h b/newlib/i686-elf/include/strings.h index f0f7ee1..5e86ae3 100644 --- a/newlib/i686-elf/include/strings.h +++ b/newlib/i686-elf/include/strings.h @@ -1,30 +1,7 @@ -/*- - * Copyright (c) 2002 Mike Barcroft - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * $FreeBSD: head/include/strings.h 272673 2014-10-07 04:54:11Z delphij $ - */ +// Copyright (c) 2002 Mike Barcroft +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _STRINGS_H_ #define _STRINGS_H_ diff --git a/newlib/i686-elf/include/sys/_default_fcntl.h b/newlib/i686-elf/include/sys/_default_fcntl.h index 50a0de4..4b32531 100644 --- a/newlib/i686-elf/include/sys/_default_fcntl.h +++ b/newlib/i686-elf/include/sys/_default_fcntl.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _SYS__DEFAULT_FCNTL_H_ #ifdef __cplusplus diff --git a/newlib/i686-elf/include/sys/_intsup.h b/newlib/i686-elf/include/sys/_intsup.h index 993121b..ce10222 100644 --- a/newlib/i686-elf/include/sys/_intsup.h +++ b/newlib/i686-elf/include/sys/_intsup.h @@ -1,10 +1,7 @@ -/* - * Copyright (c) 2004, 2005 by - * Ralf Corsepius, Ulm/Germany. All rights reserved. - * - * Permission to use, copy, modify, and distribute this software - * is freely granted, provided that this notice is preserved. - */ +// Copyright (c) 2004, 2005 by +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _SYS__INTSUP_H #define _SYS__INTSUP_H diff --git a/newlib/i686-elf/include/sys/_locale.h b/newlib/i686-elf/include/sys/_locale.h index ce6f995..7ae033a 100644 --- a/newlib/i686-elf/include/sys/_locale.h +++ b/newlib/i686-elf/include/sys/_locale.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* Definition of opaque POSIX-1.2008 type locale_t for userspace. */ #ifndef _SYS__LOCALE_H diff --git a/newlib/i686-elf/include/sys/_pthreadtypes.h b/newlib/i686-elf/include/sys/_pthreadtypes.h index 75e9e1c..886b2c6 100644 --- a/newlib/i686-elf/include/sys/_pthreadtypes.h +++ b/newlib/i686-elf/include/sys/_pthreadtypes.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* * Written by Joel Sherrill . * diff --git a/newlib/i686-elf/include/sys/_sigset.h b/newlib/i686-elf/include/sys/_sigset.h index a9c0d2d..e77453b 100644 --- a/newlib/i686-elf/include/sys/_sigset.h +++ b/newlib/i686-elf/include/sys/_sigset.h @@ -1,39 +1,7 @@ -/*- - * Copyright (c) 1982, 1986, 1989, 1991, 1993 - * The Regents of the University of California. All rights reserved. - * (c) UNIX System Laboratories, Inc. - * All or some portions of this file are derived from material licensed - * to the University of California by American Telephone and Telegraph - * Co. or Unix System Laboratories, Inc. and are reproduced herein with - * the permission of UNIX System Laboratories, Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 4. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)signal.h 8.4 (Berkeley) 5/4/95 - * $FreeBSD$ - */ +// Copyright (c) 1982, 1986, 1989, 1991, 1993 +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _SYS__SIGSET_H_ #define _SYS__SIGSET_H_ diff --git a/newlib/i686-elf/include/sys/_stdint.h b/newlib/i686-elf/include/sys/_stdint.h index 21a14d3..2a39df0 100644 --- a/newlib/i686-elf/include/sys/_stdint.h +++ b/newlib/i686-elf/include/sys/_stdint.h @@ -1,10 +1,7 @@ -/* - * Copyright (c) 2004, 2005 by - * Ralf Corsepius, Ulm/Germany. All rights reserved. - * - * Permission to use, copy, modify, and distribute this software - * is freely granted, provided that this notice is preserved. - */ +// Copyright (c) 2004, 2005 by +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _SYS__STDINT_H #define _SYS__STDINT_H diff --git a/newlib/i686-elf/include/sys/_timespec.h b/newlib/i686-elf/include/sys/_timespec.h index f810b00..315a01a 100644 --- a/newlib/i686-elf/include/sys/_timespec.h +++ b/newlib/i686-elf/include/sys/_timespec.h @@ -1,37 +1,7 @@ -/*- - * SPDX-License-Identifier: BSD-3-Clause - * - * Copyright (c) 1982, 1986, 1993 - * The Regents of the University of California. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)time.h 8.5 (Berkeley) 5/4/95 - * from: FreeBSD: src/sys/sys/time.h,v 1.43 2000/03/20 14:09:05 phk Exp - * $FreeBSD: head/sys/sys/_timespec.h 326023 2017-11-20 19:43:44Z pfg $ - */ +// Copyright (c) 1982, 1986, 1993 +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _SYS__TIMESPEC_H_ #define _SYS__TIMESPEC_H_ diff --git a/newlib/i686-elf/include/sys/_timeval.h b/newlib/i686-elf/include/sys/_timeval.h index 6b250c0..1ce87de 100644 --- a/newlib/i686-elf/include/sys/_timeval.h +++ b/newlib/i686-elf/include/sys/_timeval.h @@ -1,32 +1,7 @@ -/*- - * SPDX-License-Identifier: BSD-2-Clause-FreeBSD - * - * Copyright (c) 2002 Mike Barcroft - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * $FreeBSD: head/sys/sys/_timeval.h 326256 2017-11-27 15:01:59Z pfg $ - */ +// Copyright (c) 2002 Mike Barcroft +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _SYS__TIMEVAL_H_ #define _SYS__TIMEVAL_H_ diff --git a/newlib/i686-elf/include/sys/_types.h b/newlib/i686-elf/include/sys/_types.h index 017a0aa..cf59737 100644 --- a/newlib/i686-elf/include/sys/_types.h +++ b/newlib/i686-elf/include/sys/_types.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* ANSI C namespace clean utility typedefs */ /* This file defines various typedefs needed by the system calls that support diff --git a/newlib/i686-elf/include/sys/_tz_structs.h b/newlib/i686-elf/include/sys/_tz_structs.h index 9610b06..b42a513 100644 --- a/newlib/i686-elf/include/sys/_tz_structs.h +++ b/newlib/i686-elf/include/sys/_tz_structs.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _SYS__TZ_STRUCTS_H_ #define _SYS__TZ_STRUCTS_H_ diff --git a/newlib/i686-elf/include/sys/cdefs.h b/newlib/i686-elf/include/sys/cdefs.h index da72909..6d6f6e0 100644 --- a/newlib/i686-elf/include/sys/cdefs.h +++ b/newlib/i686-elf/include/sys/cdefs.h @@ -2,42 +2,10 @@ /* Written 2000 by Werner Almesberger */ -/*- - * SPDX-License-Identifier: BSD-3-Clause - * - * Copyright (c) 1991, 1993 - * The Regents of the University of California. All rights reserved. - * - * This code is derived from software contributed to Berkeley by - * Berkeley Software Design, Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)cdefs.h 8.8 (Berkeley) 1/9/95 - * $FreeBSD$ - */ +// Copyright (c) 1991, 1993 +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _SYS_CDEFS_H_ #define _SYS_CDEFS_H_ diff --git a/newlib/i686-elf/include/sys/config.h b/newlib/i686-elf/include/sys/config.h index b9dff88..539d5e1 100644 --- a/newlib/i686-elf/include/sys/config.h +++ b/newlib/i686-elf/include/sys/config.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef __SYS_CONFIG_H__ #define __SYS_CONFIG_H__ diff --git a/newlib/i686-elf/include/sys/custom_file.h b/newlib/i686-elf/include/sys/custom_file.h index 96314fb..4def595 100644 --- a/newlib/i686-elf/include/sys/custom_file.h +++ b/newlib/i686-elf/include/sys/custom_file.h @@ -1,2 +1,6 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #error System-specific custom_file.h is missing. diff --git a/newlib/i686-elf/include/sys/dir.h b/newlib/i686-elf/include/sys/dir.h index 220150d..bc754af 100644 --- a/newlib/i686-elf/include/sys/dir.h +++ b/newlib/i686-elf/include/sys/dir.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* BSD predecessor of POSIX.1 and struct dirent */ #ifndef _SYS_DIR_H_ diff --git a/newlib/i686-elf/include/sys/dirent.h b/newlib/i686-elf/include/sys/dirent.h index a3fb5c0..37227ee 100644 --- a/newlib/i686-elf/include/sys/dirent.h +++ b/newlib/i686-elf/include/sys/dirent.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* includes , which is this file. On a system which supports , this file is overridden by dirent.h in the libc/sys/.../sys directory. On a system which does diff --git a/newlib/i686-elf/include/sys/errno.h b/newlib/i686-elf/include/sys/errno.h index 025b461..6290f87 100644 --- a/newlib/i686-elf/include/sys/errno.h +++ b/newlib/i686-elf/include/sys/errno.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* errno is not a global variable, because that would make using it non-reentrant. Instead, its address is returned by the function __errno. */ diff --git a/newlib/i686-elf/include/sys/fcntl.h b/newlib/i686-elf/include/sys/fcntl.h index be85f40..818036b 100644 --- a/newlib/i686-elf/include/sys/fcntl.h +++ b/newlib/i686-elf/include/sys/fcntl.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _SYS_FCNTL_H_ #define _SYS_FCNTL_H_ #include diff --git a/newlib/i686-elf/include/sys/features.h b/newlib/i686-elf/include/sys/features.h index 2188071..3a4f8cd 100644 --- a/newlib/i686-elf/include/sys/features.h +++ b/newlib/i686-elf/include/sys/features.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* * Written by Joel Sherrill . * diff --git a/newlib/i686-elf/include/sys/fenv.h b/newlib/i686-elf/include/sys/fenv.h index 243cac2..9d6fc35 100644 --- a/newlib/i686-elf/include/sys/fenv.h +++ b/newlib/i686-elf/include/sys/fenv.h @@ -1,30 +1,7 @@ -/* - * SPDX-License-Identifier: BSD-2-Clause - * - * Copyright (c) 2010-2019 Red Hat, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - */ +// Copyright (c) 2010-2019 Red Hat, Inc. +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _SYS_FENV_H #define _SYS_FENV_H 1 diff --git a/newlib/i686-elf/include/sys/file.h b/newlib/i686-elf/include/sys/file.h index 58d4fac..6bfa58c 100644 --- a/newlib/i686-elf/include/sys/file.h +++ b/newlib/i686-elf/include/sys/file.h @@ -1,2 +1,5 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #include diff --git a/newlib/i686-elf/include/sys/iconvnls.h b/newlib/i686-elf/include/sys/iconvnls.h index d4ee0b7..ac47678 100644 --- a/newlib/i686-elf/include/sys/iconvnls.h +++ b/newlib/i686-elf/include/sys/iconvnls.h @@ -1,28 +1,7 @@ -/* - * Copyright (c) 2003-2004, Artem B. Bityuckiy. - * Rights transferred to Franklin Electronic Publishers. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - */ +// Copyright (c) 2003-2004, Artem B. Bityuckiy. +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later /* * Funtions, macros, etc implimented in iconv library but used by other diff --git a/newlib/i686-elf/include/sys/lock.h b/newlib/i686-elf/include/sys/lock.h index 5289049..f06026c 100644 --- a/newlib/i686-elf/include/sys/lock.h +++ b/newlib/i686-elf/include/sys/lock.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef __SYS_LOCK_H__ #define __SYS_LOCK_H__ diff --git a/newlib/i686-elf/include/sys/param.h b/newlib/i686-elf/include/sys/param.h index 9a6f115..467bda2 100644 --- a/newlib/i686-elf/include/sys/param.h +++ b/newlib/i686-elf/include/sys/param.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* This is a dummy file, not customized for any particular system. If there is a param.h in libc/sys/SYSDIR/sys, it will override this one. */ diff --git a/newlib/i686-elf/include/sys/queue.h b/newlib/i686-elf/include/sys/queue.h index 6392b62..da3aee2 100644 --- a/newlib/i686-elf/include/sys/queue.h +++ b/newlib/i686-elf/include/sys/queue.h @@ -1,34 +1,7 @@ -/*- - * Copyright (c) 1991, 1993 - * The Regents of the University of California. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)queue.h 8.5 (Berkeley) 8/20/94 - * $FreeBSD$ - */ +// Copyright (c) 1991, 1993 +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _SYS_QUEUE_H_ #define _SYS_QUEUE_H_ diff --git a/newlib/i686-elf/include/sys/reent.h b/newlib/i686-elf/include/sys/reent.h index e4e3617..a96c995 100644 --- a/newlib/i686-elf/include/sys/reent.h +++ b/newlib/i686-elf/include/sys/reent.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* This header file provides the reentrancy. */ /* WARNING: All identifiers here must begin with an underscore. This file is @@ -300,20 +304,11 @@ struct _glue __FILE *_iobs; }; -/* - * rand48 family support - * - * Copyright (c) 1993 Martin Birgmeier - * All rights reserved. - * - * You may redistribute unmodified or modified versions of this source - * code provided that the above copyright notice and this and the - * following conditions are retained. - * - * This software is provided ``as is'', and comes with no warranties - * of any kind. I shall in no event be liable for anything that happens - * to anyone/anything when using this software. - */ +// Copyright (c) 1993 Martin Birgmeier +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #define _RAND48_SEED_0 (0x330e) #define _RAND48_SEED_1 (0xabcd) #define _RAND48_SEED_2 (0x1234) diff --git a/newlib/i686-elf/include/sys/resource.h b/newlib/i686-elf/include/sys/resource.h index b99506b..188de4e 100644 --- a/newlib/i686-elf/include/sys/resource.h +++ b/newlib/i686-elf/include/sys/resource.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _SYS_RESOURCE_H_ #define _SYS_RESOURCE_H_ diff --git a/newlib/i686-elf/include/sys/sched.h b/newlib/i686-elf/include/sys/sched.h index 4adb6e2..0f821c8 100644 --- a/newlib/i686-elf/include/sys/sched.h +++ b/newlib/i686-elf/include/sys/sched.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* * Written by Joel Sherrill . * diff --git a/newlib/i686-elf/include/sys/select.h b/newlib/i686-elf/include/sys/select.h index a5cd6c3..23f23d2 100644 --- a/newlib/i686-elf/include/sys/select.h +++ b/newlib/i686-elf/include/sys/select.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _SYS_SELECT_H #define _SYS_SELECT_H diff --git a/newlib/i686-elf/include/sys/signal.h b/newlib/i686-elf/include/sys/signal.h index 255782e..80196cc 100644 --- a/newlib/i686-elf/include/sys/signal.h +++ b/newlib/i686-elf/include/sys/signal.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* sys/signal.h */ #ifndef _SYS_SIGNAL_H diff --git a/newlib/i686-elf/include/sys/stat.h b/newlib/i686-elf/include/sys/stat.h index 3d31ba5..8495713 100644 --- a/newlib/i686-elf/include/sys/stat.h +++ b/newlib/i686-elf/include/sys/stat.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _SYS_STAT_H #define _SYS_STAT_H diff --git a/newlib/i686-elf/include/sys/stdio.h b/newlib/i686-elf/include/sys/stdio.h index 91a2745..aef25ea 100644 --- a/newlib/i686-elf/include/sys/stdio.h +++ b/newlib/i686-elf/include/sys/stdio.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _NEWLIB_STDIO_H #define _NEWLIB_STDIO_H diff --git a/newlib/i686-elf/include/sys/string.h b/newlib/i686-elf/include/sys/string.h index ceedf4b..e545df6 100644 --- a/newlib/i686-elf/include/sys/string.h +++ b/newlib/i686-elf/include/sys/string.h @@ -1,2 +1,6 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* This is a dummy used as a placeholder for systems that need to have a special header file. */ diff --git a/newlib/i686-elf/include/sys/syslimits.h b/newlib/i686-elf/include/sys/syslimits.h index c872d20..df5a399 100644 --- a/newlib/i686-elf/include/sys/syslimits.h +++ b/newlib/i686-elf/include/sys/syslimits.h @@ -1,34 +1,7 @@ -/* - * Copyright (c) 1988, 1993 - * The Regents of the University of California. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)syslimits.h 8.1 (Berkeley) 6/2/93 - * $FreeBSD: src/sys/sys/syslimits.h,v 1.10 2001/06/18 20:24:54 wollman Exp $ - */ +// Copyright (c) 1988, 1993 +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _SYS_SYSLIMITS_H_ #define _SYS_SYSLIMITS_H_ diff --git a/newlib/i686-elf/include/sys/time.h b/newlib/i686-elf/include/sys/time.h index 3be6c1e..1013d9b 100644 --- a/newlib/i686-elf/include/sys/time.h +++ b/newlib/i686-elf/include/sys/time.h @@ -2,39 +2,10 @@ Written by Geoffrey Noer Public domain; no rights reserved. */ -/*- - * SPDX-License-Identifier: BSD-3-Clause - * - * Copyright (c) 1982, 1986, 1993 - * The Regents of the University of California. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)time.h 8.5 (Berkeley) 5/4/95 - * $FreeBSD: head/sys/sys/time.h 346176 2019-04-13 04:46:35Z imp $ - */ +// Copyright (c) 1982, 1986, 1993 +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _SYS_TIME_H_ #define _SYS_TIME_H_ diff --git a/newlib/i686-elf/include/sys/timeb.h b/newlib/i686-elf/include/sys/timeb.h index ccf6649..93578d5 100644 --- a/newlib/i686-elf/include/sys/timeb.h +++ b/newlib/i686-elf/include/sys/timeb.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* timeb.h -- An implementation of the standard Unix file. Written by Ian Lance Taylor Public domain; no rights reserved. diff --git a/newlib/i686-elf/include/sys/times.h b/newlib/i686-elf/include/sys/times.h index 05b2547..4ad4d66 100644 --- a/newlib/i686-elf/include/sys/times.h +++ b/newlib/i686-elf/include/sys/times.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _SYS_TIMES_H #ifdef __cplusplus extern "C" { diff --git a/newlib/i686-elf/include/sys/timespec.h b/newlib/i686-elf/include/sys/timespec.h index 2505cef..40fe302 100644 --- a/newlib/i686-elf/include/sys/timespec.h +++ b/newlib/i686-elf/include/sys/timespec.h @@ -1,35 +1,7 @@ -/*- - * Copyright (c) 1982, 1986, 1993 - * The Regents of the University of California. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 4. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)time.h 8.5 (Berkeley) 5/4/95 - * from: FreeBSD: src/sys/sys/time.h,v 1.43 2000/03/20 14:09:05 phk Exp - * $FreeBSD$ - */ +// Copyright (c) 1982, 1986, 1993 +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _SYS_TIMESPEC_H_ #define _SYS_TIMESPEC_H_ diff --git a/newlib/i686-elf/include/sys/tree.h b/newlib/i686-elf/include/sys/tree.h index 2af77a4..26f1c08 100644 --- a/newlib/i686-elf/include/sys/tree.h +++ b/newlib/i686-elf/include/sys/tree.h @@ -2,32 +2,10 @@ /* $OpenBSD: tree.h,v 1.7 2002/10/17 21:51:54 art Exp $ */ /* $FreeBSD: head/sys/sys/tree.h 347360 2019-05-08 18:47:00Z trasz $ */ -/*- - * SPDX-License-Identifier: BSD-2-Clause-FreeBSD - * - * Copyright 2002 Niels Provos - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ +// Copyright 2002 Niels Provos +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _SYS_TREE_H_ #define _SYS_TREE_H_ diff --git a/newlib/i686-elf/include/sys/types.h b/newlib/i686-elf/include/sys/types.h index 4613ac8..c551fff 100644 --- a/newlib/i686-elf/include/sys/types.h +++ b/newlib/i686-elf/include/sys/types.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* unified sys/types.h: start with sef's sysvi386 version. merge go32 version -- a few ifdefs. diff --git a/newlib/i686-elf/include/sys/unistd.h b/newlib/i686-elf/include/sys/unistd.h index 6aa5c52..0f0786e 100644 --- a/newlib/i686-elf/include/sys/unistd.h +++ b/newlib/i686-elf/include/sys/unistd.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _SYS_UNISTD_H #define _SYS_UNISTD_H diff --git a/newlib/i686-elf/include/sys/utime.h b/newlib/i686-elf/include/sys/utime.h index 5e937f1..06de047 100644 --- a/newlib/i686-elf/include/sys/utime.h +++ b/newlib/i686-elf/include/sys/utime.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _SYS_UTIME_H #define _SYS_UTIME_H diff --git a/newlib/i686-elf/include/sys/wait.h b/newlib/i686-elf/include/sys/wait.h index f17e53f..90954ac 100644 --- a/newlib/i686-elf/include/sys/wait.h +++ b/newlib/i686-elf/include/sys/wait.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _SYS_WAIT_H #define _SYS_WAIT_H diff --git a/newlib/i686-elf/include/tar.h b/newlib/i686-elf/include/tar.h index 36437fc..dc67ecd 100644 --- a/newlib/i686-elf/include/tar.h +++ b/newlib/i686-elf/include/tar.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* * tar.h */ diff --git a/newlib/i686-elf/include/termios.h b/newlib/i686-elf/include/termios.h index ee1820c..f0f53fc 100644 --- a/newlib/i686-elf/include/termios.h +++ b/newlib/i686-elf/include/termios.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifdef __cplusplus extern "C" { #endif diff --git a/newlib/i686-elf/include/tgmath.h b/newlib/i686-elf/include/tgmath.h index 97dc50e..70cbdb0 100644 --- a/newlib/i686-elf/include/tgmath.h +++ b/newlib/i686-elf/include/tgmath.h @@ -1,31 +1,9 @@ /* http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/tgmath.h.html */ -/*- - * Copyright (c) 2004 Stefan Farfeleder. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * $FreeBSD$ - */ + +// Copyright (c) 2004 Stefan Farfeleder. +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _TGMATH_H_ #define _TGMATH_H_ diff --git a/newlib/i686-elf/include/threads.h b/newlib/i686-elf/include/threads.h index 9fb08b0..2ffb743 100644 --- a/newlib/i686-elf/include/threads.h +++ b/newlib/i686-elf/include/threads.h @@ -1,28 +1,7 @@ -/*- - * Copyright (c) 2011 Ed Schouten - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - */ +// Copyright (c) 2011 Ed Schouten +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _THREADS_H_ #define _THREADS_H_ diff --git a/newlib/i686-elf/include/time.h b/newlib/i686-elf/include/time.h index ed6cc70..d1751b2 100644 --- a/newlib/i686-elf/include/time.h +++ b/newlib/i686-elf/include/time.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* * time.h * diff --git a/newlib/i686-elf/include/unctrl.h b/newlib/i686-elf/include/unctrl.h index 3363328..47baf88 100644 --- a/newlib/i686-elf/include/unctrl.h +++ b/newlib/i686-elf/include/unctrl.h @@ -1,32 +1,9 @@ /* From curses.h. */ -/* - * Copyright (c) 1981, 1993 - * The Regents of the University of California. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - */ + +// Copyright (c) 1981, 1993 +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _UNCTRL_H_ #define _UNCTRL_H_ diff --git a/newlib/i686-elf/include/unistd.h b/newlib/i686-elf/include/unistd.h index f9fca84..faa92b4 100644 --- a/newlib/i686-elf/include/unistd.h +++ b/newlib/i686-elf/include/unistd.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _UNISTD_H_ #define _UNISTD_H_ diff --git a/newlib/i686-elf/include/utime.h b/newlib/i686-elf/include/utime.h index 652891a..628d4e7 100644 --- a/newlib/i686-elf/include/utime.h +++ b/newlib/i686-elf/include/utime.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifdef __cplusplus extern "C" { #endif diff --git a/newlib/i686-elf/include/utmp.h b/newlib/i686-elf/include/utmp.h index 88cf6f8..547885b 100644 --- a/newlib/i686-elf/include/utmp.h +++ b/newlib/i686-elf/include/utmp.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifdef __cplusplus extern "C" { #endif diff --git a/newlib/i686-elf/include/wchar.h b/newlib/i686-elf/include/wchar.h index 0d3e636..807ec91 100644 --- a/newlib/i686-elf/include/wchar.h +++ b/newlib/i686-elf/include/wchar.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _WCHAR_H_ #define _WCHAR_H_ diff --git a/newlib/i686-elf/include/wctype.h b/newlib/i686-elf/include/wctype.h index e5452bf..e4c82a3 100644 --- a/newlib/i686-elf/include/wctype.h +++ b/newlib/i686-elf/include/wctype.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _WCTYPE_H_ #define _WCTYPE_H_ diff --git a/newlib/i686-elf/include/wordexp.h b/newlib/i686-elf/include/wordexp.h index 1f09a64..3a54182 100644 --- a/newlib/i686-elf/include/wordexp.h +++ b/newlib/i686-elf/include/wordexp.h @@ -1,8 +1,7 @@ -/* Copyright (C) 2002, 2010 by Red Hat, Incorporated. All rights reserved. - * - * Permission to use, copy, modify, and distribute this software - * is freely granted, provided that this notice is preserved. - */ +// Copyright (C) 2002, 2010 by Red Hat, Incorporated. All rights reserved. +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef _WORDEXP_H_ #define _WORDEXP_H_ diff --git a/newlib/i686-elf/lib/cygmon-crt0.o.license b/newlib/i686-elf/lib/cygmon-crt0.o.license new file mode 100644 index 0000000..60f15fa --- /dev/null +++ b/newlib/i686-elf/lib/cygmon-crt0.o.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 Integral + +SPDX-License-Identifier: GPL-3.0-or-later diff --git a/newlib/i686-elf/lib/cygmon.ld b/newlib/i686-elf/lib/cygmon.ld index ae0d908..ed4dd0f 100644 --- a/newlib/i686-elf/lib/cygmon.ld +++ b/newlib/i686-elf/lib/cygmon.ld @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + STARTUP(cygmon-crt0.o) ENTRY(__start) GROUP(-lcygmon -lc -lcygmon -lgcc) diff --git a/newlib/i686-elf/lib/libc.a.license b/newlib/i686-elf/lib/libc.a.license new file mode 100644 index 0000000..60f15fa --- /dev/null +++ b/newlib/i686-elf/lib/libc.a.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 Integral + +SPDX-License-Identifier: GPL-3.0-or-later diff --git a/newlib/i686-elf/lib/libcygmon.a.license b/newlib/i686-elf/lib/libcygmon.a.license new file mode 100644 index 0000000..60f15fa --- /dev/null +++ b/newlib/i686-elf/lib/libcygmon.a.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 Integral + +SPDX-License-Identifier: GPL-3.0-or-later diff --git a/newlib/i686-elf/lib/libg.a.license b/newlib/i686-elf/lib/libg.a.license new file mode 100644 index 0000000..60f15fa --- /dev/null +++ b/newlib/i686-elf/lib/libg.a.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 Integral + +SPDX-License-Identifier: GPL-3.0-or-later diff --git a/newlib/i686-elf/lib/libm.a.license b/newlib/i686-elf/lib/libm.a.license new file mode 100644 index 0000000..60f15fa --- /dev/null +++ b/newlib/i686-elf/lib/libm.a.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 Integral + +SPDX-License-Identifier: GPL-3.0-or-later diff --git a/newlib/i686-elf/lib/libnosys.a.license b/newlib/i686-elf/lib/libnosys.a.license new file mode 100644 index 0000000..60f15fa --- /dev/null +++ b/newlib/i686-elf/lib/libnosys.a.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 Integral + +SPDX-License-Identifier: GPL-3.0-or-later diff --git a/newlib/i686-elf/lib/nosys.specs b/newlib/i686-elf/lib/nosys.specs index 3a84db3..5c657fc 100644 --- a/newlib/i686-elf/lib/nosys.specs +++ b/newlib/i686-elf/lib/nosys.specs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + %rename link_gcc_c_sequence nosys_link_gcc_c_sequence *nosys_libgloss: diff --git a/newlib/libc.pdf b/newlib/libc.pdf deleted file mode 100644 index ff23ae1..0000000 Binary files a/newlib/libc.pdf and /dev/null differ diff --git a/newlib/libm.pdf b/newlib/libm.pdf deleted file mode 100644 index b5d2513..0000000 Binary files a/newlib/libm.pdf and /dev/null differ diff --git a/src/applib/CMakeLists.txt b/src/applib/CMakeLists.txt index 4c77335..1e845ad 100644 --- a/src/applib/CMakeLists.txt +++ b/src/applib/CMakeLists.txt @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 Integral +# +# SPDX-License-Identifier: GPL-3.0-or-later + project(app LANGUAGES C) file(GLOB C_LIST "*.c" "*.h" "*.S") diff --git a/src/applib/cRuntime0.S b/src/applib/cRuntime0.S index d2644c1..2830c31 100644 --- a/src/applib/cRuntime0.S +++ b/src/applib/cRuntime0.S @@ -1,4 +1,8 @@ - .text +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + +.text .global _start .extern cStart _start: diff --git a/src/applib/cStart.c b/src/applib/cStart.c index 03062be..305453f 100644 --- a/src/applib/cStart.c +++ b/src/applib/cStart.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include #include diff --git a/src/applib/lib_syscall.c b/src/applib/lib_syscall.c index d9a69f4..61d6b76 100644 --- a/src/applib/lib_syscall.c +++ b/src/applib/lib_syscall.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "lib_syscall.h" #include "comm/cpu_instr.h" #include "core/syscall.h" diff --git a/src/applib/lib_syscall.h b/src/applib/lib_syscall.h index af3fe7a..268654c 100644 --- a/src/applib/lib_syscall.h +++ b/src/applib/lib_syscall.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef LIB_SYSCALL_H #define LIB_SYSCALL_H diff --git a/src/apps/uname/CMakeLists.txt b/src/apps/uname/CMakeLists.txt index a32ba58..c139034 100644 --- a/src/apps/uname/CMakeLists.txt +++ b/src/apps/uname/CMakeLists.txt @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 Integral +# +# SPDX-License-Identifier: GPL-3.0-or-later + project(uname LANGUAGES C) set(LIBS_FLAGS "-L ${CMAKE_BINARY_DIR}/../newlib/i686-elf/lib/ -lm -lc") diff --git a/src/apps/uname/link.lds b/src/apps/uname/link.lds index df38d9b..87027b5 100644 --- a/src/apps/uname/link.lds +++ b/src/apps/uname/link.lds @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2024 Integral + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + ENTRY(_start) SECTIONS diff --git a/src/apps/uname/main.c b/src/apps/uname/main.c index c815b74..b81d199 100644 --- a/src/apps/uname/main.c +++ b/src/apps/uname/main.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "main.h" #include "os_cfg.h" #include diff --git a/src/apps/uname/main.h b/src/apps/uname/main.h index 090dd58..121feb2 100644 --- a/src/apps/uname/main.h +++ b/src/apps/uname/main.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef MAIN_H #define MAIN_H diff --git a/src/boot/CMakeLists.txt b/src/boot/CMakeLists.txt index eccaf7f..5872477 100644 --- a/src/boot/CMakeLists.txt +++ b/src/boot/CMakeLists.txt @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 Integral +# +# SPDX-License-Identifier: GPL-3.0-or-later + project(boot LANGUAGES C) set(CMAKE_EXE_LINKER_FLAGS "-m elf_i386 -Ttext=0x7c00 --section-start boot_end=0x7dfe") diff --git a/src/boot/boot.c b/src/boot/boot.c index 9a7e4c6..d09c7d7 100644 --- a/src/boot/boot.c +++ b/src/boot/boot.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + __asm__(".code16gcc"); #define LOADER_START_ADDR 0x8000 diff --git a/src/boot/start.S b/src/boot/start.S index b06a03f..acb7b39 100644 --- a/src/boot/start.S +++ b/src/boot/start.S @@ -1,4 +1,8 @@ - .code16 +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + +.code16 .text .global _start .extern boot_entry diff --git a/src/comm/boot_info.h b/src/comm/boot_info.h index 16a5175..135e384 100644 --- a/src/comm/boot_info.h +++ b/src/comm/boot_info.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef BOOT_INFO_H #define BOOT_INFO_H #define BOOT_RAM_REGION_MAX 10 diff --git a/src/comm/cpu_instr.h b/src/comm/cpu_instr.h index 84c7aa6..4601cdb 100644 --- a/src/comm/cpu_instr.h +++ b/src/comm/cpu_instr.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef CPU_INSTR_H #define CPU_INSTR_H #include "core/task.h" diff --git a/src/comm/elf.h b/src/comm/elf.h index 4a0839c..de84d42 100644 --- a/src/comm/elf.h +++ b/src/comm/elf.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef ELF_H #define ELF_H diff --git a/src/comm/types.h b/src/comm/types.h index 1acde3e..4fab163 100644 --- a/src/comm/types.h +++ b/src/comm/types.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef TYPES_H #define TYPES_H diff --git a/src/kernel/CMakeLists.txt b/src/kernel/CMakeLists.txt index 2814e4e..4ff5a27 100644 --- a/src/kernel/CMakeLists.txt +++ b/src/kernel/CMakeLists.txt @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 Integral +# +# SPDX-License-Identifier: GPL-3.0-or-later + project(kernel LANGUAGES C) set(LIBS_FLAGS "-L ${CMAKE_BINARY_DIR}/src/applib/") diff --git a/src/kernel/acpi/poweroff.c b/src/kernel/acpi/poweroff.c index f1a7021..e93c710 100644 --- a/src/kernel/acpi/poweroff.c +++ b/src/kernel/acpi/poweroff.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "acpi/poweroff.h" #include "comm/cpu_instr.h" #include "os_cfg.h" diff --git a/src/kernel/acpi/reboot.c b/src/kernel/acpi/reboot.c index 2616a6e..7ddecc6 100644 --- a/src/kernel/acpi/reboot.c +++ b/src/kernel/acpi/reboot.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "acpi/reboot.h" #include "comm/cpu_instr.h" diff --git a/src/kernel/core/memory.c b/src/kernel/core/memory.c index 0e67fed..a9d917e 100644 --- a/src/kernel/core/memory.c +++ b/src/kernel/core/memory.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "core/memory.h" #include "cpu/mmu.h" #include "dev/console.h" diff --git a/src/kernel/core/syscall.c b/src/kernel/core/syscall.c index bf4c566..f2d07f4 100644 --- a/src/kernel/core/syscall.c +++ b/src/kernel/core/syscall.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "core/syscall.h" #include "acpi/poweroff.h" #include "acpi/reboot.h" diff --git a/src/kernel/core/task.c b/src/kernel/core/task.c index 1ce2737..c38e612 100644 --- a/src/kernel/core/task.c +++ b/src/kernel/core/task.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "core/task.h" #include "comm/elf.h" #include "core/memory.h" diff --git a/src/kernel/cpu/cpu.c b/src/kernel/cpu/cpu.c index 2be224c..bfa9be0 100644 --- a/src/kernel/cpu/cpu.c +++ b/src/kernel/cpu/cpu.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "cpu/cpu.h" #include "comm/cpu_instr.h" #include "core/syscall.h" diff --git a/src/kernel/cpu/irq.c b/src/kernel/cpu/irq.c index 6b692eb..f37e43f 100644 --- a/src/kernel/cpu/irq.c +++ b/src/kernel/cpu/irq.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "cpu/irq.h" #include "comm/cpu_instr.h" #include "os_cfg.h" diff --git a/src/kernel/dev/console.c b/src/kernel/dev/console.c index 27af8fa..606e21f 100644 --- a/src/kernel/dev/console.c +++ b/src/kernel/dev/console.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "dev/console.h" #include "comm/cpu_instr.h" #include "ipc/mutex.h" diff --git a/src/kernel/dev/dev.c b/src/kernel/dev/dev.c index 5f3a3fd..42398be 100644 --- a/src/kernel/dev/dev.c +++ b/src/kernel/dev/dev.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "dev/dev.h" #include "cpu/irq.h" #include "tools/klib.h" diff --git a/src/kernel/dev/disk.c b/src/kernel/dev/disk.c index 6717377..5cf0b94 100644 --- a/src/kernel/dev/disk.c +++ b/src/kernel/dev/disk.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "dev/disk.h" #include "comm/boot_info.h" #include "comm/cpu_instr.h" diff --git a/src/kernel/dev/keyboard.c b/src/kernel/dev/keyboard.c index cb856cd..f4beb55 100644 --- a/src/kernel/dev/keyboard.c +++ b/src/kernel/dev/keyboard.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "dev/keyboard.h" #include "comm/cpu_instr.h" #include "cpu/irq.h" diff --git a/src/kernel/dev/timer.c b/src/kernel/dev/timer.c index 3fd0557..759a2c2 100644 --- a/src/kernel/dev/timer.c +++ b/src/kernel/dev/timer.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "dev/timer.h" #include "comm/cpu_instr.h" #include "cpu/irq.h" diff --git a/src/kernel/dev/tty.c b/src/kernel/dev/tty.c index a9519f6..19b4b6b 100644 --- a/src/kernel/dev/tty.c +++ b/src/kernel/dev/tty.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "dev/tty.h" #include "cpu/irq.h" #include "dev/console.h" diff --git a/src/kernel/fs/devfs/devfs.c b/src/kernel/fs/devfs/devfs.c index 83244f8..83d1419 100644 --- a/src/kernel/fs/devfs/devfs.c +++ b/src/kernel/fs/devfs/devfs.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "fs/devfs/devfs.h" #include "tools/klib.h" #include "tools/log.h" diff --git a/src/kernel/fs/fatfs/fatfs.c b/src/kernel/fs/fatfs/fatfs.c index b5b5b8d..943fb78 100644 --- a/src/kernel/fs/fatfs/fatfs.c +++ b/src/kernel/fs/fatfs/fatfs.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "fs/fatfs/fatfs.h" #include "core/memory.h" #include "dev/dev.h" diff --git a/src/kernel/fs/file.c b/src/kernel/fs/file.c index 2b24d94..e415d68 100644 --- a/src/kernel/fs/file.c +++ b/src/kernel/fs/file.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "fs/file.h" #include "ipc/mutex.h" #include "tools/klib.h" diff --git a/src/kernel/fs/fs.c b/src/kernel/fs/fs.c index 0f5822d..8d64fdd 100644 --- a/src/kernel/fs/fs.c +++ b/src/kernel/fs/fs.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "fs/fs.h" #include "dev/dev.h" #include "os_cfg.h" diff --git a/src/kernel/include/acpi/poweroff.h b/src/kernel/include/acpi/poweroff.h index 4ae70c0..4e02fbf 100644 --- a/src/kernel/include/acpi/poweroff.h +++ b/src/kernel/include/acpi/poweroff.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef POWEROFF_H #define POWEROFF_H diff --git a/src/kernel/include/acpi/reboot.h b/src/kernel/include/acpi/reboot.h index aec8bb9..fe5bf40 100644 --- a/src/kernel/include/acpi/reboot.h +++ b/src/kernel/include/acpi/reboot.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef REBOOT_H #define REBOOT_H diff --git a/src/kernel/include/core/memory.h b/src/kernel/include/core/memory.h index 346f939..e8c5f44 100644 --- a/src/kernel/include/core/memory.h +++ b/src/kernel/include/core/memory.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef MEMORY_H #define MEMORY_H diff --git a/src/kernel/include/core/syscall.h b/src/kernel/include/core/syscall.h index e3cea91..8ea8c08 100644 --- a/src/kernel/include/core/syscall.h +++ b/src/kernel/include/core/syscall.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef SYSCALL_H #define SYSCALL_H diff --git a/src/kernel/include/core/task.h b/src/kernel/include/core/task.h index 2d66c99..5ae70ff 100644 --- a/src/kernel/include/core/task.h +++ b/src/kernel/include/core/task.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef TASK_H #define TASK_H diff --git a/src/kernel/include/cpu/cpu.h b/src/kernel/include/cpu/cpu.h index 45c0876..46a0b02 100644 --- a/src/kernel/include/cpu/cpu.h +++ b/src/kernel/include/cpu/cpu.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef CPU_H #define CPU_H diff --git a/src/kernel/include/cpu/irq.h b/src/kernel/include/cpu/irq.h index 6b2d743..78354ad 100644 --- a/src/kernel/include/cpu/irq.h +++ b/src/kernel/include/cpu/irq.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef IRQ_H #define IRQ_H diff --git a/src/kernel/include/cpu/mmu.h b/src/kernel/include/cpu/mmu.h index f793b94..2709840 100644 --- a/src/kernel/include/cpu/mmu.h +++ b/src/kernel/include/cpu/mmu.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef MMU_H #define MMU_H diff --git a/src/kernel/include/dev/console.h b/src/kernel/include/dev/console.h index a68c5e3..a72cd16 100644 --- a/src/kernel/include/dev/console.h +++ b/src/kernel/include/dev/console.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef CONSOLE_H #define CONSOLE_H diff --git a/src/kernel/include/dev/dev.h b/src/kernel/include/dev/dev.h index 43b7998..61705cb 100644 --- a/src/kernel/include/dev/dev.h +++ b/src/kernel/include/dev/dev.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef DEV_H #define DEV_H diff --git a/src/kernel/include/dev/disk.h b/src/kernel/include/dev/disk.h index 21a4550..1f7ea17 100644 --- a/src/kernel/include/dev/disk.h +++ b/src/kernel/include/dev/disk.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef DISK_H #define DISK_H diff --git a/src/kernel/include/dev/keyboard.h b/src/kernel/include/dev/keyboard.h index 4fccb66..5d93b3c 100644 --- a/src/kernel/include/dev/keyboard.h +++ b/src/kernel/include/dev/keyboard.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef KEYBOARD_H #define KEYBOARD_H diff --git a/src/kernel/include/dev/timer.h b/src/kernel/include/dev/timer.h index 0e6f32a..9ed3386 100644 --- a/src/kernel/include/dev/timer.h +++ b/src/kernel/include/dev/timer.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef TIME_H #define TIME_H diff --git a/src/kernel/include/dev/tty.h b/src/kernel/include/dev/tty.h index a15ae96..29d17fc 100644 --- a/src/kernel/include/dev/tty.h +++ b/src/kernel/include/dev/tty.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef TTY_H #define TTY_H diff --git a/src/kernel/include/fs/devfs/devfs.h b/src/kernel/include/fs/devfs/devfs.h index 44db12d..443f598 100644 --- a/src/kernel/include/fs/devfs/devfs.h +++ b/src/kernel/include/fs/devfs/devfs.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef DEV_FS_H #define DEV_FS_H diff --git a/src/kernel/include/fs/fatfs/fatfs.h b/src/kernel/include/fs/fatfs/fatfs.h index dd08794..a530e7f 100644 --- a/src/kernel/include/fs/fatfs/fatfs.h +++ b/src/kernel/include/fs/fatfs/fatfs.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef FATFS_H #define FATFS_H diff --git a/src/kernel/include/fs/file.h b/src/kernel/include/fs/file.h index ab329c9..48b91c2 100644 --- a/src/kernel/include/fs/file.h +++ b/src/kernel/include/fs/file.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef FILE_H #define FILE_H diff --git a/src/kernel/include/fs/fs.h b/src/kernel/include/fs/fs.h index 3f0f06b..58f9fdf 100644 --- a/src/kernel/include/fs/fs.h +++ b/src/kernel/include/fs/fs.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef FS_H #define FS_H diff --git a/src/kernel/include/ipc/mutex.h b/src/kernel/include/ipc/mutex.h index b02cb3e..0fc6341 100644 --- a/src/kernel/include/ipc/mutex.h +++ b/src/kernel/include/ipc/mutex.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef MUTEX_H #define MUTEX_H diff --git a/src/kernel/include/ipc/sem.h b/src/kernel/include/ipc/sem.h index e1956f7..c2f65e4 100644 --- a/src/kernel/include/ipc/sem.h +++ b/src/kernel/include/ipc/sem.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef SEM_H #define SEM_H diff --git a/src/kernel/include/os_cfg.h b/src/kernel/include/os_cfg.h index 6cf30a0..0d16ded 100644 --- a/src/kernel/include/os_cfg.h +++ b/src/kernel/include/os_cfg.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef OS_CFG_H #define OS_CFG_H diff --git a/src/kernel/include/tools/bitmap.h b/src/kernel/include/tools/bitmap.h index 8b0fa6e..ce46c33 100644 --- a/src/kernel/include/tools/bitmap.h +++ b/src/kernel/include/tools/bitmap.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef BITMAP_H #define BITMAP_H diff --git a/src/kernel/include/tools/klib.h b/src/kernel/include/tools/klib.h index ad479b3..1a1e995 100644 --- a/src/kernel/include/tools/klib.h +++ b/src/kernel/include/tools/klib.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef KLIB_H #define KLIB_H diff --git a/src/kernel/include/tools/list.h b/src/kernel/include/tools/list.h index 4760d81..4840720 100644 --- a/src/kernel/include/tools/list.h +++ b/src/kernel/include/tools/list.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef LIST_H #define LIST_H diff --git a/src/kernel/include/tools/log.h b/src/kernel/include/tools/log.h index ecf81f4..c497e9e 100644 --- a/src/kernel/include/tools/log.h +++ b/src/kernel/include/tools/log.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef LOG_H #define LOG_H diff --git a/src/kernel/init/first_task.c b/src/kernel/init/first_task.c index 593ec07..5a34606 100644 --- a/src/kernel/init/first_task.c +++ b/src/kernel/init/first_task.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "applib/lib_syscall.h" #include "dev/tty.h" diff --git a/src/kernel/init/first_task_entry.S b/src/kernel/init/first_task_entry.S index 83a9506..00d0439 100644 --- a/src/kernel/init/first_task_entry.S +++ b/src/kernel/init/first_task_entry.S @@ -1,4 +1,8 @@ - .text +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + +.text .global first_task_entry .extern first_task_main first_task_entry: diff --git a/src/kernel/init/init.c b/src/kernel/init/init.c index a369a16..152cd7a 100644 --- a/src/kernel/init/init.c +++ b/src/kernel/init/init.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "comm/cpu_instr.h" #include "core/memory.h" #include "dev/disk.h" diff --git a/src/kernel/init/init.h b/src/kernel/init/init.h index 26b256c..2904197 100644 --- a/src/kernel/init/init.h +++ b/src/kernel/init/init.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef __INIT_H__ #define __INIT_H__ diff --git a/src/kernel/init/lib_syscall.c b/src/kernel/init/lib_syscall.c index 2268650..7fd5ba6 100644 --- a/src/kernel/init/lib_syscall.c +++ b/src/kernel/init/lib_syscall.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "applib/lib_syscall.h" #include "comm/cpu_instr.h" #include "core/syscall.h" diff --git a/src/kernel/init/start.S b/src/kernel/init/start.S index ae426e2..1aa0d94 100644 --- a/src/kernel/init/start.S +++ b/src/kernel/init/start.S @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "os_cfg.h" .text //code segment .extern kernel_init diff --git a/src/kernel/ipc/mutex.c b/src/kernel/ipc/mutex.c index 38b307b..4f7b8a0 100644 --- a/src/kernel/ipc/mutex.c +++ b/src/kernel/ipc/mutex.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "ipc/mutex.h" #include "cpu/irq.h" diff --git a/src/kernel/ipc/sem.c b/src/kernel/ipc/sem.c index cbee1e7..6c4b7ab 100644 --- a/src/kernel/ipc/sem.c +++ b/src/kernel/ipc/sem.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "ipc/sem.h" #include "core/task.h" #include "cpu/irq.h" diff --git a/src/kernel/kernel.lds b/src/kernel/kernel.lds index 0dd9bb1..4fa0be5 100644 --- a/src/kernel/kernel.lds +++ b/src/kernel/kernel.lds @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2024 Integral + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + SECTIONS { PROVIDE(kernel_base = .); diff --git a/src/kernel/tools/bitmap.c b/src/kernel/tools/bitmap.c index 9f86786..86a177d 100644 --- a/src/kernel/tools/bitmap.c +++ b/src/kernel/tools/bitmap.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "tools/bitmap.h" #include "tools/klib.h" diff --git a/src/kernel/tools/klib.c b/src/kernel/tools/klib.c index af50715..7e141cf 100644 --- a/src/kernel/tools/klib.c +++ b/src/kernel/tools/klib.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "tools/klib.h" #include "comm/cpu_instr.h" #include "tools/log.h" diff --git a/src/kernel/tools/list.c b/src/kernel/tools/list.c index 8acc9cd..5cc48d8 100644 --- a/src/kernel/tools/list.c +++ b/src/kernel/tools/list.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "tools/list.h" void list_init(list_t *list) { diff --git a/src/kernel/tools/log.c b/src/kernel/tools/log.c index 96face5..6286720 100644 --- a/src/kernel/tools/log.c +++ b/src/kernel/tools/log.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "tools/log.h" #include "comm/cpu_instr.h" #include "dev/dev.h" diff --git a/src/loader/CMakeLists.txt b/src/loader/CMakeLists.txt index 9b07aa8..13357f4 100644 --- a/src/loader/CMakeLists.txt +++ b/src/loader/CMakeLists.txt @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 Integral +# +# SPDX-License-Identifier: GPL-3.0-or-later + project(loader LANGUAGES C) set(CMAKE_EXE_LINKER_FLAGS "-m elf_i386 -Ttext=0x8000") diff --git a/src/loader/loader.h b/src/loader/loader.h index c634be9..bffe2e0 100644 --- a/src/loader/loader.h +++ b/src/loader/loader.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef LOADER_H #define LOADER_H diff --git a/src/loader/loader_16.c b/src/loader/loader_16.c index e794054..e815378 100644 --- a/src/loader/loader_16.c +++ b/src/loader/loader_16.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + __asm__(".code16gcc"); #include "loader.h" diff --git a/src/loader/loader_32.c b/src/loader/loader_32.c index 5a12731..ce2ba15 100644 --- a/src/loader/loader_32.c +++ b/src/loader/loader_32.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "comm/elf.h" #include "core/memory.h" #include "cpu/mmu.h" diff --git a/src/loader/start.S b/src/loader/start.S index 38224d6..6e4f237 100644 --- a/src/loader/start.S +++ b/src/loader/start.S @@ -1,4 +1,8 @@ - .code16 +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + +.code16 .text .global _start .extern loader_entry diff --git a/src/shell/CMakeLists.txt b/src/shell/CMakeLists.txt index dbe1e7c..c4837cd 100644 --- a/src/shell/CMakeLists.txt +++ b/src/shell/CMakeLists.txt @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 Integral +# +# SPDX-License-Identifier: GPL-3.0-or-later + project(shell LANGUAGES C) set(LIBS_FLAGS "-L ${CMAKE_BINARY_DIR}/src/applib/ -lapp -L ${CMAKE_BINARY_DIR}/../newlib/i686-elf/lib/ -lm -lc") diff --git a/src/shell/link.lds b/src/shell/link.lds index fcafd88..3da2003 100644 --- a/src/shell/link.lds +++ b/src/shell/link.lds @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2024 Integral + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + ENTRY(_start) SECTIONS diff --git a/src/shell/main.c b/src/shell/main.c index 153ef51..476808c 100644 --- a/src/shell/main.c +++ b/src/shell/main.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include "main.h" #include "dev/tty.h" #include "lib_syscall.h" diff --git a/src/shell/main.h b/src/shell/main.h index e3d1056..dbf7cc4 100644 --- a/src/shell/main.h +++ b/src/shell/main.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef MAIN_H #define MAIN_H diff --git a/src/shell/md5.c b/src/shell/md5.c index 44d7932..eec8365 100644 --- a/src/shell/md5.c +++ b/src/shell/md5.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + /* * Derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm * and modified slightly to be functionally identical but condensed into control diff --git a/src/shell/md5.h b/src/shell/md5.h index e63c02e..76548d1 100644 --- a/src/shell/md5.h +++ b/src/shell/md5.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Integral +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef MD5_H #define MD5_H