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

Subversion Repositories c0or1k

[/] [c0or1k/] [trunk/] [conts/] [posix/] [mm0/] [include/] [lib/] [vaddr.h] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 drasko
/*
2
 * Virtual address allocation pool (for shm)
3
 *
4
 * Copyright (C) 2007 Bahadir Balban
5
 */
6
#ifndef __VADDR_H__
7
#define __VADDR_H__
8
 
9
#include <lib/idpool.h>
10
 
11
void vaddr_pool_init(struct id_pool *pool, unsigned long start,
12
                     unsigned long end);
13
void *vaddr_new(struct id_pool *pool, int npages);
14
int vaddr_del(struct id_pool *, void *vaddr, int npages);
15
 
16
#endif /* __VADDR_H__ */
17
 

powered by: WebSVN 2.1.0

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