OpenCores
URL https://opencores.org/ocsvn/c0or1k/c0or1k/trunk

Subversion Repositories c0or1k

[/] [c0or1k/] [trunk/] [conts/] [posix/] [mm0/] [include/] [lib/] [vaddr.h] - Rev 2

Compare with Previous | Blame | View Log

/*
 * Virtual address allocation pool (for shm)
 *
 * Copyright (C) 2007 Bahadir Balban
 */
#ifndef __VADDR_H__
#define __VADDR_H__
 
#include <lib/idpool.h>
 
void vaddr_pool_init(struct id_pool *pool, unsigned long start,
		     unsigned long end);
void *vaddr_new(struct id_pool *pool, int npages);
int vaddr_del(struct id_pool *, void *vaddr, int npages);
 
#endif /* __VADDR_H__ */
 
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.