sdk-core
v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Toggle main menu visibility
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
20
typedef
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)
28
}
hdd_file_slot_t
;
29
31
// Function declarations
32
extern
int
hddCheckPartitionMax(s32 device, u32 size);
33
extern
apa_cache_t *hddAddPartitionHere(s32 device,
const
apa_params_t
*params, u32 *EmptyBlocks, u32 sector,
int
*err);
34
35
#endif
APA_MAXSUB
#define APA_MAXSUB
Definition
hdd-ioctl.h:49
iomanX_iop_file_t
struct _iomanX_iop_file iomanX_iop_file_t
apa_params_t
Definition
libapa.h:140
apa_sub_t
Definition
libapa.h:61
hdd_file_slot_t
Definition
hdd.h:21
core
apa
src
hdd.h
Generated by
1.18.0