#include <simplenet.h>
Public Member Functions | |
| template<typename T > | |
| T * | allocate (size_t bytes) |
| virtual mword | ptr_to_phys (const void *ptr, size_t size)=0 |
Protected Member Functions | |
| virtual void * | allocate_backend (size_t bytes)=0 |
| Allocate page aligned memory. | |
| T* SimpleNetworkClient::Memory::allocate | ( | size_t | bytes | ) | [inline] |
| virtual void* SimpleNetworkClient::Memory::allocate_backend | ( | size_t | bytes | ) | [protected, pure virtual] |
Allocate page aligned memory.
Implemented in js::StrangeMemory, VancouverMemory, and NullMemory.
| virtual mword SimpleNetworkClient::Memory::ptr_to_phys | ( | const void * | ptr, | |
| size_t | size | |||
| ) | [pure virtual] |
Implemented in js::StrangeMemory, VancouverMemory, and NullMemory.
1.7.1