This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#10991 - Rewrite dircache generation to free ram and stack
Attached to Project:
Rockbox
Opened by amaury pouly (pamaury) - Tuesday, 09 February 2010, 23:46 GMT+2
Last edited by amaury pouly (pamaury) - Monday, 15 February 2010, 00:06 GMT+2
Opened by amaury pouly (pamaury) - Tuesday, 09 February 2010, 23:46 GMT+2
Last edited by amaury pouly (pamaury) - Monday, 15 February 2010, 00:06 GMT+2
|
DetailsThis patch is a complete rewrite of dircache generation using some subtle properties of the FAT code. It currently doesn't contain code for the simulator ! It allows to free 30kib of ram and have a 600 bytes binsize reduction.
If you can test it, I'm particulary interested in: * correctness: do you notice any problem ? * stack usage: report dircache thread usage if you can TODO: the current code doesn't add the "." and ".." entries in dircache for now. I don't know if it can cause problems. |
This task depends upon
Closed by amaury pouly (pamaury)
Monday, 15 February 2010, 00:06 GMT+2
Reason for closing: Accepted
Additional comments about closing: r24657
Monday, 15 February 2010, 00:06 GMT+2
Reason for closing: Accepted
Additional comments about closing: r24657
The binsize reduction is of 200bytes with this version.
This makes sense because the version I propose bypass the "normal" I/O api to use the FAT code which is an optimization only valid on a real target.
I'll try to upload an up to date version for the simulator quickly.
-minor code change in dircache generation
-now there is code for the simulator
All is working well here, no noticeable changes.