commit | aacf0e2661c8492bab7d3c89381071d2c11d7d83 | [log] [tgz] |
---|---|---|
author | Lawrence Tang <lawrence.tang@arm.com> | Wed Jul 20 13:28:52 2022 +0100 |
committer | Lawrence Tang <lawrence.tang@arm.com> | Wed Jul 20 13:28:52 2022 +0100 |
tree | 6d05d637415ef41a8cc82a807dc49cfaf5e9660c | |
parent | cd505205d9a1cefadb19978afd59093f0754c13a [diff] [blame] |
Add fixes based on test fuzzing.
diff --git a/common-utils.h b/common-utils.h new file mode 100644 index 0000000..436820f --- /dev/null +++ b/common-utils.h
@@ -0,0 +1,9 @@ +#ifndef CPER_LIB_COMMON_UTILS_H +#define CPER_LIB_COMMON_UTILS_H + +#include "edk/BaseTypes.h" + +int bcd_to_int(UINT8 bcd); +UINT8 int_to_bcd(int value); + +#endif \ No newline at end of file