Lines Matching defs:nvram
54 #include <machine/nvram.h>
61 static NVRAM_MAP *nvram;
142 aprint_error("nvram: couldn't map registers\n");
146 /* Initialize the nvram header */
152 * now that we have the header, we know how big the NVRAM part on
161 * now read the whole nvram in, one chunk at a time, marking down
180 nvram = (NVRAM_MAP *)&nvramData[0];
182 aprint_verbose("%s: Read %d bytes from nvram of size %d\n",
187 printf("Dumping nvram\n");
229 /* tell the NVRAM what we want */
250 /* tell the NVRAM what we want */
269 while ((cp - nvramGEAp) < nvram->Header.GELength && (*cp != '\0'))
272 while ((cp - nvramGEAp) < nvram->Header.GELength && (*cp == '\0'))
274 if ((cp - nvramGEAp) < nvram->Header.GELength)
462 size = nvram->Header.Size * 1024;