cirocosta / fssim

Mozilla Public License 2.0
0 stars 1 forks source link

implements bmp_create w/ correct array allocation #1

Closed cirocosta closed 8 years ago

cirocosta commented 8 years ago

This PR implements BMP, which holds a list of uint8_ts that has all of the bits responsible for indicating whether or not a given block is free in disk.

BLOCKS
     U       U      U  U
[1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19]

BMP:
1 : [00100010]
1 : [01100000]
1 : [00000000]