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

Method addCode_nolock

source/kernel/kmemory.cpp:574–580  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

572}
573
574void KMemory::addCode_nolock(U32 address, U32 len, DecodedOp* op, U32 opCount) {
575 iteratePages(address, len, [this](U32 page) {
576 this->data->getOrCreateCodePage(page << K_PAGE_SHIFT);
577 return true;
578 });
579 data->opCache.add(op, address, opCount);
580}
581
582bool KMemory::isAddressDynamic(U32 address, U32 len) {
583 return data->opCache.isAddressDynamic(address, len);

Callers 1

getOpMethod · 0.80

Calls 2

getOrCreateCodePageMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected