Skip to content
Snippets Groups Projects
Commit 3b5fa1b2 authored by Thierno souleymane Bah's avatar Thierno souleymane Bah
Browse files

feat(mbr structure implemented)

parent 114cf4e3
No related branches found
No related tags found
No related merge requests found
#if !defined(VOL_H)
#define VOL_H
#define NB_VOLS_MAX 8
static mbr_t mbr;
typedef enum
{
BASE,
ANNEXE,
OTHER
} vtypes_t; // Volume type
typedef struct vol_s
{
unsigned int sector;
unsigned int cylinder;
unsigned int nb_sectors;
vtypes_t type;
} vol_t;
typedef struct mbr_s
{
unsigned int nb_vols; // nombre de volumes actuels
vol_t vols[NB_VOLS_MAX];
} mbr_t;
void load_mbr(void);
#endif // VOL_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment