| 2789 | } |
| 2790 | |
| 2791 | void 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 | |
| 2799 | U32 KProcess::alloc(KThread* thread, U32 len) { |
| 2800 | BOXEDWINE_CRITICAL_SECTION_WITH_MUTEX(heapMutex); |
no test coverage detected