00001 00038 #include <hugemem.h> 00039 00055 hugemem_ptr_t hugemem_alloc(struct physmem_pool *pool, phys_size_t size, 00056 unsigned int align_order) 00057 { 00058 phys_addr_t address; 00059 00060 address = physmem_alloc(pool, size, align_order); 00061 if (address == PHYSMEM_ALLOC_ERR) 00062 return HUGEMEM_NULL; 00063 00064 return (hugemem_ptr_t)address; 00065 }
1.6.3