Skip to content

Commit

Permalink
Add missing license headers and texts
Browse files Browse the repository at this point in the history
Signed-off-by: Gerwin Klein <[email protected]>
  • Loading branch information
lsf37 committed Sep 13, 2023
1 parent cca6a2d commit 1b1cbc5
Show file tree
Hide file tree
Showing 14 changed files with 236 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
#
# Copyright 2021, Breakaway Consulting Pty. Ltd.
#
# SPDX-License-Identifier: BSD-2-Clause
#

__pycache__
*-sdk-*/
build/
env/
pyenv/
release/
tmp_build/

9 changes: 9 additions & 0 deletions LICENSES/BSD-2-Clause.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Copyright (c) <year> <owner>

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 COPYRIGHT HOLDERS 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 COPYRIGHT HOLDER 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.
170 changes: 170 additions & 0 deletions LICENSES/CC-BY-SA-4.0.txt

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2021, Breakaway Consulting Pty. Ltd.
SPDX-License-Identifier: CC-BY-SA-4.0
-->

# seL4 Microkit

The purpose of the seL4 Microkit is to enable system designers to create static software systems based on the seL4 microkernel.
Expand Down
3 changes: 3 additions & 0 deletions build_sdk.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright 2021, Breakaway Consulting Pty. Ltd.
# SPDX-License-Identifier: BSD-2-Clause

"""The SDK build script.
# Why Python (and not make, or something else)?
Expand Down
3 changes: 3 additions & 0 deletions dev_build.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright 2021, Breakaway Consulting Pty. Ltd.
# SPDX-License-Identifier: BSD-2-Clause

"""Build a specific example during development.
This is designed to make it easy to build and run examples during development.
Expand Down
5 changes: 4 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

<!--
Copyright 2021, Breakaway Consulting Pty. Ltd.
SPDX-License-Identifier: CC-BY-SA-4.0
-->


## Building the example
Expand Down
5 changes: 5 additions & 0 deletions docs/manual.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2021, Breakaway Consulting Pty. Ltd.
SPDX-License-Identifier: CC-BY-SA-4.0
-->

---
title: Microkit User Manual (v1.2-pre)
papersize:
Expand Down
5 changes: 5 additions & 0 deletions example/imx8mm/passive_server/client.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2022, UNSW
*
* SPDX-License-Identifier: BSD-2-Clause
*/

#include <microkit.h>

Expand Down
7 changes: 6 additions & 1 deletion example/imx8mm/passive_server/server.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
/*
* Copyright 2022, UNSW
*
* SPDX-License-Identifier: BSD-2-Clause
*/

#include <microkit.h>

microkit_msginfo
microkit_msginfo
protected(microkit_channel ch, microkit_msginfo msginfo)
{
switch (microkit_msginfo_get_label(msginfo)) {
Expand Down
5 changes: 5 additions & 0 deletions tests/capfault/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2021, Breakaway Consulting Pty. Ltd.
SPDX-License-Identifier: CC-BY-SA-4.0
-->

# Cap Fault Test

The purpose of the capfault test is to verify that the monitor will
Expand Down
5 changes: 5 additions & 0 deletions tests/overlapping_pages/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2021, Breakaway Consulting Pty. Ltd.
SPDX-License-Identifier: CC-BY-SA-4.0
-->

# Overlapping Pages Test

The purpose of this is to test that when a user attempts to create overlapping pages in the address space a build error occurs.
5 changes: 5 additions & 0 deletions tests/simplemrs/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2021, Breakaway Consulting Pty. Ltd.
SPDX-License-Identifier: CC-BY-SA-4.0
-->

# Simple Memory Region Tests

The purpose of this is to test very simple system with two MRs and a single PD.
Expand Down
5 changes: 5 additions & 0 deletions tool/microkit/docs.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2021, Breakaway Consulting Pty. Ltd.
SPDX-License-Identifier: CC-BY-SA-4.0
-->

# Description

## Emulating the kernel boot
Expand Down

0 comments on commit 1b1cbc5

Please sign in to comment.