Lines Matching defs:attr
26 static int manifest_parse_attribute(spmc_manifest_attribute_t *attr,
33 assert((attr != NULL) && (fdt != NULL));
35 rc = fdt_read_uint32(fdt, node, "maj_ver", &attr->major_version);
42 rc = fdt_read_uint32(fdt, node, "min_ver", &attr->minor_version);
55 attr->spmc_id = val32 & 0xffff;
57 rc = fdt_read_uint32(fdt, node, "exec_state", &attr->exec_state);
63 rc = fdt_read_uint32(fdt, node, "binary_size", &attr->binary_size);
69 rc = fdt_read_uint64(fdt, node, "load_address", &attr->load_address);
75 rc = fdt_read_uint64(fdt, node, "entrypoint", &attr->entrypoint);
82 VERBOSE(" version: %u.%u\n", attr->major_version, attr->minor_version);
83 VERBOSE(" spmc_id: 0x%x\n", attr->spmc_id);
84 VERBOSE(" binary_size: 0x%x\n", attr->binary_size);
85 VERBOSE(" load_address: 0x%" PRIx64 "\n", attr->load_address);
86 VERBOSE(" entrypoint: 0x%" PRIx64 "\n", attr->entrypoint);