Files
magenta/include/mango/types.h
T

23 lines
365 B
C
Raw Normal View History

2024-11-02 11:31:51 +00:00
#ifndef MANGO_TYPES_H_
#define MANGO_TYPES_H_
#include <stddef.h>
#include <stdint.h>
#define CYCLES_MAX UINT64_MAX
typedef uintptr_t phys_addr_t;
typedef uintptr_t virt_addr_t;
typedef uint64_t cycles_t;
2023-07-08 15:55:43 +01:00
typedef uint64_t sectors_t;
typedef uint64_t off_t;
2023-06-25 11:03:44 +01:00
typedef unsigned int umode_t;
struct boot_module {
phys_addr_t mod_base;
size_t mod_size;
};
#endif