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

Method printMappedFiles

source/kernel/kprocess.cpp:2791–2797  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2789}
2790
2791void KProcess::printMappedFiles() {
2792 BOXEDWINE_CRITICAL_SECTION_WITH_MUTEX(mappedFilesMutex);
2793 for (auto& n : this->mappedFiles) {
2794 const std::shared_ptr<MappedFile>& mappedFile = n.value;
2795 klog_fmt(" %.8X - %.8X (offset=%x) %s\n", mappedFile->address, mappedFile->address+(int)mappedFile->len, (U32)mappedFile->offset, mappedFile->file->openFile->node->path.c_str());
2796 }
2797}
2798
2799U32 KProcess::alloc(KThread* thread, U32 len) {
2800 BOXEDWINE_CRITICAL_SECTION_WITH_MUTEX(heapMutex);

Callers 1

logPageFaultMethod · 0.80

Calls 2

klog_fmtFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected