summaryrefslogtreecommitdiff
path: root/libddekit/include/ddekit/resources.h
blob: dfbb1322ac5942270faac3e973836b0d7d7cfb49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _ddekit_resources_h
#define _ddekit_resources_h

#include "ddekit/types.h"

int ddekit_request_dma(int nr);
int ddekit_release_dma(int nr);
int ddekit_request_io (ddekit_addr_t start, ddekit_addr_t count);
int ddekit_release_io (ddekit_addr_t start, ddekit_addr_t count);
int ddekit_request_mem(ddekit_addr_t start, ddekit_addr_t count, ddekit_addr_t *vaddr);
int ddekit_release_mem(ddekit_addr_t start, ddekit_addr_t count);

#endif