BackupGGCode / propgcc

GCC for the Parallax Propeller Microcontroller
Other
0 stars 0 forks source link

LoadSDDriver should be folded into dfs_mount #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Dave Hein posted this message in the GCC Developer's Forum:

If we do this, we should also merge the calls to LoadSDDriver and dfs_mount 
into one routine. One of the things on my TODO list was to replace dfs_mount 
with the standard mount routine.

Additional information:

This is 100% the right thing to do.  It is useless to call LoadSDDriver() 
unless you intend to call dfs_mount().

On the other hand, the generic mount(2) routine is so Unix-specific that it 
does not make sense to try to "emulate" that call.  Particularly if you try to 
emulate it by allowing users to pass string parameter lists and then decode 
them; this is bad because we are completely out of memory in the 
demo/c3files/lmm case.

Original issue reported on code.google.com by tjstefan...@charter.net on 1 Apr 2012 at 5:59

GoogleCodeExporter commented 9 years ago
Merging dfs_mount and LoadSdDriver Fixed in revision b9987f5b83e7.  Replace 
dfs_mount() with mount(): punted.

Original comment by tjstefan...@charter.net on 1 Apr 2012 at 6:03