aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorVirendra Kakade <virendra.kakade@ni.com>2019-04-30 17:05:28 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2021-01-11 13:18:22 -0600
commitfab4a5dd1708de6c5dc5fb4dc50b396a4adfeb51 (patch)
treec051515b67bbf12921d5c83ae6ac80337632f508 /host/include
parent643dd4f9d103da89feaa600214f2dab9d3c64bdc (diff)
downloaduhd-fab4a5dd1708de6c5dc5fb4dc50b396a4adfeb51.tar.gz
uhd-fab4a5dd1708de6c5dc5fb4dc50b396a4adfeb51.tar.bz2
uhd-fab4a5dd1708de6c5dc5fb4dc50b396a4adfeb51.zip
mpmd: Add support to delay and trigger fpga/dts load after update
Add a new image_loader argument delay_reload to provide a way to update components but optionally delay the actual load. Similarly add a new argument, just_reload, to enable uhd to reload the fpga/dts components. Signed-off-by: Virendra Kakade <virendra.kakade@ni.com>
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/image_loader.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/include/uhd/image_loader.hpp b/host/include/uhd/image_loader.hpp
index b941463cd..c451b2851 100644
--- a/host/include/uhd/image_loader.hpp
+++ b/host/include/uhd/image_loader.hpp
@@ -31,6 +31,8 @@ public:
std::string id;
std::vector<uint8_t> component;
uhd::dict<std::string, std::string> metadata;
+ bool delay_reload = false;
+ bool just_reload = false;
} image_loader_args_t;
//! Signature of an image loading function