Skip to content

Commit

Permalink
fwd: Fix typo in __MCF_TEB_STORE_32_INDEXED
Browse files Browse the repository at this point in the history
  • Loading branch information
lhmouse committed Nov 9, 2024
1 parent c9ac28e commit 977c5cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mcfgthread/fwd.h
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ __MCF_CXX(extern "C" {)
__asm__ ("{ mov %%fs:%c1(,%2,4), %k0 | mov %k0, fs:[%1+%2*4] }" : "=r"(*(out)) : "i"(base), "r"(i) : "memory")

# define __MCF_TEB_STORE_32_INDEXED(base, i, in) \
__asm__ volatile ("{ mov %k1, %%fs:%c0(,%1,4) | mov fs:[%0+%1*4], %k2 }" : : "i"(base), "r"(i), "r"(in) : "memory")
__asm__ volatile ("{ mov %k2, %%fs:%c0(,%1,4) | mov fs:[%0+%1*4], %k2 }" : : "i"(base), "r"(i), "r"(in) : "memory")

# define __MCF_TEB_LOAD_PTR_IMMEDIATE(out, base) \
__asm__ ("{ mov %%fs:%c1, %0 | mov %0, fs:[%1] }" : "=r"(*(out)) : "i"(base) : "memory")
Expand Down

0 comments on commit 977c5cb

Please sign in to comment.