00001 /* kalloc.h */ 00002 00003 #ifndef __SYSTEM 00004 #include "routix/system.h" 00005 #endif 00006 00007 dword kmem_free (void); 00008 addr_t get_free_page(void); 00009 addr_t kmalloc_page(void); 00010 int kfree_page(addr_t direccion); 00011 00012 struct user_page *umalloc_page ( word flags, addr_t vdir, addr_t cr3); 00013 struct user_page *ufree_page (struct user_page *aux); 00014 00015 void *malloc (unsigned nbytes); 00016 void free (void *); 00017 00018 void inicializacion_kmalloc(int memoria_fisica, int memoria_kernel);