diff --git a/firmware/common/memcpy.c b/firmware/common/memcpy.c index e3806805b6..49678920fa 100644 --- a/firmware/common/memcpy.c +++ b/firmware/common/memcpy.c @@ -49,6 +49,12 @@ QUICKREF /* Threshhold for punting to the byte copier. */ #define TOO_SMALL(LEN) ((LEN) < BIGBLOCKSIZE) +_PTR +_DEFUN (memcpy, (dst0, src0, len0), + _PTR dst0 _AND + _CONST _PTR src0 _AND + size_t len0) __attribute__ ((section (".icode"))); + _PTR _DEFUN (memcpy, (dst0, src0, len0), _PTR dst0 _AND diff --git a/firmware/common/memset.c b/firmware/common/memset.c index c370191cda..1885a476eb 100644 --- a/firmware/common/memset.c +++ b/firmware/common/memset.c @@ -39,6 +39,12 @@ QUICKREF #define UNALIGNED(X) ((long)X & (LBLOCKSIZE - 1)) #define TOO_SMALL(LEN) ((LEN) < LBLOCKSIZE) +_PTR +_DEFUN (memset, (m, c, n), + _PTR m _AND + int c _AND + size_t n) __attribute__ ((section (".icode"))); + _PTR _DEFUN (memset, (m, c, n), _PTR m _AND