diff options
author | pyos <pyos@yandex-team.ru> | 2022-02-10 16:47:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:49 +0300 |
commit | ef985e41af0868676d7a2275f1d90261253ddf3b (patch) | |
tree | 3a6a11d19d8c39c7b90c132bce7e1c3536be37c1 /util/system | |
parent | 8387f1fb70a4161b7581d3c0da52c4810df655be (diff) | |
download | ydb-ef985e41af0868676d7a2275f1d90261253ddf3b.tar.gz |
Restoring authorship annotation for <pyos@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system')
-rw-r--r-- | util/system/context.cpp | 10 | ||||
-rw-r--r-- | util/system/context_aarch64.h | 2 | ||||
-rw-r--r-- | util/system/context_i686.h | 4 | ||||
-rw-r--r-- | util/system/context_x86.h | 2 | ||||
-rw-r--r-- | util/system/context_x86_64.h | 2 |
5 files changed, 10 insertions, 10 deletions
diff --git a/util/system/context.cpp b/util/system/context.cpp index ad99309088..bea1976a1e 100644 --- a/util/system/context.cpp +++ b/util/system/context.cpp @@ -110,10 +110,10 @@ namespace { return JmpBufReg(buf, PROGR_CNT); } - static inline void*& JmpBufFrameReg(__myjmp_buf& buf) noexcept { - return JmpBufReg(buf, FRAME_CNT); - } - + static inline void*& JmpBufFrameReg(__myjmp_buf& buf) noexcept { + return JmpBufReg(buf, FRAME_CNT); + } + #if defined(_x86_64_) // not sure if Y_NO_SANITIZE is needed Y_NO_SANITIZE("address") @@ -191,7 +191,7 @@ TContMachineContext::TContMachineContext(const TContClosure& c) JmpBufProgrReg(Buf_) = reinterpret_cast<void*>(ContextTrampoLine); JmpBufStackReg(Buf_) = stack.StackPtr(); - JmpBufFrameReg(Buf_) = nullptr; + JmpBufFrameReg(Buf_) = nullptr; } void TContMachineContext::SwitchTo(TContMachineContext* next) noexcept { diff --git a/util/system/context_aarch64.h b/util/system/context_aarch64.h index 589521d8ae..1a69e63e7d 100644 --- a/util/system/context_aarch64.h +++ b/util/system/context_aarch64.h @@ -2,7 +2,7 @@ typedef unsigned long __myjmp_buf[22]; -#define FRAME_CNT 10 +#define FRAME_CNT 10 #define PROGR_CNT 11 #define STACK_CNT 13 #define EXTRA_PUSH_ARGS 2 diff --git a/util/system/context_i686.h b/util/system/context_i686.h index 1abfd5dada..d1437ff477 100644 --- a/util/system/context_i686.h +++ b/util/system/context_i686.h @@ -1,9 +1,9 @@ #pragma once -#define MJB_BP 3 +#define MJB_BP 3 #define MJB_SP 4 #define MJB_PC 5 -#define MJB_RBP MJB_BP +#define MJB_RBP MJB_BP #define MJB_RSP MJB_SP typedef int __myjmp_buf[6]; diff --git a/util/system/context_x86.h b/util/system/context_x86.h index 6ea066ff88..83509a4f5c 100644 --- a/util/system/context_x86.h +++ b/util/system/context_x86.h @@ -8,5 +8,5 @@ #define PROGR_CNT MJB_PC #define STACK_CNT MJB_RSP -#define FRAME_CNT MJB_RBP +#define FRAME_CNT MJB_RBP #define EXTRA_PUSH_ARGS 1 diff --git a/util/system/context_x86_64.h b/util/system/context_x86_64.h index 94e4f37eb3..90022d0498 100644 --- a/util/system/context_x86_64.h +++ b/util/system/context_x86_64.h @@ -1,6 +1,6 @@ #pragma once -#define MJB_RBP 1 +#define MJB_RBP 1 #define MJB_RSP 6 #define MJB_PC 7 |