Searched refs:file (Results 1 - 25 of 28) sorted by relevance

12

/broadcom-cfe-1.4.2/cfe/main/
H A Dzipstart_readz.c4 * "Compressed" file system File: zipstart_readz.c
6 * This module calls ZLIB to read a compressed file so we
25 * as they appear in the source file.
59 * File context - describes an open file on the file system.
103 #define ASCII_FLAG 0x01 /* bit 0 set: file probably ascii text */
106 #define ORIG_NAME 0x08 /* bit 3 set: original file name present */
107 #define COMMENT 0x10 /* bit 4 set: file comment present */
146 static int get_byte(zlibfs_file_t *file,uint8_t *ch) argument
148 if (file
160 check_header(zlibfs_file_t *file) argument
209 zlibfs_file_t *file = &rz_file; local
248 zlibfs_file_t *file = &rz_file; local
333 zlibfs_file_t *file = &rz_file; local
[all...]
H A Dcfe_zlibfs.c4 * "Compressed" file system File: cfe_zlibfs.c
6 * This is more of a filesystem "hook" than an actual file system.
7 * You can stick it on the front of the chain of file systems
28 * as they appear in the source file.
64 * File system context - describes overall file system info,
75 * File context - describes an open file on the file system.
117 #define ASCII_FLAG 0x01 /* bit 0 set: file probably ascii text */
120 #define ORIG_NAME 0x08 /* bit 3 set: original file name present */
121 #define COMMENT 0x10 /* bit 4 set: file commen
176 get_byte(zlibfs_file_t *file,uint8_t *ch) argument
189 check_header(zlibfs_file_t *file) argument
239 zlibfs_file_t *file; local
309 zlibfs_file_t *file = (zlibfs_file_t *) ref; local
387 zlibfs_file_t *file = (zlibfs_file_t *) ref; local
418 zlibfs_file_t *file = (zlibfs_file_t *) ref; local
[all...]
H A Dcfe_rawfs.c4 * "Raw" file system File: cfe_rawfs.c
8 * file directly onto a disk or flash card and then run
27 * as they appear in the source file.
59 * File system context - describes overall file system info,
70 * File context - describes an open file on the file system.
78 int raw_baseoffset; /* starting offset of raw "file" */
79 int raw_length; /* length of file, -1 for whole device */
146 raw_file_t *file; local
154 file
194 raw_file_t *file = (raw_file_t *) ref; local
232 raw_file_t *file = (raw_file_t *) ref; local
262 raw_file_t *file = (raw_file_t *) ref; local
[all...]
H A Dcfe_httpfs.c4 * "HTTP" file system File: cfe_httpfs.c
25 * as they appear in the source file.
63 * File system context - describes overall file system info,
72 * File context - describes an open file on the file system.
134 http_file_t *file; local
151 file = KMALLOC(sizeof(http_file_t),0);
152 if (!file) {
156 file->http_filename = lib_strdup(filename);
157 if (!file
307 http_file_t *file = (http_file_t *) ref; local
327 http_file_t *file = (http_file_t *) ref; local
369 http_file_t *file = (http_file_t *) ref; local
[all...]
H A Dcfe_ldr_srec.c24 * as they appear in the source file.
85 * readchar(file)
87 * Read a character from a file. It's kind of like getchar
91 * file - pointer to a linebuf_t containing reader state
97 static int readchar(linebuf_t *file) argument
102 if (file->eof) return -1;
104 if (file->curidx == file->buflen) {
106 res = fs_read(file->fsctx,file
139 readline(linebuf_t *file,char *buffer,int maxlen) argument
[all...]
H A Dcfe_xmodem.c4 * "Xmodem" file system File: cfe_xmodem.c
6 * This "file system" only works with serial devices, and
25 * as they appear in the source file.
93 * File system context - describes overall file system info,
104 * File context - describes an open file on the file system.
478 * file operation early. Not many XMODEM senders will actually
612 xmodem_file_t *file; local
618 file = KMALLOC(sizeof(xmodem_file_t),0);
619 if (!file) {
689 xmodem_file_t *file = (xmodem_file_t *) ref; local
720 xmodem_file_t *file = (xmodem_file_t *) ref; local
[all...]
H A Dcfe_version.mk5 # Put just the version number in here. This file is sourced
H A Dcfe_fatfs.c4 * FAT file system File: cfe_fatfs.c
7 * file system (12 or 16 bit fats only for now)
10 * Layer (FTL) on PCMCIA flash file systems.
28 * as they appear in the source file.
197 * about an "open" file system
224 * about an open file (including the filesystem info)
798 * there are given the file length.
970 * Collect the base file name
1001 * Look backwards in the directory to locate the long file name
1002 * that corresponds to the short file nam
1650 fatfile_t *file = (fatfile_t *) ref; local
1702 fatfile_t *file = (fatfile_t *) ref; local
1741 fatfile_t *file = (fatfile_t *) ref; local
[all...]
H A Dzipstart_load.c24 * as they appear in the source file.
56 int zipstart_elfload(void *file,int flags,long *entrypt);
74 static int fs_init(fileio_ctx_t *fsctx,uint8_t *file) argument
76 fsctx->beginning = file;
77 fsctx->ptr = file;
107 * section of the file.
110 * fsctx - file I/O dispatch
175 * Get a section header from the ELF file
178 * ops - file I/O dispatch
207 * Read an ELF file (mai
359 zipstart_elfload(void *file,int flags,long *entrypt) argument
[all...]
H A Dcfe_autoboot.c26 * as they appear in the source file.
125 * filename - canonical name of file to load
228 * Construct the file name to load. If the method does not
229 * specify a file name directly, get it from DHCP.
231 * For network booting, the format of the file name
237 * but have the file come off the server specified in the
376 if (method->ab_file) printf("file %s ",method->ab_file);
408 * cfe_add_autoboot(type,flags,dev,loader,filesys,file)
418 * filesys - file system string (raw, tftp, fat)
419 * file
425 cfe_add_autoboot(int type,int flags,char *dev,char *loader,char *filesys,char *file) argument
[all...]
/broadcom-cfe-1.4.2/build/broadcom/tiny/
H A Druncfe4 # of a binary file to be in the 'flash2' device. You can
14 --with-boot-flash-file cfe.srec \
16 --no-file \
20 --with-swarm-ide-disk0-file disk0.dsk \
23 --with-swarm-rtc-eeprom-file x1240rom.bin \
24 --with-swarm-pcmcia-flash-file $1
28 --with-boot-flash-file cfe.srec \
30 --no-file \
34 --with-swarm-ide-disk0-file disk0.dsk \
37 --with-swarm-rtc-eeprom-file x1240ro
[all...]
H A Ddebugcfe4 # First use sb1250-run to generate a hardware file.
9 --with-boot-flash-file cfe.srec \
11 --no-file \
15 --with-swarm-ide-disk0-file disk0.dsk \
18 --with-swarm-rtc-eeprom-file x1240rom.bin \
/broadcom-cfe-1.4.2/cfe/lib/
H A Dlib_string2.c26 * as they appear in the source file.
78 void lib_chop_filename(char *str,char **host,char **file) argument
89 *file = p;
92 *file = NULL;
/broadcom-cfe-1.4.2/build/broadcom/sim/
H A Druncfe4 # of a binary file to be in the 'flash2' device. You can
11 OPTS="--with-swarm-pcmcia-flash-file $1"
17 --with-boot-flash-file cfe.srec \
19 --no-file \
23 --with-swarm-ide-disk0-file disk0.dsk \
27 --with-swarm-rtc-eeprom-file x1240rom.bin
H A Druncfe_withnet4 # of a binary file to be in the 'flash2' device. You can
14 --with-boot-flash-file cfe.srec \
16 --no-file \
20 --with-swarm-ide-disk0-file disk0.dsk \
23 --with-swarm-rtc-eeprom-file x1240rom.bin \
27 --with-swarm-pcmcia-flash-file $1
31 --with-boot-flash-file cfe.srec \
33 --no-file \
37 --with-swarm-ide-disk0-file disk0.dsk \
40 --with-swarm-rtc-eeprom-file x1240ro
[all...]
H A Ddebugcfe4 # First use sb1250-run to generate a hardware file.
8 OPTS="--with-swarm-pcmcia-flash-file $1"
15 --with-boot-flash-file cfe.srec \
17 --no-file \
21 --with-swarm-ide-disk0-file disk0.dsk \
24 --with-swarm-rtc-eeprom-file x1240rom.bin \
56 add-symbol-file cfe 0x9fc00000+\$s8
/broadcom-cfe-1.4.2/cfe/arch/x86/common/src/
H A Dlib_hssubr.S2 # nothing here -- this file should be removed from the
H A Dtools.mk51 LIBGCC = $(shell $(GCC) -print-libgcc-file-name)
/broadcom-cfe-1.4.2/cfe/zlib/
H A Dminigzip.c9 * full-featured gzip. No attempt is made to deal with file systems
12 * real thing. On MSDOS, use only on file names without extension
37 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
39 # define SET_BINARY_MODE(file)
49 # define fileno(file) file->__file
82 void file_compress OF((char *file, char *mode));
83 void file_uncompress OF((char *file));
130 /* Try compressing the input file a
275 gzFile file; local
[all...]
H A Dgzio.c5 * Compile this file with -DNO_DEFLATE to avoid the compression code.
33 #define ASCII_FLAG 0x01 /* bit 0 set: file probably ascii text */
36 #define ORIG_NAME 0x08 /* bit 3 set: original file name present */
37 #define COMMENT 0x10 /* bit 4 set: file comment present */
43 int z_eof; /* set if end of input file */
44 FILE *file; /* .gz file */ member in struct:gz_stream
50 int transparent; /* 1 if input file is not a .gz file */
52 long startpos; /* start of compressed data in file (heade
525 gzprintf(gzFile file, const char *format, ...) argument
[all...]
H A Dzlib.h50 enough (for example if an input file is mmap'ed), or can be done by
174 not compatible with the zlib.h header file used by the application.
616 This function can be used to compress a whole file at once if the
617 input file is mmap'ed.
648 This function can be used to decompress a whole file at once if the
649 input file is mmap'ed.
661 Opens a gzip (.gz) file for reading or writing. The mode parameter
667 gzopen can be used to read a file which is not in gzip format; in this
668 case gzread will directly read from the file without decompression.
670 gzopen returns NULL if the file coul
[all...]
H A Dexample.c88 const char *out; /* compressed output file */
89 const char *in; /* compressed input file */
95 gzFile file; local
98 file = gzopen(out, "wb");
99 if (file == NULL) {
103 gzputc(file, 'h');
104 if (gzputs(file, "ello") != 4) {
105 fprintf(stderr, "gzputs err: %s\n", gzerror(file, &err));
108 if (gzprintf(file, ", %s!", "hello") != 8) {
109 fprintf(stderr, "gzprintf err: %s\n", gzerror(file,
[all...]
/broadcom-cfe-1.4.2/cfe/include/
H A Dcfe_autoboot.h26 * as they appear in the source file.
69 int cfe_add_autoboot(int type,int flags,char *dev,char *loader,char *filesys,char *file);
/broadcom-cfe-1.4.2/cfe/ui/
H A Durl.c4 * Program and file loading URLs File: url.c
24 * as they appear in the source file.
86 char *file; local
102 file = colon + 1; /* Ugly, we might put the colon back! */
154 la->la_filename = file;
173 * Remember our file system and loader.
212 * Break the string apart into protocol, host, file
228 * Depending on the protocol we parse the file name one of two ways:
302 * Parse the file name into its pieces.
/broadcom-cfe-1.4.2/cfe/arch/mips/chipset/sibyte/src/
H A Dui_ccncmds.c183 tx_ram_read(uint_t node, uint_t port, uint_t file, uint_t addr)
188 (V_BCM1480_HSP_TXVIS_RAM(file) |
236 rx_ram_read(uint_t node, uint_t port, uint_t file, uint_t addr)
241 (V_BCM1480_HSP_RXVIS_RAM(file) |
290 tx_rf_read(uint_t node, uint_t port, uint_t file, uint_t addr)
295 (V_BCM1480_HSP_TXRFVIS_RAM(file) |
325 printf("node %d: TX port %d register file #%d\n", node, port, reg);
387 rx_rf_read(uint_t node, uint_t port, uint_t file, uint_t addr)
392 (V_BCM1480_HSP_RXRFVIS_RAM(file) |
422 printf("node %d: RX port %d register file #
[all...]

Completed in 93 milliseconds

12