diff options
Diffstat (limited to 'smctool.h')
-rw-r--r-- | smctool.h | 22 |
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 */ |