diskdefs.h File Reference
#include <cstdint>
#include <cstddef>
#include <sys/pgmspace.h>
#include <Data/Uuid.h>
#include "linux/msdos_fs.h"
#include "linux/exfat_raw.h"
#include "linux/efi.h"
Include dependency graph for diskdefs.h:
Go to the source code of this file.
Namespaces | |
Storage | |
Storage::Disk | |
Storage::Disk::FAT | |
Storage::Disk::EXFAT | |
Macros | |
#define | DISK_MIN_SECTOR_SIZE 512 |
#define | FSTYPE_FAT 0x2020202020544146ULL |
#define | FSTYPE_FAT32 0x2020203233544146ULL |
#define | FSTYPE_EXFAT 0x2020205441465845ULL |
#define | N_SEC_TRACK 63 |
#define | GPT_ITEMS 128 |
#define | OSTYPE_EXTENDED 0x05 |
Functions | |
template<typename T > | |
T | Storage::Disk::align_up (T value, uint32_t align) |
template<typename T > | |
auto | Storage::Disk::getBlockCount (T byteCount, uint32_t blockSize) |
uint32_t | Storage::Disk::crc32_byte (uint32_t crc, uint8_t d) |
uint32_t | Storage::Disk::crc32 (uint32_t bcc, const void *data, size_t length) |
uint32_t | Storage::Disk::crc32 (const void *data, size_t length) |
Macro Definition Documentation
◆ DISK_MIN_SECTOR_SIZE
#define DISK_MIN_SECTOR_SIZE 512 |
◆ FSTYPE_EXFAT
#define FSTYPE_EXFAT 0x2020205441465845ULL |
◆ FSTYPE_FAT
#define FSTYPE_FAT 0x2020202020544146ULL |
◆ FSTYPE_FAT32
#define FSTYPE_FAT32 0x2020203233544146ULL |
◆ GPT_ITEMS
#define GPT_ITEMS 128 |
◆ N_SEC_TRACK
#define N_SEC_TRACK 63 |
◆ OSTYPE_EXTENDED
#define OSTYPE_EXTENDED 0x05 |