diff options
Diffstat (limited to 'sys/lib/libkern/arch/amd64/memset.S')
-rw-r--r-- | sys/lib/libkern/arch/amd64/memset.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/lib/libkern/arch/amd64/memset.S b/sys/lib/libkern/arch/amd64/memset.S index 67d6404e932..1ccdfe79a9d 100644 --- a/sys/lib/libkern/arch/amd64/memset.S +++ b/sys/lib/libkern/arch/amd64/memset.S @@ -7,6 +7,7 @@ #include <machine/asm.h> ENTRY(memset) + RETGUARD_SETUP(memset, r10) movq %rsi,%rax andq $0xff,%rax movq %rdx,%rcx @@ -49,5 +50,5 @@ ENTRY(memset) L1: rep stosb movq %r11,%rax - + RETGUARD_CHECK(memset, r10) ret |