Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/ppc/platforms/
Dpmac_nvram.c112 struct core99_header* hdr99 = (struct core99_header*)datas; in core99_check() local
114 if (hdr99->hdr.signature != CORE99_SIGNATURE) { in core99_check()
120 if (hdr99->hdr.cksum != chrp_checksum(&hdr99->hdr)) { in core99_check()
126 if (hdr99->adler != core99_calc_adler(datas)) { in core99_check()
132 return hdr99->generation; in core99_check()
289 struct core99_header* hdr99; in pmac_nvram_update() local
299 hdr99 = (struct core99_header*)nvram_image; in pmac_nvram_update()
300 hdr99->generation++; in pmac_nvram_update()
301 hdr99->hdr.signature = CORE99_SIGNATURE; in pmac_nvram_update()
302 hdr99->hdr.cksum = chrp_checksum(&hdr99->hdr); in pmac_nvram_update()
[all …]