Sanitized research log, build/reproducibility docs, DTS, kernel configs, patches, initramfs sources, bootchain migration plans and test logs. B5 direct boot PASS; B6 modem lifecycle in progress. No dumps, NV/EFS, vendor firmware or device identifiers included.
11 lines
420 B
C
11 lines
420 B
C
#pragma once
|
|
#define MAX_GPT_NAME_SIZE 72
|
|
struct partition_entry {
|
|
unsigned long long first_lba, last_lba, size;
|
|
unsigned char name[MAX_GPT_NAME_SIZE];
|
|
};
|
|
struct partition_entry *partition_get_partition_entries(void);
|
|
unsigned partition_get_partition_count(void);
|
|
uint32_t mmc_get_device_blocksize(void);
|
|
uint64_t mmc_get_device_capacity(void);
|
|
uint32_t mmc_read(uint64_t data_addr, uint32_t *out, uint32_t data_len);
|