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 | b031b9d140bcd39f4ef2764e24d37bee317aaf23 (patch) | |
tree | c0748b5dcbade83af788c0abfa89c0383d6b779c /util/system | |
parent | ef985e41af0868676d7a2275f1d90261253ddf3b (diff) | |
download | ydb-b031b9d140bcd39f4ef2764e24d37bee317aaf23.tar.gz |
Restoring authorship annotation for <pyos@yandex-team.ru>. Commit 2 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 bea1976a1e..ad99309088 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 1a69e63e7d..589521d8ae 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 d1437ff477..1abfd5dada 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 83509a4f5c..6ea066ff88 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 90022d0498..94e4f37eb3 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 |