summaryrefslogtreecommitdiff
path: root/coroutine/arm32
diff options
context:
space:
mode:
Diffstat (limited to 'coroutine/arm32')
-rw-r--r--coroutine/arm32/Context.h15
-rw-r--r--coroutine/arm32/Context.s3
2 files changed, 7 insertions, 11 deletions
diff --git a/coroutine/arm32/Context.h b/coroutine/arm32/Context.h
index 1c730ed458..25f2bfcb3a 100644
--- a/coroutine/arm32/Context.h
+++ b/coroutine/arm32/Context.h
@@ -1,10 +1,9 @@
-//
-// amd64.h
-// File file is part of the "Coroutine" project and released under the MIT License.
-//
-// Created by Samuel Williams on 10/5/2018.
-// Copyright, 2018, by Samuel Williams. All rights reserved.
-//
+/*
+ * This file is part of the "Coroutine" project and released under the MIT License.
+ *
+ * Created by Samuel Williams on 10/5/2018.
+ * Copyright, 2018, by Samuel Williams. All rights reserved.
+*/
#pragma once
@@ -19,13 +18,11 @@ extern "C" {
const size_t COROUTINE_REGISTERS = 9;
-// The fiber context (stack pointer).
typedef struct
{
void **stack_pointer;
} coroutine_context;
-// The initialization function.
typedef void(* coroutine_start)(coroutine_context *from, coroutine_context *self);
inline void coroutine_initialize(
diff --git a/coroutine/arm32/Context.s b/coroutine/arm32/Context.s
index 91fc697c18..86a80f3db2 100644
--- a/coroutine/arm32/Context.s
+++ b/coroutine/arm32/Context.s
@@ -1,6 +1,5 @@
##
-## arm.c
-## File file is part of the "Coroutine" project and released under the MIT License.
+## This file is part of the "Coroutine" project and released under the MIT License.
##
## Created by Samuel Williams on 10/5/2018.
## Copyright, 2018, by Samuel Williams. All rights reserved.