add missing file

This commit is contained in:
Evgeny Zinoviev 2019-05-29 16:47:34 +03:00
parent 984d8f39dc
commit 431a07aac4

22
smctool.h Normal file
View File

@ -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 */