Skip to content

Commit

Permalink
arch/arm: Add mmiocpy/set aliases for memcpy/set
Browse files Browse the repository at this point in the history
See: #1082
  • Loading branch information
Phil Elwell authored and popcornmix committed Oct 27, 2015
1 parent ac94a7d commit 32865f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/lib/memcpy_rpi.S
Expand Up @@ -54,6 +54,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

.set prefetch_distance, 3

ENTRY(mmiocpy)
ENTRY(memcpy)
memcpy 0
ENDPROC(memcpy)
ENDPROC(mmiocpy)
2 changes: 2 additions & 0 deletions arch/arm/lib/memset_rpi.S
Expand Up @@ -50,6 +50,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* On exit:
* a1 preserved
*/
ENTRY(mmioset)
ENTRY(memset)
S .req a1
DAT0 .req a2
Expand Down Expand Up @@ -119,3 +120,4 @@ ENTRY(memset)
.unreq DAT2
.unreq DAT3
ENDPROC(memset)
ENDPROC(mmioset)

0 comments on commit 32865f1

Please sign in to comment.