/xv6-public/ |
H A D | cuth | 6 my ($file, @lines) = @_; 9 open(F, ">$file") || die "open >$file: $!"; 16 $file = $ARGV[$i]; 17 if(!open(F, $file)){ 18 print STDERR "open $file: $!\n"; 24 $obj = "$file.o"; 26 system("touch $file"); 33 system("cp $file =$file"); 38 writefile($file, @lines); 42 print STDERR "$file $old"; [all …]
|
H A D | file.c | 16 struct file file[NFILE]; member 26 struct file* 29 struct file *f; in filealloc() 32 for(f = ftable.file; f < ftable.file + NFILE; f++){ in filealloc() 44 struct file* 45 filedup(struct file *f) in filedup() 57 fileclose(struct file *f) in fileclose() 59 struct file ff; in fileclose() 84 filestat(struct file *f, struct stat *st) in filestat() 97 fileread(struct file *f, char *addr, int n) in fileread() [all …]
|
H A D | defs.h | 3 struct file; 29 struct file* filealloc(void); 30 void fileclose(struct file*); 31 struct file* filedup(struct file*); 33 int fileread(struct file*, char*, int n); 34 int filestat(struct file*, struct stat*); 35 int filewrite(struct file*, char*, int n); 99 int pipealloc(struct file**, struct file**);
|
H A D | entry.S | 1 # The xv6 kernel starts executing in this file. This file is linked with 8 # Using GRUB 2, you can boot xv6 from a file stored in a 9 # Linux file system by copying kernel or kernelmemfs to /boot
|
H A D | sysfile.c | 22 argfd(int n, int *pfd, struct file **pf) in argfd() 25 struct file *f; in argfd() 41 fdalloc(struct file *f) in fdalloc() 58 struct file *f; in sys_dup() 72 struct file *f; in sys_read() 84 struct file *f; in sys_write() 97 struct file *f; in sys_close() 109 struct file *f; in sys_fstat() 290 struct file *f; in sys_open() 426 struct file *rf, *wf; in sys_pipe()
|
H A D | runoff.list | 37 # file system 43 file.h 49 file.c
|
H A D | .gdbinit.tmpl | 26 echo + symbol-file kernel\n 27 symbol-file kernel
|
H A D | dot-bochsrc | 77 romimage: file=$BXSHARE/BIOS-bochs-latest 150 #vgaromimage: file=bios/VGABIOS-elpin-2.40 151 vgaromimage: file=$BXSHARE/VGABIOS-lgpl-latest 240 # Point this at a hard disk image file, cdrom iso file, or physical cdrom 418 # Other serial modes are 'null' (no input/output), 'file' (output to a file 443 # parport1: enabled=1, file="parport.out" 444 # parport2: enabled=1, file="/dev/lp0" 447 parport1: enabled=1, file="/dev/stdout" 459 # 2=SMF file output, including headers 466 # 2=VOC file output, incl. headers [all …]
|
H A D | runoff1 | 16 $file = $ARGV[0]; 24 print STDERR "$file:$linenum: line too long\n";
|
H A D | usertests.c | 767 char file[3]; in concreate() local 776 file[0] = 'C'; in concreate() 777 file[2] = '\0'; in concreate() 779 file[1] = '0' + i; in concreate() 780 unlink(file); in concreate() 783 link("C0", file); in concreate() 828 file[1] = '0' + i; in concreate() 841 unlink(file); in concreate() 842 unlink(file); in concreate() 843 unlink(file); in concreate() [all …]
|
H A D | file.h | 1 struct file { struct
|
H A D | toc.hdr | 1 The numbers to the left of the file names in the table are sheet numbers.
|
H A D | sh.c | 29 char *file; member 85 if(open(rcmd->file, rcmd->mode) < 0){ in runcmd() 86 printf(2, "open %s failed\n", rcmd->file); in runcmd() 207 redircmd(struct cmd *subcmd, char *file, char *efile, int mode, int fd) in redircmd() argument 215 cmd->file = file; in redircmd()
|
H A D | pipe.c | 23 pipealloc(struct file **f0, struct file **f1) in pipealloc()
|
H A D | proc.h | 49 struct file *ofile[NOFILE]; // Open files
|
H A D | Makefile | 5 file.o\ 222 QEMUOPTS = -drive file=fs.img,index=1,media=disk,format=raw -drive file=xv6.img,index=0,media=disk,… 228 $(QEMU) -drive file=xv6memfs.img,index=0,media=disk,format=raw -smp $(CPUS) -m 256
|
H A D | Notes | 100 test: one process unlinks a file while another links to it 101 test: one process opens a file while another deletes it 112 really should have bdwrite() for file content
|
H A D | runoff | 232 if git cat-file blob font:$nicefont > ../$nicefont~; then
|
H A D | sleep1.p | 2 This file defines a Promela model for xv6's
|
H A D | README | 42 We don't process error reports (see note on top of this file).
|
H A D | gdbutil | 4 # To load this file, run "source gdbutil" in gdb.
|
H A D | TRICKS | 1 This file lists subtle things that might not be commented
|