size_t libmem_get_sector_size(uint8_t *start, const libmem_geometry_t *geometry, const uint8_t *p);
libmem_get_sector_size is a helper function that returns the sector size for an address within a specified geometry.
start — A pointer to the start address of the geometry desribed by geometry.
geometry — A pointer to the NULL terminated geometry description.
p — A pointer to the address to determine the sector information of.
libmem_get_sector_size returns — The size of the sector or 0 if the sector cannot be found.