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

Kmem_alloc Class Reference

#include <kmem_alloc.h>

Inheritance diagram for Kmem_alloc:

Mapped_allocator List of all members.

Public Member Functions

void * alloc (size_t o)
 allocate s bytes size-aligned
void free (size_t o, void *p)
 free s bytes previously allocated with alloc(s)
void * unaligned_alloc (int pages)
void unaligned_free (int pages, void *page)
void debug_dump ()

Static Public Member Functions

static FIASCO_INIT void init ()

Private Member Functions

 Kmem_alloc ()
unsigned long orig_free ()

Static Private Attributes

static Helping_lock lmm_lock
static List_alloca = &_a

Constructor & Destructor Documentation

Kmem_alloc::Kmem_alloc  )  [private]
 


Member Function Documentation

void * Kmem_alloc::alloc size_t  o  )  [virtual]
 

allocate s bytes size-aligned

Implements Mapped_allocator.

void Kmem_alloc::debug_dump  ) 
 

void Kmem_alloc::free size_t  o,
void *  p
[virtual]
 

free s bytes previously allocated with alloc(s)

Implements Mapped_allocator.

FIASCO_INIT void Kmem_alloc::init  )  [static]
 

unsigned long Kmem_alloc::orig_free  )  [inline, private]
 

void * Kmem_alloc::unaligned_alloc int  pages  )  [virtual]
 

Implements Mapped_allocator.

void Kmem_alloc::unaligned_free int  pages,
void *  page
[virtual]
 

Implements Mapped_allocator.


Member Data Documentation

List_alloc * Kmem_alloc::a = &_a [static, private]
 

Helping_lock Kmem_alloc::lmm_lock [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