vbos/include/kernel/types.h
2026-04-11 11:35:31 -04:00

27 lines
482 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _TYPES_H_
#define _TYPES_H_
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#define KB (1024ull)
#define MB (KB * KB)
#define GB (MB * MB)
typedef uintptr_t paddr_t;
typedef uint32_t paddr32_t;
typedef int64_t ssize_t;
typedef uint8_t u8;
typedef uint16_t u16;
typedef uint32_t u32;
typedef uint64_t u64;
typedef int32_t i8;
typedef int16_t i16;
typedef int32_t i32;
typedef int64_t i64;
#endif /* _TYPES_H_ */