From df29fbcf27ad94171b1924ce2cdeddb52b19686e Mon Sep 17 00:00:00 2001 From: Scott Mansell Date: Sat, 26 Dec 2015 14:02:52 +1300 Subject: [PATCH] Apply a MIT licence so people can re-use this code. --- LICENSE | 7 +++++++ gui.cpp | 4 ++++ kvmbox.c | 4 ++++ kvmbox.h | 4 ++++ loader.asm | 4 ++++ main.c | 4 ++++ pci.c | 4 ++++ smbus.c | 4 ++++ 8 files changed, 35 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..8ddff0c --- /dev/null +++ b/LICENSE @@ -0,0 +1,7 @@ +Copyright (c) 2011 Scott Mansell + +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. \ No newline at end of file diff --git a/gui.cpp b/gui.cpp index b6f49bd..7c0336d 100644 --- a/gui.cpp +++ b/gui.cpp @@ -1,3 +1,7 @@ +// Copyright (c) 2011 Scott Mansell +// Licensed under the MIT license +// Refer to the included LICENCE file. + #include #include #include diff --git a/kvmbox.c b/kvmbox.c index 160e26c..114ec3c 100644 --- a/kvmbox.c +++ b/kvmbox.c @@ -1,3 +1,7 @@ +// Copyright (c) 2011 Scott Mansell +// Licensed under the MIT license +// Refer to the included LICENCE file. + #include #include #include diff --git a/kvmbox.h b/kvmbox.h index 444bd5e..32642ae 100644 --- a/kvmbox.h +++ b/kvmbox.h @@ -1,3 +1,7 @@ +// Copyright (c) 2011 Scott Mansell +// Licensed under the MIT license +// Refer to the included LICENCE file. + #ifndef KVMBOX_H #define KVMBOX_H #ifdef __cplusplus diff --git a/loader.asm b/loader.asm index 4827555..f04131f 100644 --- a/loader.asm +++ b/loader.asm @@ -1,3 +1,7 @@ +; Copyright (c) 2011 Scott Mansell +; Licensed under the MIT license +; Refer to the included LICENCE file. + [bits 32] hlt diff --git a/main.c b/main.c index afba113..f078602 100644 --- a/main.c +++ b/main.c @@ -1,3 +1,7 @@ +// Copyright (c) 2011 Scott Mansell +// Licensed under the MIT license +// Refer to the included LICENCE file. + #include #include #include diff --git a/pci.c b/pci.c index 777dcfb..0efed6e 100644 --- a/pci.c +++ b/pci.c @@ -1,3 +1,7 @@ +// Copyright (c) 2011 Scott Mansell +// Licensed under the MIT license +// Refer to the included LICENCE file. + #include #include diff --git a/smbus.c b/smbus.c index 475ff71..4a15032 100644 --- a/smbus.c +++ b/smbus.c @@ -1,3 +1,7 @@ +// Copyright (c) 2011 Scott Mansell +// Licensed under the MIT license +// Refer to the included LICENCE file. + #include #include #include