-/*
- * PagedAllocator.h
- *
- * Created on: Oct 9, 2012
- * Author: holy
- */
-
#ifndef LOADER_PAGEDALLOCATOR_H_
#define LOADER_PAGEDALLOCATOR_H_
public:
char *Alloc(unsigned int size);
+ unsigned int PageOf(void *) const;
+ unsigned int PageOffsetOf(void *) const;
+
private:
unsigned int Free() const;
void NewPage();
}
-#endif /* LOADER_PAGEDALLOCATOR_H_ */
+#endif