a commit
This commit is contained in:
16
kernel/include/amemcpy.h
Normal file
16
kernel/include/amemcpy.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef HEADER_AMEMCPY_H
|
||||
#define HEADER_AMEMCPY_H
|
||||
|
||||
#include <aal/cpu.h>
|
||||
|
||||
static void memcpy_async_wait(unsigned long *notify)
|
||||
{
|
||||
while (!*notify) {
|
||||
cpu_pause();
|
||||
}
|
||||
}
|
||||
|
||||
int memcpy_async(unsigned long dest, unsigned long src,
|
||||
unsigned long len, int wait, unsigned long *notify);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user