| 197 | return addr; |
| 198 | } |
| 199 | void Win32LockedPageAllocator::FreeLocked(void* addr, size_t len) |
| 200 | { |
| 201 | len = align_up(len, page_size); |
| 202 | memory_cleanse(addr, len); |
| 203 | VirtualUnlock(const_cast<void*>(addr), len); |
| 204 | } |
| 205 | |
| 206 | size_t Win32LockedPageAllocator::GetLimit() |
| 207 | { |
no test coverage detected