Skip to content
Snippets Groups Projects
Commit 5fb71501 authored by tracer-nju's avatar tracer-nju Committed by guo zling
Browse files

Static hostname: starker-HYM-WXX

       Icon name: computer-laptop
         Chassis: laptop
      Machine ID: 9f936e1bf87b4e7cb0e53e5422bcaf22
         Boot ID: d1a74c42722f40caa66f679a41560dfb
Operating System: Ubuntu 22.04.2 LTS
          Kernel: Linux 5.19.0-45-generic
    Architecture: x86-64
 Hardware Vendor: HONOR
  Hardware Model: HYM-WXX
 21:52:11 up  1:29,  1 user,  load average: 0.90, 0.91, 0.87
parent 07098d4e
No related branches found
No related tags found
No related merge requests found
......@@ -53,8 +53,8 @@ void *asm_memcpy(void *dest, const void *src, size_t n) {
__attribute__((naked,returns_twice))
int asm_setjmp(asm_jmp_buf env) {
asm(
"movq (%%rsp), %%eax \t\n" //save ret address
"movq %%eax, %[pc] \t\n"
"movq (%%rsp), %%rax \t\n" //save ret address
"movq %%rax, %[pc] \t\n"
"movq %%r12, %[r12] \t\n"
"movq %%r13, %[r13] \t\n"
"movq %%r14, %[r14] \t\n"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment