Searched refs:header (Results 1 - 7 of 7) sorted by relevance

/broadcom-cfe-1.4.2/cfe/hosttools/
H A Dmkflashimage.c8 * This program sticks a header on the front of a binary
10 * in CFE. The header contains the CFE version # and board
133 cfe_flashimage_t header; local
240 fprintf(stderr,"File '%s' already has an image header.\n",argv[2]);
300 fprintf(stderr,"File '%s' already has an image header.\n",argv[1]);
309 * Construct the flash header
315 memset(&header,0,sizeof(header));
316 memcpy(header.seal,CFE_IMAGE_SEAL,sizeof(header
[all...]
H A Dswapflashimage.c6 * This program updates the header and swaps the data bytes
119 printf("Invalid header seal. This is not a CFE flash image.\n");
153 cfe_flashimage_t header; local
198 * Read and validate the header first.
209 if (read(fh,&header,sizeof(header)) != sizeof(header)) {
210 perror("header");
218 flashsize -= sizeof(header);
238 if (flash_validate(&header, flashcod
[all...]
H A Dmakereg.c405 static void saveincfile(char *fname, char *header) argument
418 if (header != NULL) {
419 fprintf(str, "#include \"%s\"\n", header);
477 fprintf(stderr,"usage: makereg inputfile outputfile [header]\n");
/broadcom-cfe-1.4.2/cfe/zlib/
H A Dtrees.c160 int header));
333 FILE *header = fopen("trees.h", "w"); local
336 Assert (header != NULL, "Can't open trees.h");
337 fprintf(header,
338 "/* header created automatically with -DGEN_TREES_H */\n\n");
340 fprintf(header, "local const ct_data static_ltree[L_CODES+2] = {\n");
342 fprintf(header, "{{%3u},{%3u}}%s", static_ltree[i].Code,
346 fprintf(header, "local const ct_data static_dtree[D_CODES] = {\n");
348 fprintf(header, "{{%2u},{%2u}}%s", static_dtree[i].Code,
352 fprintf(header, "cons
[all...]
H A Ddeflate.c240 if (windowBits < 0) { /* undocumented feature: suppress zlib header */
460 /* Write the zlib header */
463 uInt header = (Z_DEFLATED + ((s->w_bits-8)<<4)) << 8; local
467 header |= (level_flags << 6);
468 if (s->strstart != 0) header |= PRESET_DICT;
469 header += 31 - (header % 31);
472 putShortMSB(s, header);
1086 * to pending_buf_size, and each stored block has a 5 byte header:
/broadcom-cfe-1.4.2/cfe/main/
H A Dbcmnvram.c154 /* CRC covers last 11 bytes of header plus tuples, all LE order.
259 /* The header is read/written as words (match bits) */
307 nvram_header_t *header; local
313 header = nvram_find(nvram_base, nvram_size);
315 if (header != NULL) {
316 nv_header = *header; /* Save fixed fields */
317 nvram_internalize(header);
/broadcom-cfe-1.4.2/cfe/verif/
H A Dvapi.S619 add k0,24 # size of header

Completed in 98 milliseconds