MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / memcpy

Method memcpy

source/kernel/kmemory.cpp:330–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

328}
329
330void KMemory::memcpy(U32 address, const void* p, U32 len) {
331 U8* ptr = (U8*)p;
332
333 performOnMemory(address, len, false, [&ptr](U8* ram, U32 len) {
334 ::memcpy(ram, ptr, len);
335 ptr += len;
336 return true;
337 });
338}
339
340void KMemory::memcpy(U32 dest, U32 src, U32 len) {
341 for (U32 i = 0; i < len; i++, src++, dest++) {

Callers 15

mremapMethod · 0.95
FBSTMethod · 0.80
common_FBLD_PACKED_BCDFunction · 0.80
common_maskmovqEDIMmxMmxFunction · 0.80
glcommon_glSelectBufferFunction · 0.80
glcommon_glGetStringFunction · 0.80
marshalBackArrayFunction · 0.80

Calls 1

memcpyFunction · 0.85

Tested by 3

testFSAVEFunction · 0.64
testFSAVEMmxFunction · 0.64
strTestFunction · 0.64