Lines Matching defs:MemGroup
38 uint8_t *SectionMemoryManager::allocateSection(MemoryGroup &MemGroup,
51 for (int i = 0, e = MemGroup.FreeMem.size(); i != e; ++i) {
52 sys::MemoryBlock &MB = MemGroup.FreeMem[i];
59 MemGroup.FreeMem[i] = sys::MemoryBlock((void*)(Addr + Size),
76 &MemGroup.Near,
86 MemGroup.Near = MB;
88 MemGroup.AllocatedMem.push_back(MB);
99 MemGroup.FreeMem.push_back(sys::MemoryBlock((void*)(Addr + Size), FreeSize));
146 error_code SectionMemoryManager::applyMemoryGroupPermissions(MemoryGroup &MemGroup,
149 for (int i = 0, e = MemGroup.AllocatedMem.size(); i != e; ++i) {
151 ec = sys::Memory::protectMappedMemory(MemGroup.AllocatedMem[i],