nuttx/fs/partition
Jukka Laitinen dd2ffbc768 Fixes for GPT partition parsing
1. Don't handle invalid or empty pte entries

num_partition_entries field in GPT typically means number of maximum entries
and not the number of used entries. Empty entries are indentified with
"0" partition type guid. Loop through all the entries

2. Fix the GPT partition size calculation

"ending_lba" is included in the partition, it is not the start of the next one.
Thus the correct size of the partition is end-start+1

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2022-09-27 09:42:39 +08:00
..
fs_gpt.c Fixes for GPT partition parsing 2022-09-27 09:42:39 +08:00
fs_mbr.c
fs_partition.c
fs_ptable.c
Kconfig
Make.defs
partition.h