diff options
author | Jon Santmyer <jon@jonsantmyer.com> | 2024-05-22 13:00:41 -0400 |
---|---|---|
committer | Jon Santmyer <jon@jonsantmyer.com> | 2024-05-22 13:00:41 -0400 |
commit | ace65b453151845bc361f21f3e5b651c35f9f126 (patch) | |
tree | 262ebd29b0ca1d8584f0b6f1efa7a00d9f4f3e43 /sys/types.h | |
parent | f004c1ade8d617a82cea2fe249434cccb47a2358 (diff) | |
download | jove-kernel-master.tar.gz jove-kernel-master.tar.bz2 jove-kernel-master.zip |
Diffstat (limited to 'sys/types.h')
-rw-r--r-- | sys/types.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/sys/types.h b/sys/types.h deleted file mode 100644 index 0a519c5..0000000 --- a/sys/types.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef _SYS_TYPES_H -#define _SYS_TYPES_H 1 - -#include <stdint.h> -#include <stddef.h> -#include <stdbool.h> - -typedef intmax_t tid_t; - -typedef struct { - intmax_t tid; - uintmax_t addr; -} linear_address_t; - -typedef uintptr_t physptr_t; - -typedef struct page_flags -{ - bool present; - bool writeable; - bool useraccess; - bool executable; -} page_flags_t; - -typedef struct page_mapping -{ - physptr_t phys; - page_flags_t pf; -} page_mapping_t; - - -#endif |