CeDOS - src/boot/fat.h

src/boot/fat.h (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef FAT_H
#define FAT_H

#include <stdint.h>

typedef struct {
    char jmp[3];
    char oemname[8];

    uint16_t bytes_per_sect;
    uint8_t sect_per_cluster;
    uint16_t num_reserved_sectors;
    uint8_t num_FAT;
    uint16_t max_root_dir_entries;
} BOOT_SECT;

#endif