PS2SDK
PS2 Homebrew Libraries
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
#ifndef _PART_DRIVER_H
16
#define _PART_DRIVER_H
17
18
#include <
bdm.h
>
19
20
struct
partition
21
{
22
struct
block_device
*bd;
23
};
24
25
#define MAX_PARTITIONS 10
26
extern
struct
partition
g_part[MAX_PARTITIONS];
27
extern
struct
block_device
g_part_bd[MAX_PARTITIONS];
28
29
int
GetNextFreePartitionIndex();
30
31
int
part_connect_mbr(
struct
block_device
*bd);
32
int
part_connect_gpt(
struct
block_device
*bd);
33
34
#endif
partition
Definition
part_driver.h:21
bdm.h
block_device
Definition
bdm.h:22
iop
fs
bdm
src
include
part_driver.h
Generated on Thu Nov 14 2024 05:25:27 for PS2SDK by
1.9.8