projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow disks to come from build/ directory as well as current
[pintos-anon]
/
src
/
devices
/
disk.h
diff --git
a/src/devices/disk.h
b/src/devices/disk.h
index 539c4b0bafdd8c589125e30d05266c4ded065210..3bcbb9a10612d223434bae8b81bd75b72de3d4d4 100644
(file)
--- a/
src/devices/disk.h
+++ b/
src/devices/disk.h
@@
-16,6
+16,8
@@
typedef uint32_t disk_sector_t;
#define PRDSNu PRIu32
void disk_init (void);
+void disk_print_stats (void);
+
struct disk *disk_get (int chan_no, int dev_no);
disk_sector_t disk_size (struct disk *);
void disk_read (struct disk *, disk_sector_t, void *);