Skip to content

Commit

Permalink
crates/sel4-kernel-loader/asm: Add licensing information
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Spinale <[email protected]>
  • Loading branch information
nspin committed Oct 21, 2023
1 parent 2885148 commit c111094
Show file tree
Hide file tree
Showing 8 changed files with 51 additions and 4 deletions.
6 changes: 6 additions & 0 deletions crates/sel4-kernel-loader/asm/aarch64/exception_handler.S
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright 2023, Colias Group, LLC
*
* SPDX-License-Identifier: BSD-2-Clause
*/

#include "macros.h"

.extern exception_handler
Expand Down
7 changes: 7 additions & 0 deletions crates/sel4-kernel-loader/asm/aarch64/head.S
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
* Copyright 2023, Colias Group, LLC
*
* SPDX-License-Identifier: GPL-2.0-only
*/

#include "macros.h"
#include "registers.h"
#include "mm.h"
Expand Down
6 changes: 6 additions & 0 deletions crates/sel4-kernel-loader/asm/aarch64/macros.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright 2023, Colias Group, LLC
*
* SPDX-License-Identifier: BSD-2-Clause
*/

#define BEGIN_LOCAL_FUNC(_name) \
.type _name, %function ; \
_name:
Expand Down
13 changes: 10 additions & 3 deletions crates/sel4-kernel-loader/asm/aarch64/mm.S
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
#include "macros.h"
/*
* Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
* Copyright 2023, Colias Group, LLC
*
* SPDX-License-Identifier: GPL-2.0-only
*
* See:
* https://developer.arm.com/documentation/den0024/a/Caches/Cache-maintenance
*/

// Derived from:
// https://developer.arm.com/documentation/den0024/a/Caches/Cache-maintenance
#include "macros.h"

.macro dcache op
dsb sy
Expand Down
7 changes: 7 additions & 0 deletions crates/sel4-kernel-loader/asm/aarch64/mm.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* Copyright 2014, General Dynamics C4 Systems
* Copyright 2023, Colias Group, LLC
*
* SPDX-License-Identifier: GPL-2.0-only
*/

#include "registers.h"

#ifdef CONFIG_ARM_PA_SIZE_BITS_40
Expand Down
7 changes: 7 additions & 0 deletions crates/sel4-kernel-loader/asm/aarch64/registers.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* Copyright 2014, General Dynamics C4 Systems
* Copyright 2023, Colias Group, LLC
*
* SPDX-License-Identifier: GPL-2.0-only
*/

#define PSR_F_BIT 0x00000040
#define PSR_I_BIT 0x00000080
#define PSR_A_BIT 0x00000100
Expand Down
7 changes: 7 additions & 0 deletions crates/sel4-kernel-loader/asm/aarch64/tail.S
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* Copyright 2014, General Dynamics C4 Systems
* Copyright 2023, Colias Group, LLC
*
* SPDX-License-Identifier: GPL-2.0-only
*/

#include "macros.h"
#include "registers.h"
#include "mm.h"
Expand Down
2 changes: 1 addition & 1 deletion crates/sel4-kernel-loader/asm/riscv/head.S
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
* Copyright 2023, Nick Spinale <[email protected]>
* Copyright 2023, Colias Group, LLC
*
* SPDX-License-Identifier: GPL-2.0-only
*/
Expand Down

0 comments on commit c111094

Please sign in to comment.