diff options
Diffstat (limited to 'coroutine/arm64/Context.h')
-rw-r--r-- | coroutine/arm64/Context.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/coroutine/arm64/Context.h b/coroutine/arm64/Context.h index 8dc010d982..dd8b1d78dd 100644 --- a/coroutine/arm64/Context.h +++ b/coroutine/arm64/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 = 0xb0 / 8; -// 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( |