summaryrefslogtreecommitdiff
path: root/chip/host/host_test.h
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2013-10-17 15:05:04 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-10-23 21:27:40 +0000
commit2ad076f8a02c8a3165a76dfb093cefd79fdbfc67 (patch)
tree13f9d0505f564f07c9867aabf11b7083613666d4 /chip/host/host_test.h
parent8cf03ac0563294fbdeca2dc133d06f0b51c9a546 (diff)
downloadchrome-ec-2ad076f8a02c8a3165a76dfb093cefd79fdbfc67.tar.gz
cleanup: Rename and move header files
Device-specific headers belong in driver/ or chip/. The include/ directory should be for common interfaces. Code should not normally need to include driver-specific headers. If it does, it should use the full relative path from the EC project root (for example, drivers/charger/bq24715.h). Change-Id: Id23db37a431e2d802a74ec601db6f69b613352ba Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/173746 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'chip/host/host_test.h')
-rw-r--r--chip/host/host_test.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/chip/host/host_test.h b/chip/host/host_test.h
new file mode 100644
index 0000000000..6eac0bc62e
--- /dev/null
+++ b/chip/host/host_test.h
@@ -0,0 +1,17 @@
+/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+/* Unit testing for Chrome EC */
+
+#ifndef __CROS_EC_HOST_TEST_H
+#define __CROS_EC_HOST_TEST_H
+
+/* Emulator exit codes */
+#define EXIT_CODE_HIBERNATE (1 << 7)
+
+/* Get emulator executable name */
+const char *__get_prog_name(void);
+
+#endif /* __CROS_EC_HOST_TEST_H */