PSPSDK 2024-10-31
Loading...
Searching...
No Matches
pspiofilemgr_devctl.h
Go to the documentation of this file.
1/*
2 * PSP Software Development Kit - https://github.com/pspdev
3 * -----------------------------------------------------------------------
4 * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
5 *
6 * pspiofilemgr_devctl.h - File attributes and directory entries.
7 *
8 */
9
10#ifndef PSPIOFILEMGR_DEVCTL_H
11#define PSPIOFILEMGR_DEVCTL_H
12
13#include <psptypes.h>
14
15/* This sceIoDevctl command gets the device capacity. */
16#define SCE_PR_GETDEV 0x02425818
17
18/* This structure stores the device capacity using SCE_PR_GETDEV in sceIoDevctl */
19typedef struct SceDevInf {
20 /* max logical cluster x unit */
22 /* number of empty clusters */
24 /* cluster of empty logical block */
26 /* bytes x logical sector */
28 /* sector x cluster */
31
35
36#endif /* PSPIOFILEMGR_DEVCTL_H */
float x
Definition psptypes.h:0
Definition pspiofilemgr_devctl.h:19
uint32_t maxSectors
Definition pspiofilemgr_devctl.h:25
uint32_t freeClusters
Definition pspiofilemgr_devctl.h:23
int32_t sectorCount
Definition pspiofilemgr_devctl.h:29
uint32_t maxClusters
Definition pspiofilemgr_devctl.h:21
int32_t sectorSize
Definition pspiofilemgr_devctl.h:27
Definition pspiofilemgr_devctl.h:32
SceDevInf * dev_inf
Definition pspiofilemgr_devctl.h:33