Max OS 0.3
Loading...
Searching...
No Matches
MaxOS::filesystem::format::BiosParameterBlock32 Struct Reference

Stores information about the FAT32 filesystem. More...

#include <fat32.h>

Public Attributes

uint8_t jump [3]
 Jump instruction to boot code.
 
uint8_t OEM_name [8]
 OEM Name in ASCII.
 
uint16_t bytes_per_sector
 Bytes per sector.
 
uint8_t sectors_per_cluster
 Sectors per cluster.
 
uint16_t reserved_sectors
 Number of reserved sectors.
 
uint8_t table_copies
 Number of FAT tables.
 
uint16_t root_entries
 Number of root directory entries.
 
uint16_t total_sectors_16
 Total number of sectors (if zero, use total_sectors_32)
 
uint8_t media_type
 Media descriptor.
 
uint16_t fat_sector_count
 Sectors per FAT (FAT12/FAT16 only)
 
uint16_t sectors_per_track
 Sectors per track.
 
uint16_t head_count
 Number of heads/sides.
 
uint32_t hidden_sectors
 Number of hidden sectors (LBA of start of partition)
 
uint32_t total_sectors_32
 Total number of sectors (if total_sectors_16 is zero)
 
uint32_t table_size_32
 Sectors per FAT (FAT32 only)
 
uint16_t extended_flags
 Extended flags.
 
uint16_t fat_version
 FAT version number (high byte major, low byte minor)
 
uint32_t root_cluster
 Cluster number of root directory start.
 
uint16_t fat_info
 Sector number of FSInfo structure.
 
uint16_t backup_sector
 Sector number of backup boot sector.
 
uint8_t reserved0 [12]
 Should be zero.
 
uint8_t drive_number
 Drive number (must be identical to BIOS drive number) (0x00 = floppy, 0x80 = first hard disk)
 
uint8_t reserved_1
 Reserved (used by Windows NT)
 
uint8_t boot_signature
 Extended boot signature (0x28 or 0x29)
 
uint32_t volume_id
 Volume serial number.
 
uint8_t volume_label [11]
 Volume label in ASCII (spaces padded)
 
uint8_t file_system_type [8]
 System type in ASCII (not null-terminated)
 

Detailed Description

Stores information about the FAT32 filesystem.

Definition at line 31 of file fat32.h.

Member Data Documentation

◆ backup_sector

uint16_t MaxOS::filesystem::format::BiosParameterBlock32::backup_sector

Sector number of backup boot sector.

Definition at line 53 of file fat32.h.

◆ boot_signature

uint8_t MaxOS::filesystem::format::BiosParameterBlock32::boot_signature

Extended boot signature (0x28 or 0x29)

Definition at line 57 of file fat32.h.

◆ bytes_per_sector

uint16_t MaxOS::filesystem::format::BiosParameterBlock32::bytes_per_sector

Bytes per sector.

Definition at line 35 of file fat32.h.

◆ drive_number

uint8_t MaxOS::filesystem::format::BiosParameterBlock32::drive_number

Drive number (must be identical to BIOS drive number) (0x00 = floppy, 0x80 = first hard disk)

Definition at line 55 of file fat32.h.

◆ extended_flags

uint16_t MaxOS::filesystem::format::BiosParameterBlock32::extended_flags

Extended flags.

Definition at line 49 of file fat32.h.

◆ fat_info

uint16_t MaxOS::filesystem::format::BiosParameterBlock32::fat_info

Sector number of FSInfo structure.

Definition at line 52 of file fat32.h.

◆ fat_sector_count

uint16_t MaxOS::filesystem::format::BiosParameterBlock32::fat_sector_count

Sectors per FAT (FAT12/FAT16 only)

Definition at line 42 of file fat32.h.

◆ fat_version

uint16_t MaxOS::filesystem::format::BiosParameterBlock32::fat_version

FAT version number (high byte major, low byte minor)

Definition at line 50 of file fat32.h.

◆ file_system_type

uint8_t MaxOS::filesystem::format::BiosParameterBlock32::file_system_type[8]

System type in ASCII (not null-terminated)

Definition at line 60 of file fat32.h.

◆ head_count

uint16_t MaxOS::filesystem::format::BiosParameterBlock32::head_count

Number of heads/sides.

Definition at line 44 of file fat32.h.

◆ hidden_sectors

uint32_t MaxOS::filesystem::format::BiosParameterBlock32::hidden_sectors

Number of hidden sectors (LBA of start of partition)

Definition at line 45 of file fat32.h.

◆ jump

uint8_t MaxOS::filesystem::format::BiosParameterBlock32::jump[3]

Jump instruction to boot code.

Definition at line 33 of file fat32.h.

◆ media_type

uint8_t MaxOS::filesystem::format::BiosParameterBlock32::media_type

Media descriptor.

Definition at line 41 of file fat32.h.

◆ OEM_name

uint8_t MaxOS::filesystem::format::BiosParameterBlock32::OEM_name[8]

OEM Name in ASCII.

Definition at line 34 of file fat32.h.

◆ reserved0

uint8_t MaxOS::filesystem::format::BiosParameterBlock32::reserved0[12]

Should be zero.

Definition at line 54 of file fat32.h.

◆ reserved_1

uint8_t MaxOS::filesystem::format::BiosParameterBlock32::reserved_1

Reserved (used by Windows NT)

Definition at line 56 of file fat32.h.

◆ reserved_sectors

uint16_t MaxOS::filesystem::format::BiosParameterBlock32::reserved_sectors

Number of reserved sectors.

Definition at line 37 of file fat32.h.

◆ root_cluster

uint32_t MaxOS::filesystem::format::BiosParameterBlock32::root_cluster

Cluster number of root directory start.

Definition at line 51 of file fat32.h.

◆ root_entries

uint16_t MaxOS::filesystem::format::BiosParameterBlock32::root_entries

Number of root directory entries.

Definition at line 39 of file fat32.h.

◆ sectors_per_cluster

uint8_t MaxOS::filesystem::format::BiosParameterBlock32::sectors_per_cluster

Sectors per cluster.

Definition at line 36 of file fat32.h.

◆ sectors_per_track

uint16_t MaxOS::filesystem::format::BiosParameterBlock32::sectors_per_track

Sectors per track.

Definition at line 43 of file fat32.h.

◆ table_copies

uint8_t MaxOS::filesystem::format::BiosParameterBlock32::table_copies

Number of FAT tables.

Definition at line 38 of file fat32.h.

◆ table_size_32

uint32_t MaxOS::filesystem::format::BiosParameterBlock32::table_size_32

Sectors per FAT (FAT32 only)

Definition at line 48 of file fat32.h.

◆ total_sectors_16

uint16_t MaxOS::filesystem::format::BiosParameterBlock32::total_sectors_16

Total number of sectors (if zero, use total_sectors_32)

Definition at line 40 of file fat32.h.

◆ total_sectors_32

uint32_t MaxOS::filesystem::format::BiosParameterBlock32::total_sectors_32

Total number of sectors (if total_sectors_16 is zero)

Definition at line 46 of file fat32.h.

◆ volume_id

uint32_t MaxOS::filesystem::format::BiosParameterBlock32::volume_id

Volume serial number.

Definition at line 58 of file fat32.h.

◆ volume_label

uint8_t MaxOS::filesystem::format::BiosParameterBlock32::volume_label[11]

Volume label in ASCII (spaces padded)

Definition at line 59 of file fat32.h.


The documentation for this struct was generated from the following file: