Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

rtapi_region - functions to manage I/O memory regions

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

Description

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

Name

       rtapi_region - functions to manage I/O memory regions

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.

LinuxCNC Documentation                             2006-10-12                               rtapi_region(3rtapi)

Syntax


               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)

See Also