sdk-core
v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Toggle main menu visibility
Loading...
Searching...
No Matches
part_driver.h
Go to the documentation of this file.
1
/*
2
# _____ ___ ____ ___ ____
3
# ____| | ____| | | |____|
4
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5
#-----------------------------------------------------------------------
6
# Licenced under Academic Free License version 2.0
7
# Review ps2sdk README & LICENSE files for further details.
8
*/
9
15
16
#ifndef _PART_DRIVER_H
17
#define _PART_DRIVER_H
18
19
#include <
bdm.h
>
20
21
struct
partition
22
{
23
struct
block_device
*bd;
24
};
25
26
#define MAX_PARTITIONS 10
27
extern
struct
partition
g_part[MAX_PARTITIONS];
28
extern
struct
block_device
g_part_bd[MAX_PARTITIONS];
29
30
extern
int
GetNextFreePartitionIndex();
31
32
extern
int
part_connect_mbr(
struct
block_device
*bd);
33
extern
int
part_connect_gpt(
struct
block_device
*bd);
34
35
#endif
bdm.h
block_device
Definition
bdm.h:23
partition
Definition
part_driver.h:22
core
bdm
src
include
part_driver.h
Generated by
1.18.0