/tmp/l4check/full_tree/trunk/l4/pkg/dde_linux/lib/src/res.c File Reference

I/O Resource Management. More...

#include <l4/generic_io/libio.h>
#include <l4/dde_linux/dde.h>
#include <l4/env/errno.h>
#include <linux/ioport.h>
#include <l4/log/l4log.h>
#include "__config.h"
#include "internal.h"

Go to the source code of this file.

Functions

struct resource * request_region (unsigned long start, unsigned long n, const char *name)
 Allocate I/O port region.
struct resource * request_mem_region (unsigned long start, unsigned long n, const char *name)
 Allocate I/O memory region.
void release_region (unsigned long start, unsigned long n)
 Release I/O port region.
void release_mem_region (unsigned long start, unsigned long n)
 Release I/O memory region.
int release_resource (struct resource *res)
 Release any resource.
int check_region (unsigned long start, unsigned long n)
 Check I/O port region availability.
int check_mem_region (unsigned long start, unsigned long n)
 Check I/O memory region availability.
void * ioremap (unsigned long phys_addr, unsigned long size)
 Remap I/O memory into kernel address space.
void * ioremap_nocache (unsigned long phys_addr, unsigned long size)
 Remap I/O memory into kernel address space (no cache).
void iounmap (void *addr)
 Unmap I/O memory from kernel address space.

Variables

Module Variables
static struct dde_regionregions = NULL
 I/O memory region list.


Detailed Description

I/O Resource Management.

Date:
08/28/2003
Author:
Christian Helmuth <ch12@os.inf.tu-dresden.de>

Definition in file res.c.


Linux DDE, written by Christian Helmuth  © 2003 Technische Universitaet Dresden