Ioctls - Texas Instruments OMAP35 Series User Manual

Evm linux psp
Hide thumbs Also See for OMAP35 Series:
Table of Contents

Advertisement

7.4.1.3. mmap
Description
Map the kernel space buffer to user space.
Prototype
Table 7.4. Resizer: mmap system call arguments
Return Values
Zero on success.
EAGAIN, if the address is not found.
7.4.1.4. munmap
Description
Unmap the frame buffers that were previously mapped to user space using
mmap() system call.
Prototype
Table 7.5. Resizer: munmap system call arguments
Return Values
Zero on success, or Negative if an error has occurred.

7.4.2. IOCTLs

128
void * mmap(void *, size_t image_size, int prot, int
flags, int fd, off_t offset)
Field
Description
Generally NULL
void *
Buffer size that needs to be mapped
image_size
flag
PROT_SHARED
File descriptor
fd
Physical address of the buffer
offset
void *munmap(void *start_addr, size_t length)
Field
Description
Start address of buffer which is to be unmapped.
start_addr
Length of buffer.
length
Platform Support Products
Resizer Driver
IOCTLs
Version 02.01.01.08

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omap3515Omap3525Omap3530

Table of Contents