Home
last modified time | relevance | path

Searched refs:kJmpBufChecksumWord (Results 1 – 1 of 1) sorted by relevance

/frameworks/libs/binary_translation/guest_os_primitives/riscv64/
Dguest_setjmp.cc54 const int kJmpBufChecksumWord = 29; variable
65 for (int i = 0; i < kJmpBufChecksumWord; ++i) { in CalcJumpBufChecksum()
77 memset(buf, 0, kJmpBufChecksumWord * sizeof(uint64_t)); in SaveRegsToJumpBuf()
105 buf[kJmpBufChecksumWord] = CalcJumpBufChecksum(buf); in SaveRegsToJumpBuf()
112 if (buf[kJmpBufChecksumWord] != CalcJumpBufChecksum(buf)) { in RestoreRegsFromJumpBuf()