KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
ioctl.h File Reference

Header for terminal control operations. More...

#include <sys/cdefs.h>
#include <kos/fs.h>

Go to the source code of this file.

Macros

#define IOCTL_FS_ROOTBUS_DMA_READY   0x8001
 This operation can determine that file system can read data directly into SPU and PVR RAM's thought the Root Bus and are all the conditions for this met like file position on sector boundary at first reading and DMA aligning for others, if the data stream was not interrupted by another request or seeking.
 
#define ioctl   fs_ioctl
 

Detailed Description

Header for terminal control operations.

This file contains definitions for terminal control operations, as specified by the POSIX standard. It includes necessary constants and macros for performing various control operations on terminals using the ioctl system call.

Author
Andress Barajas

Macro Definition Documentation

◆ ioctl

#define ioctl   fs_ioctl

◆ IOCTL_FS_ROOTBUS_DMA_READY

#define IOCTL_FS_ROOTBUS_DMA_READY   0x8001

This operation can determine that file system can read data directly into SPU and PVR RAM's thought the Root Bus and are all the conditions for this met like file position on sector boundary at first reading and DMA aligning for others, if the data stream was not interrupted by another request or seeking.

You can also get current alignment requirement in the argument (use uint32_t).