int libmem_get_sector_info | ( | uint8_t * | start,
|  | const libmem_geometry_t * | geometry,
|  | const uint8_t * | p,
|  | libmem_sector_info_t * | info
| ) |
  | A helper function that returns the sector information for an address within a specified geometry. Parameters:
  | 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.
  | info | A pointer to the libmem_sector_info_t structure to write the sector information to.
Returns: The LIBMEM status result.