aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2013-03-25 16:51:32 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2013-03-25 16:51:32 -0700
commitaccebe9e63daa56883c20b2fda6b5e72a74f412b (patch)
tree9ba8fe9a12e324c8d7450c581e78d5d63f2e0bdc
parent5ba0377b291ceb5d1e96674831cb6fd15eebf980 (diff)
downloadpk-accebe9e63daa56883c20b2fda6b5e72a74f412b.zip
pk-accebe9e63daa56883c20b2fda6b5e72a74f412b.tar.gz
pk-accebe9e63daa56883c20b2fda6b5e72a74f412b.tar.bz2
add BSD license
-rw-r--r--pk/atomic.h2
-rw-r--r--pk/elf.c2
-rw-r--r--pk/elf.h2
-rw-r--r--pk/entry.S2
-rw-r--r--pk/file.c2
-rw-r--r--pk/file.h2
-rw-r--r--pk/fp.c2
-rw-r--r--pk/fp.h2
-rw-r--r--pk/fp_asm.S2
-rw-r--r--pk/frontend.c2
-rw-r--r--pk/frontend.h2
-rw-r--r--pk/handlers.c2
-rw-r--r--pk/init.c2
-rw-r--r--pk/int.c2
-rw-r--r--pk/memset.c2
-rw-r--r--pk/pcr.h2
-rw-r--r--pk/pk.S2
-rw-r--r--pk/pk.h2
-rw-r--r--pk/riscv-opc.h2
-rw-r--r--pk/strlen.c2
-rw-r--r--pk/syscall.c2
-rw-r--r--pk/syscall.h2
22 files changed, 44 insertions, 0 deletions
diff --git a/pk/atomic.h b/pk/atomic.h
index abd2e05..c0c1d84 100644
--- a/pk/atomic.h
+++ b/pk/atomic.h
@@ -1,3 +1,5 @@
+// See LICENSE for license details.
+
#ifndef _RISCV_ATOMIC_H
#define _RISCV_ATOMIC_H
diff --git a/pk/elf.c b/pk/elf.c
index 7365779..ecd2f61 100644
--- a/pk/elf.c
+++ b/pk/elf.c
@@ -1,3 +1,5 @@
+// See LICENSE for license details.
+
#include <sys/stat.h>
#include <fcntl.h>
#include <elf.h>
diff --git a/pk/elf.h b/pk/elf.h
index f88da2f..ea39078 100644
--- a/pk/elf.h
+++ b/pk/elf.h
@@ -1,3 +1,5 @@
+// See LICENSE for license details.
+
// See LICENSE for details.
#ifndef _ELF_H
diff --git a/pk/entry.S b/pk/entry.S
index 8686f77..c947a24 100644
--- a/pk/entry.S
+++ b/pk/entry.S
@@ -1,3 +1,5 @@
+// See LICENSE for license details.
+
#include "pcr.h"
#ifdef __riscv64
diff --git a/pk/file.c b/pk/file.c
index fa7e1e1..195bcdc 100644
--- a/pk/file.c
+++ b/pk/file.c
@@ -1,3 +1,5 @@
+// See LICENSE for license details.
+
#include <string.h>
#include <errno.h>
#include "file.h"
diff --git a/pk/file.h b/pk/file.h
index 55637a3..89d0523 100644
--- a/pk/file.h
+++ b/pk/file.h
@@ -1,3 +1,5 @@
+// See LICENSE for license details.
+
#ifndef _FILE_H
#define _FILE_H
diff --git a/pk/fp.c b/pk/fp.c
index f6d4eaf..96d8ddc 100644
--- a/pk/fp.c
+++ b/pk/fp.c
@@ -1,3 +1,5 @@
+// See LICENSE for license details.
+
#include "pk.h"
#include "pcr.h"
#include "fp.h"
diff --git a/pk/fp.h b/pk/fp.h
index 6cdae46..42e48e4 100644
--- a/pk/fp.h
+++ b/pk/fp.h
@@ -1,3 +1,5 @@
+// See LICENSE for license details.
+
#ifndef _FP_H
#define _FP_H
diff --git a/pk/fp_asm.S b/pk/fp_asm.S
index 1701db1..046ef41 100644
--- a/pk/fp_asm.S
+++ b/pk/fp_asm.S
@@ -1,3 +1,5 @@
+// See LICENSE for license details.
+
#include "pcr.h"
.text
diff --git a/pk/frontend.c b/pk/frontend.c
index 1818b0f..9614142 100644
--- a/pk/frontend.c
+++ b/pk/frontend.c
@@ -1,3 +1,5 @@
+// See LICENSE for license details.
+
#include "pk.h"
#include "atomic.h"
#include "frontend.h"
diff --git a/pk/frontend.h b/pk/frontend.h
index 86a8917..a3bc4de 100644
--- a/pk/frontend.h
+++ b/pk/frontend.h
@@ -1,3 +1,5 @@
+// See LICENSE for license details.
+
#ifndef _RISCV_FRONTEND_H
#define _RISCV_FRONTEND_H
diff --git a/pk/handlers.c b/pk/handlers.c
index dda707b..53b2b52 100644
--- a/pk/handlers.c
+++ b/pk/handlers.c
@@ -1,3 +1,5 @@
+// See LICENSE for license details.
+
#include "pcr.h"
#include "pk.h"
#include "config.h"
diff --git a/pk/init.c b/pk/init.c
index b028cc9..ede1365 100644
--- a/pk/init.c
+++ b/pk/init.c
@@ -1,3 +1,5 @@
+// See LICENSE for license details.
+
#include "pcr.h"
#include "pk.h"
#include "file.h"
diff --git a/pk/int.c b/pk/int.c
index 8759a46..51f8878 100644
--- a/pk/int.c
+++ b/pk/int.c
@@ -1,3 +1,5 @@
+// See LICENSE for license details.
+
#include "pk.h"
#include "pcr.h"
diff --git a/pk/memset.c b/pk/memset.c
index d634138..56c0fa1 100644
--- a/pk/memset.c
+++ b/pk/memset.c
@@ -1,3 +1,5 @@
+// See LICENSE for license details.
+
#include <limits.h>
#include <string.h>
diff --git a/pk/pcr.h b/pk/pcr.h
index 7659a97..cc78f2f 100644
--- a/pk/pcr.h
+++ b/pk/pcr.h
@@ -1,3 +1,5 @@
+// See LICENSE for license details.
+
#ifndef _RISCV_PCR_H
#define _RISCV_PCR_H
diff --git a/pk/pk.S b/pk/pk.S
index 3261ef9..ada042d 100644
--- a/pk/pk.S
+++ b/pk/pk.S
@@ -1,3 +1,5 @@
+// See LICENSE for license details.
+
#include "pcr.h"
#include "pk.h"
diff --git a/pk/pk.h b/pk/pk.h
index 84d1b9a..548c17e 100644
--- a/pk/pk.h
+++ b/pk/pk.h
@@ -1,3 +1,5 @@
+// See LICENSE for license details.
+
#ifndef _PK_H
#define _PK_H
diff --git a/pk/riscv-opc.h b/pk/riscv-opc.h
index 7bad495..d42e6d3 100644
--- a/pk/riscv-opc.h
+++ b/pk/riscv-opc.h
@@ -1,3 +1,5 @@
+// See LICENSE for license details.
+
/* Automatically generated by parse-opcodes */
#define MATCH_MOVN 0x6f7
#define MASK_MOVN 0x1ffff
diff --git a/pk/strlen.c b/pk/strlen.c
index 12b3836..57794b7 100644
--- a/pk/strlen.c
+++ b/pk/strlen.c
@@ -1,3 +1,5 @@
+// See LICENSE for license details.
+
#include <string.h>
#include <limits.h>
diff --git a/pk/syscall.c b/pk/syscall.c
index f4c4f92..711bb9e 100644
--- a/pk/syscall.c
+++ b/pk/syscall.c
@@ -1,3 +1,5 @@
+// See LICENSE for license details.
+
#include <machine/syscall.h>
#include <string.h>
#include <errno.h>
diff --git a/pk/syscall.h b/pk/syscall.h
index e45d1dd..d39a6a3 100644
--- a/pk/syscall.h
+++ b/pk/syscall.h
@@ -1,2 +1,4 @@
+// See LICENSE for license details.
+
#include <machine/syscall.h>