sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
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
22{
23 struct block_device *bd;
24};
25
26#define MAX_PARTITIONS 10
27extern struct partition g_part[MAX_PARTITIONS];
28extern struct block_device g_part_bd[MAX_PARTITIONS];
29
30extern int GetNextFreePartitionIndex();
31
32extern int part_connect_mbr(struct block_device *bd);
33extern int part_connect_gpt(struct block_device *bd);
34
35#endif