sdk: Add unit definitions

Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
Chloe M.
2026-06-22 04:03:49 +00:00
parent e9a1de69cf
commit 6ac2b8842a
+19
View File
@@ -0,0 +1,19 @@
/*
* Copyright (c) 2026, Chloe M.
* Provided under the BSD-3 clause.
*
* Description: Unit definitions
* Author: Chloe M.
*/
#ifndef _SDK_UNITS_H_
#define _SDK_UNITS_H_ 1
/* Storage size units */
#define UNIT_GIB 0x40000000
#define UNIT_MIB 0x100000
/* Time units */
#define UNIT_FS_PER_MS 1000000000000ULL
#endif /* !_SDK_UNITS_H_ */