sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
hdd.h
Go to the documentation of this file.
1/*
2# _____ ___ ____ ___ ____
3# ____| | ____| | | |____|
4# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5#-----------------------------------------------------------------------
6# Copyright 2001-2004, ps2dev - http://www.ps2dev.org
7# Licenced under Academic Free License version 2.0
8# Review ps2sdk README & LICENSE files for further details.
9#
10# HDD.IRX APA Header file
11*/
12
17#ifndef _HDD_H
18#define _HDD_H
19
20typedef struct
21{
22 iomanX_iop_file_t *f; // used to see if open...
23 u32 post; // offset/post....
24 u16 nsub;
25 u16 type;
26 char id[APA_IDMAX];
27 apa_sub_t parts[APA_MAXSUB+1]; // Partition data (0 = main partition, 1+ = sub-partition)
29
31// Function declarations
32extern int hddCheckPartitionMax(s32 device, u32 size);
33extern apa_cache_t *hddAddPartitionHere(s32 device, const apa_params_t *params, u32 *EmptyBlocks, u32 sector, int *err);
34
35#endif
#define APA_MAXSUB
Definition hdd-ioctl.h:49
struct _iomanX_iop_file iomanX_iop_file_t