summaryrefslogtreecommitdiff
path: root/utils/hwstub/stub
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-07-13 17:38:34 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2013-07-13 17:47:01 +0200
commitf617da0552c95202807c5e41c70bc78a3189378e (patch)
treebcb5c16a82515465661430d90eede48000918700 /utils/hwstub/stub
parent140783ef66eef379feedcfef5403c5729d38936a (diff)
hwstub: enhance protocol with more functions
Change-Id: I7944249c2f7ea3e180e7b79ee8ae402d1d0742d3
Diffstat (limited to 'utils/hwstub/stub')
-rw-r--r--utils/hwstub/stub/stmp/target.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/hwstub/stub/stmp/target.c b/utils/hwstub/stub/stmp/target.c
index 60411f908e..11516e5492 100644
--- a/utils/hwstub/stub/stmp/target.c
+++ b/utils/hwstub/stub/stmp/target.c
@@ -196,6 +196,11 @@ int target_get_info(int info, void **buffer)
*buffer = &g_stmp;
return sizeof(g_stmp);
}
+ else if(info == HWSTUB_INFO_TARGET)
+ {
+ *buffer = &g_target;
+ return sizeof(g_target);
+ }
else
return -1;
}