diff options
Diffstat (limited to 'src/cpu.zig')
-rw-r--r-- | src/cpu.zig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cpu.zig b/src/cpu.zig index 58f5f40..f9d9f33 100644 --- a/src/cpu.zig +++ b/src/cpu.zig @@ -1,3 +1,9 @@ +// Copyright (C) 2024 Clyne Sullivan <clyne@bitgloo.com> +// +// Distributed under the GNU GPL v3 or later. You should have received a copy of +// the GNU General Public License along with this program. +// If not, see <https://www.gnu.org/licenses/>. + pub fn interrupt_disable() void { asm volatile("cpsid i"); } |