diff options
author | samuel <samuel@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-20 10:16:29 +0000 |
---|---|---|
committer | samuel <samuel@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-20 10:16:29 +0000 |
commit | 3710dedc1228dddd65cfb677b87a59b8ea4e91a4 (patch) | |
tree | c9e15bec76ff0acfd64bb74ea6a12c359a4489ca /coroutine/arm64 | |
parent | dba6b87b296c864776848819c76f9ff7c595cec4 (diff) | |
download | ruby-3710dedc1228dddd65cfb677b87a59b8ea4e91a4.tar.gz |
Tidy up comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'coroutine/arm64')
-rw-r--r-- | coroutine/arm64/Context.h | 15 | ||||
-rw-r--r-- | coroutine/arm64/Context.s | 3 |
2 files changed, 7 insertions, 11 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( diff --git a/coroutine/arm64/Context.s b/coroutine/arm64/Context.s index f8d76e82c4..2410dfc7cd 100644 --- a/coroutine/arm64/Context.s +++ b/coroutine/arm64/Context.s @@ -1,6 +1,5 @@ ## -## arm64.s -## 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. |