diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-02-01 07:24:16 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-02-01 07:24:16 -0600 |
commit | 55d5b35fffeba4221eafe5e161319088b92e12e1 (patch) | |
tree | 60a002fe1a1412a21c20119d70e1e3516ef71952 /nuttx/binfmt | |
parent | 9dd15e33285b1d81984d346223ad7483c246a7a9 (diff) | |
download | px4-nuttx-55d5b35fffeba4221eafe5e161319088b92e12e1.tar.gz px4-nuttx-55d5b35fffeba4221eafe5e161319088b92e12e1.tar.bz2 px4-nuttx-55d5b35fffeba4221eafe5e161319088b92e12e1.zip |
drivers/ramdisk.c and include/nuttx/fs/ramdisk.h: Add logic to dispose of the drvier and RAM buffer when the RAM disk has been unlinked and all open references to the RAM disk have been closed. Add new parameters to romdisk() to specify what should be done with the RAM/ROM buffer -- Should it be freed or not? Changed all calls to ramdisk() to use these new parameters.
Diffstat (limited to 'nuttx/binfmt')
-rw-r--r-- | nuttx/binfmt/pcode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/binfmt/pcode.c b/nuttx/binfmt/pcode.c index b2cac5880..a4423c690 100644 --- a/nuttx/binfmt/pcode.c +++ b/nuttx/binfmt/pcode.c @@ -1,7 +1,7 @@ /**************************************************************************** * binfmt/pcode.c * - * Copyright (C) 2014 Gregory Nutt. All rights reserved. + * Copyright (C) 2014-2015 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without |