Implement user space's printf stuff
[thunix.git] / include / cache.h
blobc32d0d4e6ac69a757a0c7b18857d3ca3d149f689
1 #ifndef CACHE_H
2 #define CACHE_H
4 #include <stdint.h>
6 /* The cache structure */
7 struct cache_struct {
8 uint32_t block;
9 struct cache_struct *prev;
10 struct cache_struct *next;
11 void *data;
15 /* functions */
16 void cache_init(struct fs*);
17 struct cache_struct *get_cache_block(struct fs *, uint32_t);
18 void print_cache(void);
21 #endif /* cache.h */