2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-23 18:37:50 +00:00
Radostin Stoyanov 22142eedf0 mips: coding style fixes
CRIU follows Linux kernel coding style. This patch updates the
architecture-specific code for MIPS to use tab indentation,
add whitespace between closing parenthesis and open bracket,
and changes the mode of source files from 755 to 644.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
2021-09-03 10:31:00 -07:00

23 lines
270 B
ArmAsm

#include "common/asm/linkage.h"
.section .head.text, "ax"
ENTRY(memcpy)
.set noreorder
dadd v0,zero,a0
daddiu t1,zero,0
loop:
beq t1,a2,exit
nop
lb t2,0(a1)
sb t2,0(a0)
daddiu t1,t1,1
daddiu a0,a0,1
daddiu a1,a1,1
j loop
nop
exit:
jr ra
nop
END(memcpy)