From 6ac2b8842a49e79bfbe9b30feccb0f26679b9fc2 Mon Sep 17 00:00:00 2001 From: "Chloe M." Date: Mon, 22 Jun 2026 04:03:49 +0000 Subject: [PATCH] sdk: Add unit definitions Signed-off-by: Chloe M. --- sdk/head/units.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 sdk/head/units.h diff --git a/sdk/head/units.h b/sdk/head/units.h new file mode 100644 index 0000000..1a038ca --- /dev/null +++ b/sdk/head/units.h @@ -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_ */