mlx_xps
uint32_t sectsz, struct mlx_xps *newxps);
struct mlx_xps *lpps;
struct mlx_xps *lsps;
lpps = (struct mlx_xps *)(uintptr_t)manuf->pps;
lsps = (struct mlx_xps *)(uintptr_t)manuf->sps;
struct mlx_xps *newxps)
struct mlx_xps *ipps, *lpps;
struct mlx_xps *isps, *lsps;
lpps = (struct mlx_xps *)(uintptr_t)manuf->pps;
lsps = (struct mlx_xps *)(uintptr_t)manuf->sps;
ipps = (struct mlx_xps *)&verifier->fwimage[sectsz/4];
isps = (struct mlx_xps *)&verifier->fwimage[sectsz/2];
if ((vps = calloc(1, sizeof (struct mlx_xps))) == NULL) {
bcopy(&firmware[sector_sz / 4], vps, sizeof (struct mlx_xps));
bzero(vps, sizeof (struct mlx_xps));
bcopy(&firmware[sector_sz / 2], vps, sizeof (struct mlx_xps));
struct mlx_xps *vps;