add test_net.c

This commit is contained in:
lr
2024-05-17 18:07:26 +08:00
parent 59c1edce98
commit bcc5251dc0
6 changed files with 7 additions and 10 deletions
@@ -18,13 +18,13 @@
// Block size
#define BLOCK_SIZE 512
#define NR_BIT_BLOCKS 4
#define NR_BIT_BLOCKS 8
// bits size
#define BITS 8
// Bitmap size of one block
#define BITMAP_SIZE (BLOCK_SIZE * BITS * NR_BIT_BLOCKS)
#define BITMAP_SIZE (BLOCK_SIZE * BITS)
// Inode size of one block
#define INODE_SIZE (BLOCK_SIZE / sizeof(struct Inode))