KernOS
ktypes.h
Go to the documentation of this file.
1
//
2
// Created on 5/18/20.
3
//
4
5
#ifndef KERNOS_TYPES_H
6
#define KERNOS_TYPES_H
7
8
#include <
common.h
>
9
10
#if ARCH_32
11
typedef
uint32_t
ptr_t
;
12
#else
13
typedef
uint64_t
ptr_t
;
14
#endif
15
16
using
func_ptr
= void(*)();
17
18
const
uint32_t
SYSERR
= -1;
19
20
#endif //KERNOS_TYPES_H
func_ptr
void(*)() func_ptr
Definition:
ktypes.h:16
ptr_t
uint64_t ptr_t
Definition:
ktypes.h:13
SYSERR
const uint32_t SYSERR
Definition:
ktypes.h:18
common.h
OS
include
ktypes.h
Generated by
1.8.13