Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Commit

Permalink
flow: fs node transform into persistence node - with efivars
Browse files Browse the repository at this point in the history
fs node renamed to persistence node. As it will not only deal with fs
anymore. Besides it, a new option was added: 'storage', which defines
storage destination, currently 'fs' and 'efivars'. When using 'fs',
'name' can be a fully fledged path to the file where value will be
persisted.
'efivars' saves on 'efivarfs', using a reasonable attributes set:
"EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS |
EFI_VARIABLE_RUNTIME_ACCESS".
'fs' now creates files in case they don't happen to exist.
When there is no previous persisted value, node 'default_value' will
be used instead.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
  • Loading branch information
edersondisouza committed Sep 2, 2015
1 parent 82d1994 commit 31a5520
Show file tree
Hide file tree
Showing 14 changed files with 1,211 additions and 645 deletions.
2 changes: 1 addition & 1 deletion src/lib/flow/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ source "src/modules/flow/file/Kconfig"
source "src/modules/flow/filter-repeated/Kconfig"
source "src/modules/flow/float/Kconfig"
source "src/modules/flow/freegeoip/Kconfig"
source "src/modules/flow/fs/Kconfig"
source "src/modules/flow/gpio/Kconfig"
source "src/modules/flow/grove/Kconfig"
source "src/modules/flow/gtk/Kconfig"
Expand All @@ -58,6 +57,7 @@ source "src/modules/flow/magnetometer/Kconfig"
source "src/modules/flow/max31855/Kconfig"
source "src/modules/flow/network/Kconfig"
source "src/modules/flow/oic/Kconfig"
source "src/modules/flow/persistence/Kconfig"
source "src/modules/flow/piezo-speaker/Kconfig"
source "src/modules/flow/platform/Kconfig"
source "src/modules/flow/process/Kconfig"
Expand Down
4 changes: 0 additions & 4 deletions src/modules/flow/fs/Kconfig

This file was deleted.

2 changes: 0 additions & 2 deletions src/modules/flow/fs/Makefile

This file was deleted.

Loading

0 comments on commit 31a5520

Please sign in to comment.