summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2019-05-29 16:47:34 +0300
committerEvgeny Zinoviev <me@ch1p.io>2019-05-29 16:47:34 +0300
commit431a07aac4a9732b69ec92149dd30c3a7ddd7215 (patch)
treeaa563af59deebf43356051088be262c8b10f8e2b
parent984d8f39dcc84eb01b7daf85de50f4026f342528 (diff)
add missing fileHEADmaster
-rw-r--r--smctool.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/smctool.h b/smctool.h
new file mode 100644
index 0000000..60ae14f
--- /dev/null
+++ b/smctool.h
@@ -0,0 +1,22 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2019 Evgeny Zinoviev <me@ch1p.io>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef SMCTOOL_H
+#define SMCTOOL_H
+
+#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
+#define KEYBUFSIZE 5
+
+#endif /* SMCTOOL_H */