Subversion Repositories HelenOS

Rev

Rev 3506 | Rev 3521 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3506 Rev 3516
Line 48... Line 48...
48
#define min(a, b)       ((a) < (b) ? (a) : (b))
48
#define min(a, b)       ((a) < (b) ? (a) : (b))
49
 
49
 
50
#define BS_BLOCK        0
50
#define BS_BLOCK        0
51
#define BS_SIZE         512
51
#define BS_SIZE         512
52
 
52
 
53
typedef struct {
53
typedef struct fat_bs {
54
    uint8_t     ji[3];      /**< Jump instruction. */
54
    uint8_t     ji[3];      /**< Jump instruction. */
55
    uint8_t     oem_name[8];
55
    uint8_t     oem_name[8];
56
    /* BIOS Parameter Block */
56
    /* BIOS Parameter Block */
57
    uint16_t    bps;        /**< Bytes per sector. */
57
    uint16_t    bps;        /**< Bytes per sector. */
58
    uint8_t     spc;        /**< Sectors per cluster. */
58
    uint8_t     spc;        /**< Sectors per cluster. */