diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..53e0e66 --- /dev/null +++ b/LICENSE @@ -0,0 +1,24 @@ +Copyright (c) 2013, The Regents of the University of California (Regents). +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 Regents nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +IN NO EVENT SHALL REGENTS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, +SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING +OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF REGENTS HAS +BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +REGENTS SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE SOFTWARE AND ACCOMPANYING DOCUMENTATION, IF ANY, PROVIDED +HEREUNDER IS PROVIDED "AS IS". REGENTS HAS NO OBLIGATION TO PROVIDE +MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. diff --git a/fesvr/dummy.c b/fesvr/dummy.c index 43539a4..83a4222 100644 --- a/fesvr/dummy.c +++ b/fesvr/dummy.c @@ -1,2 +1,4 @@ +// See LICENSE for license details. + // help out poor, C-centric autoconf void libfesvr_is_present(){} diff --git a/fesvr/elf2hex.cc b/fesvr/elf2hex.cc index c77b3ac..ea34062 100644 --- a/fesvr/elf2hex.cc +++ b/fesvr/elf2hex.cc @@ -1,3 +1,5 @@ +// See LICENSE for license details. + #include #include "htif_hexwriter.h" #include "memif.h" diff --git a/fesvr/fesvr-eth.cc b/fesvr/fesvr-eth.cc index 44c2dd4..99f7029 100644 --- a/fesvr/fesvr-eth.cc +++ b/fesvr/fesvr-eth.cc @@ -1,3 +1,5 @@ +// See LICENSE for license details. + #include "htif_eth.h" int main(int argc, char** argv) diff --git a/fesvr/fesvr-rs232.cc b/fesvr/fesvr-rs232.cc index 653d3b0..5bfeb11 100644 --- a/fesvr/fesvr-rs232.cc +++ b/fesvr/fesvr-rs232.cc @@ -1,3 +1,5 @@ +// See LICENSE for license details. + #include "htif_rs232.h" int main(int argc, char** argv) diff --git a/fesvr/fesvr-zedboard.cc b/fesvr/fesvr-zedboard.cc index bfcd18f..680e4e7 100644 --- a/fesvr/fesvr-zedboard.cc +++ b/fesvr/fesvr-zedboard.cc @@ -1,3 +1,5 @@ +// See LICENSE for license details. + #include "htif_zedboard.h" int main(int argc, char** argv) diff --git a/fesvr/htif.cc b/fesvr/htif.cc index aaac6b0..f1b9e92 100644 --- a/fesvr/htif.cc +++ b/fesvr/htif.cc @@ -1,3 +1,5 @@ +// See LICENSE for license details. + #include "htif.h" #include "elfloader.h" #include diff --git a/fesvr/htif.h b/fesvr/htif.h index 8048a91..f22d2a1 100644 --- a/fesvr/htif.h +++ b/fesvr/htif.h @@ -1,3 +1,5 @@ +// See LICENSE for license details. + #ifndef __HTIF_H #define __HTIF_H diff --git a/fesvr/htif_eth.cc b/fesvr/htif_eth.cc index f76b6f1..fcbbc12 100644 --- a/fesvr/htif_eth.cc +++ b/fesvr/htif_eth.cc @@ -1,3 +1,5 @@ +// See LICENSE for license details. + #include "htif_eth.h" #include #include diff --git a/fesvr/htif_eth.h b/fesvr/htif_eth.h index 9f4185e..c4f7e2f 100644 --- a/fesvr/htif_eth.h +++ b/fesvr/htif_eth.h @@ -1,3 +1,5 @@ +// See LICENSE for license details. + #ifndef __HTIF_ETH_H #define __HTIF_ETH_H diff --git a/fesvr/htif_hexwriter.cc b/fesvr/htif_hexwriter.cc index 0e8e71f..621a31e 100644 --- a/fesvr/htif_hexwriter.cc +++ b/fesvr/htif_hexwriter.cc @@ -1,3 +1,5 @@ +// See LICENSE for license details. + #include #include #include "htif_hexwriter.h" diff --git a/fesvr/htif_hexwriter.h b/fesvr/htif_hexwriter.h index b12d760..3f6d9b7 100644 --- a/fesvr/htif_hexwriter.h +++ b/fesvr/htif_hexwriter.h @@ -1,3 +1,5 @@ +// See LICENSE for license details. + #ifndef __HTIF_HEXWRITER_H #define __HTIF_HEXWRITER_H diff --git a/fesvr/htif_pthread.cc b/fesvr/htif_pthread.cc index 0cbb625..12513da 100644 --- a/fesvr/htif_pthread.cc +++ b/fesvr/htif_pthread.cc @@ -1,3 +1,5 @@ +// See LICENSE for license details. + #include "htif_pthread.h" #include #include diff --git a/fesvr/htif_pthread.h b/fesvr/htif_pthread.h index 3d7c099..e73e89d 100644 --- a/fesvr/htif_pthread.h +++ b/fesvr/htif_pthread.h @@ -1,3 +1,5 @@ +// See LICENSE for license details. + #ifndef _HTIF_PTHREAD_H #define _HTIF_PTHREAD_H diff --git a/fesvr/htif_rs232.cc b/fesvr/htif_rs232.cc index 554694e..58e0959 100644 --- a/fesvr/htif_rs232.cc +++ b/fesvr/htif_rs232.cc @@ -1,3 +1,5 @@ +// See LICENSE for license details. + #include "htif_rs232.h" #include #include diff --git a/fesvr/htif_rs232.h b/fesvr/htif_rs232.h index 6312e77..78ef971 100644 --- a/fesvr/htif_rs232.h +++ b/fesvr/htif_rs232.h @@ -1,3 +1,5 @@ +// See LICENSE for license details. + #ifndef __HTIF_RS232_H #define __HTIF_RS232_H diff --git a/fesvr/htif_zedboard.cc b/fesvr/htif_zedboard.cc index 2e8fd2e..ebade22 100644 --- a/fesvr/htif_zedboard.cc +++ b/fesvr/htif_zedboard.cc @@ -1,3 +1,5 @@ +// See LICENSE for license details. + #include "htif_zedboard.h" #include #include diff --git a/fesvr/htif_zedboard.h b/fesvr/htif_zedboard.h index db67d05..fbb020f 100644 --- a/fesvr/htif_zedboard.h +++ b/fesvr/htif_zedboard.h @@ -1,3 +1,5 @@ +// See LICENSE for license details. + #ifndef __HTIF_ZEDBOARD_H #define __HTIF_ZEDBOARD_H diff --git a/fesvr/memif.cc b/fesvr/memif.cc index 6d57733..aa72ee4 100644 --- a/fesvr/memif.cc +++ b/fesvr/memif.cc @@ -1,3 +1,5 @@ +// See LICENSE for license details. + /* Author: Andrew S. Waterman * Parallel Computing Laboratory * Electrical Engineering and Computer Sciences diff --git a/fesvr/memif.h b/fesvr/memif.h index b099dca..e91a540 100644 --- a/fesvr/memif.h +++ b/fesvr/memif.h @@ -1,3 +1,5 @@ +// See LICENSE for license details. + /* Author: Andrew S. Waterman * Parallel Computing Laboratory * Electrical Engineering and Computer Sciences diff --git a/fesvr/option_parser.cc b/fesvr/option_parser.cc index ff067f7..bb025dc 100644 --- a/fesvr/option_parser.cc +++ b/fesvr/option_parser.cc @@ -1,3 +1,5 @@ +// See LICENSE for license details. + #include "option_parser.h" #include #include diff --git a/fesvr/option_parser.h b/fesvr/option_parser.h index e189f24..b2cb8ed 100644 --- a/fesvr/option_parser.h +++ b/fesvr/option_parser.h @@ -1,3 +1,5 @@ +// See LICENSE for license details. + #ifndef _OPTION_PARSER_H #define _OPTION_PARSER_H diff --git a/fesvr/packet.cc b/fesvr/packet.cc index efa3357..cc0710c 100644 --- a/fesvr/packet.cc +++ b/fesvr/packet.cc @@ -1,3 +1,5 @@ +// See LICENSE for license details. + #include "packet.h" #include diff --git a/fesvr/packet.h b/fesvr/packet.h index a2e4ece..ce0a3d8 100644 --- a/fesvr/packet.h +++ b/fesvr/packet.h @@ -1,3 +1,5 @@ +// See LICENSE for license details. + #ifndef __HTIF_PACKET_H #define __HTIF_PACKET_H diff --git a/fesvr/syscall.cc b/fesvr/syscall.cc index b943bcc..7e1b4b7 100644 --- a/fesvr/syscall.cc +++ b/fesvr/syscall.cc @@ -1,3 +1,5 @@ +// See LICENSE for license details. + #include "syscall.h" #include "htif.h" #include diff --git a/fesvr/syscall.h b/fesvr/syscall.h index 0fe7931..a8775a6 100644 --- a/fesvr/syscall.h +++ b/fesvr/syscall.h @@ -1,3 +1,5 @@ +// See LICENSE for license details. + #ifndef __SYSCALL_H #define __SYSCALL_H