Mercurial > hg > Members > innparusu > xv6-rpi
comparison src/file.c @ 27:1a64b5645cdd
fix
author | mir3636 |
---|---|
date | Thu, 17 Jan 2019 19:55:30 +0900 |
parents | 36bd61f5c847 |
children | 6a7ab1d7001c |
comparison
equal
deleted
inserted
replaced
26:a146855e16eb | 27:1a64b5645cdd |
---|---|
8 #include "fs.h" | 8 #include "fs.h" |
9 #include "file.h" | 9 #include "file.h" |
10 #include "spinlock.h" | 10 #include "spinlock.h" |
11 | 11 |
12 struct devsw devsw[NDEV]; | 12 struct devsw devsw[NDEV]; |
13 struct cbc_devsw cbc_devsw[NDEV]; | |
14 | |
13 struct { | 15 struct { |
14 struct spinlock lock; | 16 struct spinlock lock; |
15 struct file file[NFILE]; | 17 struct file file[NFILE]; |
16 } ftable; | 18 } ftable; |
17 | 19 |