21.01.2015 Views

INtime® 3.1 Software - tenAsys

INtime® 3.1 Software - tenAsys

INtime® 3.1 Software - tenAsys

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

INtime <strong>3.1</strong> <strong>Software</strong><br />

Low-level calls<br />

System call<br />

knCreateRtMailbox<br />

knDeleteRtMailbox<br />

knSendRtData<br />

knSendRtPriorityData<br />

knWaitForRtData<br />

Description<br />

Creates a kernel mailbox with the given specifications.<br />

Deletes the kernel mailbox associated with the given kernel<br />

handle.<br />

Sends a data message to the given kernel mailbox.<br />

Sends high-priority data to a kernel mailbox, bypassing the<br />

queue.<br />

Requests a message from a specific kernel mailbox.<br />

Memory management<br />

The Windows and RT portions of INtime applications can share regions of memory<br />

created by the RT portion of INtime applications.<br />

These system calls implement the flat-model memory management interface for RT<br />

applications. There are additional calls for the management of page-aligned segments<br />

for sharing between applications (both RT and Windows applications). Also included<br />

are the calls that an application requires to allocate memory from its own virtual<br />

segment.<br />

Physical memory may be allocated and mapped into an application’s virtual segment<br />

and then an RTHANDLE created for this allocated memory so that it may be shared<br />

between applications (both RT and Windows applications)<br />

NTX calls<br />

System call<br />

ntxMapRtSharedMemory<br />

ntxMapRtSharedMemoryEx<br />

ntxGetRtSize<br />

ntxUnmapRtSharedMemory<br />

ntxCopyRtData<br />

Description<br />

Obtains a Windows pointer to the section of RT memory defined<br />

by the call’s SharedRTMemoryHandle parameter.<br />

Determines the size of the call’s RT object parameter<br />

Removes the mapping of a RT memory section and returns<br />

Windows system resources mapped to that memory.<br />

Copies data directly to/from Windows application space<br />

from/to an RT memory object.<br />

118

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!