summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-05-11 23:30:01 +0800
committerChromeBot <chrome-bot@google.com>2013-05-14 09:25:03 -0700
commitfa9c222a7936a74a405cc254e1bdc7baa9cd65b2 (patch)
tree035cd67081778127ab3fe0631a794d12bbd8c733 /core
parente1c0b58c9638798fd51577b137d714038be5c1b7 (diff)
downloadchrome-ec-fa9c222a7936a74a405cc254e1bdc7baa9cd65b2.tar.gz
Add hook test
Test of hook functionality. BUG=chrome-os-partner:19236 TEST=Pass the test BRANCH=None Change-Id: I4700f3061edd0707932e935a719fc73c3976892e Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/50957 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'core')
-rw-r--r--core/host/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/host/main.c b/core/host/main.c
index f370e4b561..e96dc40faa 100644
--- a/core/host/main.c
+++ b/core/host/main.c
@@ -5,6 +5,7 @@
/* Entry point of unit test executable */
+#include "hooks.h"
#include "task.h"
#include "timer.h"
@@ -12,6 +13,8 @@ int main(void)
{
timer_init();
+ hook_init();
+
task_start();
return 0;