Skip to content

Commit

Permalink
Licensing improvements and clarifications
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgfnet committed Jan 14, 2024
1 parent 66c9b20 commit b4b15ef
Show file tree
Hide file tree
Showing 5 changed files with 88 additions and 3 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,12 @@ readable test files. Tests are generally deterministic to avoid random data
changing on every build.


Licensing clarification
-----------------------

All sources and documentation are placed under the GPL 3 license unless
explicitely indicated in the file header. If there's any issue or you would
like to use certain parts in your project but have some licensing issues,
feel free to reach out to the original author(s) and contributor(s).


10 changes: 10 additions & 0 deletions inst-vfpu-desc.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@

# This file was written by David Guillen Fandos <david@davidgf.net>
#
# The contents are released into the public domain without any license.
# I wave all copyright and related rights to the extent allowed by law.
# You are free to copy, modify, distribute, and perform the work, even for
# commercial purposes, without asking for permission.
#
# I would really appreciate if you kept this header though :)


# Instruction prefixes types: s/t/d (for rs, rt and rd operands)
# Prefix "S" has a special meaning: rs prefixing is allowed but only for swizzle operations
# Prefix "D" has a special meaning: rd prefixing is allowed but only for masking operations
Expand Down
23 changes: 23 additions & 0 deletions psp-tests/manual/exception-module/exception_info.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
//
// MIT License
//
// Copyright (c) 2023 David Guillen Fandos <david@davidgf.net>
//
// 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.
//

#ifndef __PSPTESTS__EXCEPTION_INFO_H__
#define __PSPTESTS__EXCEPTION_INFO_H__
Expand Down
24 changes: 23 additions & 1 deletion psp-tests/manual/exception-module/exhndlr.S
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
//
// MIT License
//
// Copyright (c) 2023 David Guillen Fandos <david@davidgf.net>
//
// 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 2023 David Guillen Fandos <david@davidgf.net>
// Exception handler for testing purposes
// This catches exceptions that match an expected EPC, otherwise falls back to
// whatever previous exception handler was set up.
Expand Down
25 changes: 23 additions & 2 deletions psp-tests/manual/exception-module/exmod.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@

// Copyright 2023 David Guillen Fandos <david@davidgf.net>
//
// MIT License
//
// Copyright (c) 2023 David Guillen Fandos <david@davidgf.net>
//
// 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.
//

// This is a kernel module meant to be used by psp-tests/manual.
// The goal is to test exception behaviour (ie. for memops, trap instructions)
Expand Down

0 comments on commit b4b15ef

Please sign in to comment.