rtapi_region(3rtapi)

rtapi_region3rtapi

Functions to manage i/o memory regions

Usage

void *rtapi_request_region(unsigned long base, unsigned long int size, const char *name)

void rtapi_release_region(unsigned long base, unsigned long int size)

Arguments

base

The base address of the I/O region

size

The size of the I/O region

name

The name to be shown in /proc/ioports

Overview

rtapi_request_region reserves I/O memory starting at base and going for size bytes.

Realtime considerations

May be called from realtime init/cleanup code only.

Return value

rtapi_request_region returns NULL if the allocation fails, and a non-NULL value otherwise.

rtapi_release_region has no return value.

Releases

Unchanged in 2 releases since Debian 12 (Bookworm).

  1. 12–13

From linuxcnc-uspace-dev 1:2.9.4-2+deb13u1 in Debian 13 (Trixie). Parsed by carta from the page's man source.