This website works better with JavaScript.
Explore
Help
Sign In
TBM
/
tbm-mcu
Watch
1
Star
0
Fork
You've already forked tbm-mcu
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
340
Commits
2
Branches
1
Tag
1.0 MiB
Tag:
Branch:
Tree:
b168422d8a
master
wip/virtual-tbm
0.1.0
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'b168422d8a'
${ noResults }
Commit Graph
30 Commits (b168422d8a82c09bab2ad7ff07c7517f640b0b1d)
Author
SHA1
Message
Date
S.J.R. van Schaik
25774eaab5
ftl: sync dirty writes before reading or trimming
8 years ago
S.J.R. van Schaik
6c7594acaa
ftl: invalidate cached va during sync
8 years ago
S.J.R. van Schaik
018b0043a3
ftl: implement transactions to perform partial writes
8 years ago
S.J.R. van Schaik
652a90aab8
ftl: add newline for clarity
8 years ago
S.J.R. van Schaik
7826eccc36
ftl: restructure ftl_write() to use less memory by using flash_write0() and flash_copy()
8 years ago
S.J.R. van Schaik
22028021ca
ftl: use write_page_desc() in ftl_trim()
8 years ago
S.J.R. van Schaik
c38413dc90
flash: change prototype of flash_copy() and use the default implementation in the sandbox
8 years ago
S.J.R. van Schaik
1ba4e77dd6
ftl: copy the page of the cousin instead of the page to trim in ftl_trim()
8 years ago
S.J.R. van Schaik
8f680b9d5b
ftl: remove unused variable
8 years ago
S.J.R. van Schaik
45736a5e9f
ftl: simplify calculations in ftl_read()/ftl_write() and remove an out-dated check
8 years ago
S.J.R. van Schaik
7172423f05
ftl: compute length after determining the offset
8 years ago
S.J.R. van Schaik
631cc1e33a
ftl: fix order of preliminary checks
8 years ago
S.J.R. van Schaik
acc18a5253
ftl: return length if no page was mapped
8 years ago
S.J.R. van Schaik
e131d77cf5
ftl: use va for ftl_read()/ftl_write() and pages for ftl_trim()/ftl_is_mapped()
8 years ago
S.J.R. van Schaik
c684a57e24
ftl: add ftl_is_mapped() to check if a page is mapped
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
6a2c499d7a
ftl: use byte-offset from VA in ftl_write()
8 years ago
S.J.R. van Schaik
563db297a3
ftl: use byte-offset from VA in ftl_read()
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