PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
part_driver.h File Reference
#include <bdm.h>
+ Include dependency graph for part_driver.h:

Go to the source code of this file.

Data Structures

struct  partition
 

Macros

#define MAX_PARTITIONS   10
 

Functions

int GetNextFreePartitionIndex ()
 
int part_connect_mbr (struct block_device *bd)
 
int part_connect_gpt (struct block_device *bd)
 

Variables

struct partition g_part [MAX_PARTITIONS]
 
struct block_device g_part_bd [MAX_PARTITIONS]
 

Detailed Description

Common partition driver definitions.

Definition in file part_driver.h.


Data Structure Documentation

◆ partition

struct partition

Definition at line 20 of file part_driver.h.

+ Collaboration diagram for partition:
Data Fields
struct block_device * bd

Macro Definition Documentation

◆ MAX_PARTITIONS

#define MAX_PARTITIONS   10

Definition at line 25 of file part_driver.h.

Function Documentation

◆ GetNextFreePartitionIndex()

int GetNextFreePartitionIndex ( )

Definition at line 19 of file part_driver.c.

◆ part_connect_mbr()

int part_connect_mbr ( struct block_device bd)

Definition at line 12 of file part_driver_mbr.c.

◆ part_connect_gpt()

int part_connect_gpt ( struct block_device bd)

Definition at line 19 of file part_driver_gpt.c.

Variable Documentation

◆ g_part

struct partition g_part[MAX_PARTITIONS]
extern

Definition at line 13 of file part_driver.c.

◆ g_part_bd

struct block_device g_part_bd[MAX_PARTITIONS]
extern

Definition at line 14 of file part_driver.c.