Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Mapped_allocator Class Reference

#include <mapped_alloc.h>

Inheritance diagram for Mapped_allocator:

Kmem_alloc List of all members.

Public Member Functions

virtual void * alloc (size_t order)=0
 allocate s bytes size-aligned
virtual void free (size_t order, void *p)=0
 free s bytes previously allocated with alloc(s)
virtual void * unaligned_alloc (int pages)=0
virtual void unaligned_free (int pages, void *p)=0
void free_phys (size_t s, P_ptr< void > p)

Static Public Member Functions

static Mapped_allocatorallocator ()

Static Protected Member Functions

static void allocator (Mapped_allocator *a)

Static Private Attributes

static Mapped_allocator_alloc

Member Function Documentation

virtual void* Mapped_allocator::alloc size_t  order  )  [pure virtual]
 

allocate s bytes size-aligned

Implemented in Kmem_alloc.

void Mapped_allocator::allocator Mapped_allocator a  )  [static, protected]
 

Mapped_allocator * Mapped_allocator::allocator  )  [static]
 

virtual void Mapped_allocator::free size_t  order,
void *  p
[pure virtual]
 

free s bytes previously allocated with alloc(s)

Implemented in Kmem_alloc.

void Mapped_allocator::free_phys size_t  s,
P_ptr< void >  p
[inline]
 

virtual void* Mapped_allocator::unaligned_alloc int  pages  )  [pure virtual]
 

Implemented in Kmem_alloc.

virtual void Mapped_allocator::unaligned_free int  pages,
void *  p
[pure virtual]
 

Implemented in Kmem_alloc.


Member Data Documentation

Mapped_allocator * Mapped_allocator::_alloc [static, private]
 


The documentation for this class was generated from the following files:
Generated on Mon Sep 26 14:20:16 2005 for Fiasco by  doxygen 1.4.2