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

Method memset

source/kernel/kmemory.cpp:371–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369}
370
371void KMemory::memset(U32 address, char value, U32 len) {
372 performOnMemory(address, len, false, [value] (U8* ram, U32 len) {
373 ::memset(ram, value, len);
374 return true;
375 });
376}
377
378int KMemory::memcmp(U32 address, const void* p, U32 len) {
379 U8* ptr = (U8*)p;

Callers 12

setupFunction · 0.80
testPushA16Function · 0.80
testPushA32Function · 0.80
initMem32Function · 0.80
initMem16Function · 0.80
writeToContextFunction · 0.80
ioctlMethod · 0.80
kselectFunction · 0.80
getrusuageMethod · 0.80
writeVarInfoFunction · 0.80
ioctlMethod · 0.80
freeMethod · 0.80

Calls

no outgoing calls

Tested by 5

setupFunction · 0.64
testPushA16Function · 0.64
testPushA32Function · 0.64
initMem32Function · 0.64
initMem16Function · 0.64