设置地址池BitMap
| 7 | |
| 8 | // 设置地址池BitMap |
| 9 | void AddressPool::initialize(char *bitmap, const int length, const int startAddress) |
| 10 | { |
| 11 | resources.initialize(bitmap, length); |
| 12 | this->startAddress = startAddress; |
| 13 | } |
| 14 | |
| 15 | // 从地址池中分配count个连续页 |
| 16 | int AddressPool::allocate(const int count) |
nothing calls this directly
no outgoing calls
no test coverage detected