|
This section contains a list of supported RTAPI functions.
RTAPI Function Name | Description |
---|---|
Places the thread into a busy wait state until the fast semaphore is released. |
|
Allocates physically contiguous memory. |
|
Allocates a range of physically contiguous, cache-aligned memory. |
|
Allocates memory from a pre-allocated RTSS deterministic memory pool to avoid SRI activity if allocating memory from Windows memory pool. |
|
Commits and locks the specified amount of memory to avoid page faults as the memory is used. |
|
Converts a given string value to an integer. |
|
Allows the user to associate an Interrupt Service Thread (IST) and Interrupt Service Routine (ISR) with a line-based or message-based hardware interrupt. |
|
Allows the user to associate a handler routine in user space with a hardware interrupt. Non-shared, level-triggered interrupts are supported only in the RTSS environment. |
|
Allows the user to associate an IST and ISR with a shared or non-shared hardware interrupt. |
|
Registers a stop notification handler function with RTSS. The handler function is called in its own thread when one of the system stop events occurs. |
|
Cancels the expiration of the indicated timer. |
|
Closes an open object handle. |
|
Commits and locks the heap to avoid page faults as the heap is used. |
|
Commits and locks the system process heap to avoid page faults as the heap is used. |
|
Commits and locks the specified stack to avoid page faults as the stack is used. |
|
Creates a named or unnamed event object. |
|
Creates an RTSS mutex. A handle is returned to the newly created mutex object. |
|
Creates and starts a new RTSS process. The new RTSS process runs the specified RTSS executable file. RtCreateProcess is supported only in the Win32 environment. |
|
Creates a named or unnamed semaphore object. |
|
Creates a named region of physical memory that can be mapped by any process. |
|
Creates a timer associated with the specified clock, and returns a handle to the timer. |
|
Creates a timer associated with the specified clock, and returns a handle to the timer. |
|
Deletes the specified list of attributes for process and thread creation. |
|
Deletes the timer specified by the given handle. |
|
In the Win32 environment, RtDisableInterrupts disables all user-level interrupt handling for all interrupts to which the Win32 process is attached. In an RTSS environment, RtDisableInterrupts disables all interrupts at the processor level including timer interrupts. |
|
Disables direct I/O port access from user context. |
|
Disables direct I/O port access from user context. |
|
Enables direct I/O port access from user context. |
|
Expands the local memory pool upon request by the size specified. |
|
Frees a previously allocated physically contiguous memory region. |
|
Frees memory previously allocated by a call to RtAllocateLocalMemory. |
|
Frees memory previously committed and locked by a call to RtAllocateLockedMemory. |
|
Obtains details, starting at the given offset, about a given slot on an I/O bus. |
|
Obtains the resolution of the specified clock. |
|
Obtains the current value of the specified clock. |
|
Obtains the minimum timer period of the specified clock. The RtGetClockTimecall delivers the clock time as 64-bit quantity of 100ns. |
|
Returns the number of threads waiting on this fast semaphore. This information is useful when preparing for a manual release of the fast semaphore. |
|
Returns the system-assigned number of the current processor on which the caller is running. |
|
Retrieves a list of the IntervalZero-provided dongles attached to the machine. | |
Retrieves the termination status of the specified process. |
|
Retrieves information about licenses installed on the system. |
|
RtGetLicenseFeatureStatusEx | Obtains the status of the license for the product feature specified by parameter featureName. |
Returns the physical address for the virtual address of a contiguous physical memory buffer previously allocated by RtAllocateContiguousMemory. In the RTSS environment, this function applies to all memory allocation. In the Win32 environment, it applies to contiguous memory allocation only. |
|
Retrieves the process affinity mask for the specified RTSS process and the system affinity mask for RTSS. |
|
Retrieves the RTX product type and version in the form of the OSVERSIONINFOEX structure. | |
Gets the current value for RTSS time. |
|
Returns the priority value for the specified thread. |
|
Gets the current time quantum, in milliseconds, for the specified thread. |
|
Function retrieves timing information for the specified RTSS thread. This function can only be called in RTSS processes. |
|
Returns the remaining relative time until the next expiration of the specified timer. |
|
Initializes a fast semaphore object. |
|
Initializes a specified list of attributes for process and thread creation. |
|
Allows RTSS applications to validate an application's RTSS signature. | |
Provides the ability to determine whether code is running in RTSS or Windows. |
|
Verifies that a specified RTX Runtime is installed and has a valid license. |
|
Verifies that a specified RTX RT-TCP/IP Stack component is installed and has a valid license. | |
Locks certain sections of a Windows kernel's virtual address space into physical memory. |
|
Locks certain sections of a process' virtual address space into physical memory. |
|
Maps a range of physical memory addresses into the user's virtual address space. |
|
Returns a handle of an existing named event object. |
|
Returns a handle to the named RTSS mutex. |
|
Returns a handle to an existing process object. |
|
Returns a handle of an existing named semaphore object. |
|
Opens a named physical-mapping object. |
|
Prints formatted output to the standard output stream or console window. |
|
Provides a single operation that sets (to signaled) the state of the specified event object and then resets it (to non-signaled) after releasing the appropriate number of waiting threads. |
|
Returns RTSS deterministic memory pool information, including the pool size as a whole, the free memory size available, the maximum virtually contiguous free memory size. RtQueryLocalMemory is only supported in the RTSS environment. It cannot be called from a Windows application linked to RTX. |
|
Allows a user to query a PCI device and determine if the device has MSI or MSI-X capability. RtQueryPciMsiCapability is only supported in the RTSS environment. It cannot be called from a Windows application linked to RTX. |
|
Calls copy data from an I/O port to a buffer until the buffer has been filled using a number of bytes that you specify for each read operation. |
|
Calls copy data from an I/O port to a buffer until the buffer has been filled using a number of bytes that you specify for each read operation. |
|
Calls copy data from an I/O port to a buffer until the buffer has been filled using a number of bytes that you specify for each read operation. |
|
Calls read data directly from an I/O port. Each function reads a different number of bytes of data. |
|
Calls read data directly from an I/O port. Each function reads a different number of bytes of data. |
|
Calls read data directly from an I/O port. Each function reads a different number of bytes of data. |
|
Releases all threads waiting on the fast semaphore. Ensures that all waiting threads enter the ready-to-run state. Ensures that no new threads enter the busy wait state until all current waiters have become runnable. |
|
Releases the specified count of threads waiting on the fast semaphore. If the number of waiting threads is less than the specified count, RtReleaseFastSemaphore will store the remaining count value and continue to release new threads that call RtAcquireFastSemaphore on this fast semaphore. |
|
Releases an interrupt previously attached using RtAttachInterrupt. This breaks the association between a user's interrupt handling routine and the hardware interrupt. |
|
Releases a previously attached interrupt. This breaks the association between a user's interrupt handling routine and the hardware interrupt. |
|
Relinquishes ownership of an RTSS mutex. |
|
Increases the count of the specified semaphore object by a specified amount. |
|
Destroys the shutdown handler object created by RtAttachShutdownHandler. |
|
Sets the state of the specified event object to non-signaled. |
|
Sets bus-configuration data for a device on a dynamically configurable I/O bus with a published, standard interface. |
|
Sets the current value of the specified clock. |
|
Sets the state of the specified event object to signaled. |
|
Sets a processor affinity mask for the threads of the specified RTSS process. |
|
Sets the new value for RTSS time. |
|
Sets the priority value for the specified thread. |
|
Sets the time quantum for the specified thread. |
|
Sets the expiration time and repeat interval on the specified timer. |
|
Sets the expiration time and repeat interval on the specified timer. |
|
Suspends the current thread for the specified time. |
|
Suspends the current thread for the specified time. |
|
Enables the measuring of HAL clock ticks and latencies for the specified processor. |
|
Stops the measuring of HAL clock ticks and latencies. |
|
Terminates the specified process and all of its threads. |
|
Allows the user to add trace event calls to an application. |
|
Translates a bus-specific address into the corresponding system logical address. |
|
Unlocks sections of the kernel's virtual address space previously locked into physical memory. |
|
Unlocks sections of the process' virtual address space previously locked into physical memory. RtUnlockProcess has no effect within the RTSS environment. |
|
Releases a mapping made by a previous call to RtMapMemory. |
|
Unmaps the Windows user process view of the shared memory section. |
|
Updates the specified attribute in a list of attributes for process and thread creation. |
|
Allows a thread to wait on one of multiple objects to be signaled. |
|
RtWaitForMultipleObjectsEx | Allows a thread to wait on one of multiple objects to be signaled with high granularity of time-out interval. |
Allows a thread to wait on an object to be signaled. |
|
RtWaitForSingleObjectEx | Allows a thread to wait on an object to be signaled with high granularity of time-out interval. |
Prints formatted output to the standard output stream or console window. |
|
Calls copy data from a buffer to an I/O port until the buffer has been emptied using a number of bytes that you specify for each write operation. |
|
Calls copy data from a buffer to an I/O port until the buffer has been emptied using a number of bytes that you specify for each write operation. |
|
Calls copy data from a buffer to an I/O port until the buffer has been emptied using a number of bytes that you specify for each write operation. |
|
Calls write data directly to an I/O port from a specified buffer. Each function writes a different number of bytes of data. |
|
Calls write data directly to an I/O port from a specified buffer. Each function writes a different number of bytes of data. |
|
Calls write data directly to an I/O port from a specified buffer. Each function writes a different number of bytes of data. |
|
Converts a given string value to an integer. |