Commit Graph

32 Commits (8c8e7fc67c719d30598fe9946335ca1840c794bc)

Author SHA1 Message Date
S.J.R. van Schaik 36971300b0 ftl: map: only declare __wrap_find_block() in testing mode 7 years ago
S.J.R. van Schaik 65d269e2d4 ftl: maintain state for the transaction that is currently active 7 years ago
S.J.R. van Schaik f3eb5df644 test: ftl: add tests for ftl_is_mapped() 7 years ago
S.J.R. van Schaik 6243dabea8 test: ftl: add tests for find_head() 7 years ago
S.J.R. van Schaik 920a59499b test: ftl: add tests for find_root() 7 years ago
S.J.R. van Schaik b8426f12f2 test: ftl: mock read_page_desc() 7 years ago
S.J.R. van Schaik bbfb9ca800 ftl: mock is_group_erased() and find_block() and simplify implementation of binary search 7 years ago
S.J.R. van Schaik c1a7b885f2 test: call __real_write_page_desc() in tests and mock prepare_head() and write_page_desc() 7 years ago
S.J.R. van Schaik b4ecfb527c ftl: check magic in read_page_group() 7 years ago
S.J.R. van Schaik a63e7656fe test: ftl: add tests for next_upage() 7 years ago
S.J.R. van Schaik f0a8439c51 ftl: fix address calculation in read_page_desc() 7 years ago
S.J.R. van Schaik bbc799f805 test: add tests for find_block_div() and read_page_desc() 7 years ago
S.J.R. van Schaik b29e0b945d tbm: fix minor issues during compilation 7 years ago
S.J.R. van Schaik e6c1197d07 ftl: fix find_last_group() to use proper group offsets 7 years ago
S.J.R. van Schaik 51da9338ea ftl: return -1 when no root could be found 7 years ago
S.J.R. van Schaik 5b21fe9813 ftl: fix read_page_desc() and write_page_desc() to use proper offsets 7 years ago
S.J.R. van Schaik f44581b648 ftl: fix is_group_erased() to read the proper offsets 7 years ago
S.J.R. van Schaik dc6365c7f8 ftl: fix bug in root recovery by marking page descriptors with a magic value 7 years ago
S.J.R. van Schaik 846ea90bdc ftl: initialise the offset in the map 7 years ago
S.J.R. van Schaik f7b11a8726 ftl: temporarily disable reading the cached va in trace_path() 7 years ago
S.J.R. van Schaik 15d2f6dc4b ftl: cache unmapped translations 7 years ago
S.J.R. van Schaik f68e26ac12 ftl: implement flags to keep track of state 7 years ago
S.J.R. van Schaik 8f061a808d ftl: cache last virtual address translation 7 years ago
S.J.R. van Schaik 22028021ca ftl: use write_page_desc() in ftl_trim() 8 years ago
S.J.R. van Schaik ed5e3ef8ea ftl: fix typo 8 years ago
S.J.R. van Schaik dfa497198f ftl: copy dev->log2_block_size to log2_erase_size in reset_map() 8 years ago
S.J.R. van Schaik f647188666 ftl: fix bug where constant is not bitshifted 8 years ago
S.J.R. van Schaik 937521c909 flash: return size for flash_read() and flash_write() 8 years ago
S.J.R. van Schaik d631e3012e ftl: change uint8_t to void in write_upage 8 years ago
S.J.R. van Schaik 27cf8bb587 ftl: use flash_is_erased() instead of is_page_erased() and simplify is_group_erased() 8 years ago
S.J.R. van Schaik 6f7fec2965 ftl: rename journal to map 8 years ago
S.J.R. van Schaik 770860d621 ftl: split up code 8 years ago
S.J.R. van Schaik 602ebb364d ftl: use void * instead of uint8_t * 8 years ago
S.J.R. van Schaik e31a852225 ftl: add buffer length to ftl_read() 8 years ago
S.J.R. van Schaik cd44b4866b ftl: remove ftl_find() 8 years ago
S.J.R. van Schaik 24ab1dd9b7 ftl: trim last sector by writing an empty page descriptor 8 years ago
S.J.R. van Schaik 1c396c407a ftl: replace erase_block() with a direct call to flash_erase() 8 years ago
S.J.R. van Schaik b0c53116d6 ftl: fix off by one in garbage collection code 8 years ago
S.J.R. van Schaik 4b651b19f1 ftl: add ftl_get_size(), allow trimming final sector, recover tail and size 8 years ago
S.J.R. van Schaik da30898794 ftl: more comments 8 years ago
S.J.R. van Schaik 2b5225ef98 ftl: initial implementation of the Flash Translation Layer 8 years ago