mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-08 16:53:07 +00:00
14 lines
370 B
NASM
14 lines
370 B
NASM
%macro memcpy_kernel_general
|
|
// stack: dst, src, len
|
|
%stack (dst, src, len) -> (0, @SEGMENT_KERNEL_GENERAL, dst, 0, @SEGMENT_KERNEL_GENERAL, src, len, %%after)
|
|
%jump(memcpy)
|
|
%%after:
|
|
%endmacro
|
|
|
|
%macro clear_kernel_general
|
|
// stack: dst, len
|
|
%stack (dst, len) -> (0, @SEGMENT_KERNEL_GENERAL, dst, 0, len, %%after)
|
|
%jump(memset)
|
|
%%after:
|
|
%endmacro
|