Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


Merge branch 'devel'
[palacios.git] / kitten / include / lwk / kmem.h
1 /* Copyright (c) 2007, Sandia National Laboratories */
2
3 #ifndef _LWK_KMEM_H
4 #define _LWK_KMEM_H
5
6 void kmem_create_zone(unsigned long base_addr, size_t size);
7 void kmem_add_memory(unsigned long base_addr, size_t size);
8
9 void *kmem_alloc(size_t size);
10 void kmem_free(void *addr);
11
12 void * kmem_get_pages(unsigned long order);
13 void kmem_free_pages(void *addr, unsigned long order);
14
15 #endif