27 lines
458 B
ArmAsm
27 lines
458 B
ArmAsm
|
/*
|
||
|
* Support Functions
|
||
|
*/
|
||
|
|
||
|
#include <errno.h>
|
||
|
#include <machine/asm.h>
|
||
|
|
||
|
.text
|
||
|
|
||
|
// copy_unsafe(to, from, len)
|
||
|
FUNC_BEGIN(copy_unsafe)
|
||
|
.globl copy_unsafe_done
|
||
|
copy_unsafe_done:
|
||
|
.globl copy_unsafe_fault
|
||
|
copy_unsafe_fault:
|
||
|
FUNC_END(copy_unsafe)
|
||
|
|
||
|
// copystr_unsafe(to, from, len)
|
||
|
FUNC_BEGIN(copystr_unsafe)
|
||
|
.globl copystr_unsafe_done
|
||
|
copystr_unsafe_done:
|
||
|
.globl copystr_unsafe_fault
|
||
|
copystr_unsafe_fault:
|
||
|
.globl copystr_unsafe_toolong
|
||
|
FUNC_END(copystr_unsafe)
|
||
|
|