Skip to content

Commit

Permalink
tool: add licenses
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Velickovic <[email protected]>
  • Loading branch information
Ivan-Velickovic committed May 22, 2024
1 parent 390369e commit 8890e2f
Show file tree
Hide file tree
Showing 10 changed files with 63 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: seL4
Upstream-Contact: seL4 team <[email protected]>
Source: http://sel4.systems

Files:
tool/microkit/Cargo.lock
Copyright: 2024, UNSW
License: BSD-2-Clause
6 changes: 6 additions & 0 deletions tool/microkit/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright 2024, UNSW
#
# SPDX-License-Identifier: BSD-2-Clause
#

[package]
name = "microkit-tool"
version = "0.1.0"
Expand Down
6 changes: 6 additions & 0 deletions tool/microkit/src/elf.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
//
// Copyright 2024, UNSW
//
// SPDX-License-Identifier: BSD-2-Clause
//

use std::fs;
use std::path::Path;
use std::collections::HashMap;
Expand Down
6 changes: 6 additions & 0 deletions tool/microkit/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
//
// Copyright 2024, UNSW
//
// SPDX-License-Identifier: BSD-2-Clause
//

pub mod elf;
pub mod loader;
pub mod sel4;
Expand Down
6 changes: 6 additions & 0 deletions tool/microkit/src/loader.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
//
// Copyright 2024, UNSW
//
// SPDX-License-Identifier: BSD-2-Clause
//

use crate::{MemoryRegion};
use crate::util::{round_up, mb, kb, mask, struct_to_bytes};
use crate::elf::{ElfFile};
Expand Down
6 changes: 6 additions & 0 deletions tool/microkit/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
//
// Copyright 2024, UNSW
//
// SPDX-License-Identifier: BSD-2-Clause
//

use std::collections::{HashMap, HashSet};
use std::iter::zip;
use std::fs;
Expand Down
6 changes: 6 additions & 0 deletions tool/microkit/src/sel4.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
//
// Copyright 2024, UNSW
//
// SPDX-License-Identifier: BSD-2-Clause
//

use std::io::{Write, BufWriter};
use std::collections::HashMap;
use crate::UntypedObject;
Expand Down
6 changes: 6 additions & 0 deletions tool/microkit/src/sysxml.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
//
// Copyright 2024, UNSW
//
// SPDX-License-Identifier: BSD-2-Clause
//

use std::path::{Path, PathBuf};
use crate::util::{str_to_bool};
use crate::sel4::{PageSize, ArmIrqTrigger, Config, Arch};
Expand Down
6 changes: 6 additions & 0 deletions tool/microkit/src/util.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
//
// Copyright 2024, UNSW
//
// SPDX-License-Identifier: BSD-2-Clause
//

use crate::sel4::Object;

pub fn msb(x: u64) -> u64 {
Expand Down
6 changes: 6 additions & 0 deletions tool/microkit/tests/test.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
//
// Copyright 2024, UNSW
//
// SPDX-License-Identifier: BSD-2-Clause
//

use microkit_tool::{sysxml, sel4};

const DEFAULT_KERNEL_CONFIG: sel4::Config = sel4::Config {
Expand Down

0 comments on commit 8890e2f

Please sign in to comment.