Changeset 01ab41b in mainline for uspace/lib/ext4/libext4_superblock.h
- Timestamp:
- 2011-10-03T11:57:14Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9c0c0e1
- Parents:
- 54935cf6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/libext4_superblock.h
r54935cf6 r01ab41b 34 34 #define LIBEXT4_LIBEXT4_SUPERBLOCK_H_ 35 35 36 #include <libblock.h> 36 37 #include <sys/types.h> 37 38 … … 140 141 } __attribute__((packed)) ext4_superblock_t; 141 142 143 // TODO constants 144 #define EXT4_SUPERBLOCK_MAGIC 0xEF53 145 #define EXT4_SUPERBLOCK_SIZE 1024 146 #define EXT4_SUPERBLOCK_OFFSET 1024 147 148 extern uint32_t ext4_superblock_get_block_size_log2(ext4_superblock_t *); 149 extern uint32_t ext4_superblock_get_block_size(ext4_superblock_t *); 150 151 extern int ext4_superblock_read_direct(service_id_t, ext4_superblock_t **); 152 extern int ext4_superblock_check_sanity(ext4_superblock_t *); 142 153 143 154 #endif
Note:
See TracChangeset
for help on using the changeset viewer.