Home
last modified time | relevance | path

Searched refs:part_header (Results 1 – 2 of 2) sorted by relevance

/qemu/hw/nvram/
H A Dchrp_nvram.c50 ChrpNvramPartHdr *part_header; in chrp_nvram_create_system_partition() local
54 if (max_len < sizeof(*part_header)) { in chrp_nvram_create_system_partition()
58 part_header = (ChrpNvramPartHdr *)data; in chrp_nvram_create_system_partition()
59 part_header->signature = CHRP_NVPART_SYSTEM; in chrp_nvram_create_system_partition()
60 pstrcpy(part_header->name, sizeof(part_header->name), "system"); in chrp_nvram_create_system_partition()
79 chrp_nvram_finish_partition(part_header, end); in chrp_nvram_create_system_partition()
93 ChrpNvramPartHdr *part_header; in chrp_nvram_create_free_partition() local
95 part_header = (ChrpNvramPartHdr *)data; in chrp_nvram_create_free_partition()
96 part_header->signature = CHRP_NVPART_FREE; in chrp_nvram_create_free_partition()
97 pstrcpy(part_header->name, sizeof(part_header->name), "free"); in chrp_nvram_create_free_partition()
[all …]
H A Dmac_nvram.c189 ChrpNvramPartHdr *part_header; in pmac_format_nvram_partition_osx() local
193 part_header = (ChrpNvramPartHdr *)data; in pmac_format_nvram_partition_osx()
194 part_header->signature = OSX_NVRAM_SIGNATURE; in pmac_format_nvram_partition_osx()
195 pstrcpy(part_header->name, sizeof(part_header->name), "wwwwwwwwwwww"); in pmac_format_nvram_partition_osx()
197 chrp_nvram_finish_partition(part_header, len); in pmac_format_nvram_partition_osx()