21.01.2015 Views

INtime® 3.1 Software - tenAsys

INtime® 3.1 Software - tenAsys

INtime® 3.1 Software - tenAsys

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix A: INtime software system calls<br />

High-level calls<br />

System call<br />

AllocateRtMemory<br />

FreeRtMemory<br />

CreateRtMemoryHandle<br />

DeleteRtMemoryHandle<br />

MapRtSharedMemory<br />

MapRtPhysicalMemory<br />

GetRtPhysicalAddress<br />

GetRtSize<br />

CreateRtHeap<br />

DeleteRtHeap<br />

RequestRtBuffer<br />

ReleaseRtBuffer<br />

GetRtHeapInfo<br />

GetRtBufferSize<br />

CopyRtData<br />

Description<br />

Allocates memory from the current process’s memory pool to<br />

the current thread’s virtual segment.<br />

Frees physical memory associated with the calling thread’s<br />

virtual segment.<br />

Creates a handle for an area of memory in the process’s virtual<br />

segment.<br />

Deletes a memory handle created with<br />

CreateRtMemoryHandle.<br />

Maps a memory area, previously created by another process<br />

using CreateRtMemoryHandle, into the current thread’s<br />

memory space.<br />

Maps a physical memory area, defined by its absolute address<br />

and contiguous length before any translation imposed by the<br />

paging system, into the current process’ virtual segment.<br />

Returns the physical address for a valid buffer described by the<br />

call parameters.<br />

Returns the number of bytes in a previously allocated segment.<br />

Creates a heap object by allocating a segment of cbHeapSize<br />

bytes (plus overhead) and creating the heap structure in this<br />

segment.<br />

Deletes a heap object, given its handle. Any flat-model<br />

mappings are deleted.<br />

Allocates a memory buffer from a heap object and returns a<br />

pointer to the caller.<br />

Returns a previously-allocated buffer to its heap.<br />

Returns a structure containing information about a heap object.<br />

Returns the allocated size of a buffer previously allocated from<br />

a heap.<br />

Copies data directly between RT memory objects.<br />

119

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

Saved successfully!

Ooh no, something went wrong!