PatchworkOS
Loading...
Searching...
No Matches
shared_data.h
Go to the documentation of this file.
1
#ifndef _SYS_SHARED_DATA_H
2
#define _SYS_SHARED_DATA_H 1
3
4
#include <
errno.h
>
5
#include <
stdint.h
>
6
#include <
sys/io.h
>
7
#include <
sys/proc.h
>
8
9
#if defined(__cplusplus)
10
extern
"C"
11
{
12
#endif
13
14
// This is not yet implemented, more just idle mussings.
15
16
typedef
struct
17
{
18
clock_t
uptime
;
19
clock_t
processRuntime
;
20
errno_t
lastError
;
21
}
shared_data_t
;
22
23
#if defined(__cplusplus)
24
}
25
#endif
26
27
#endif
errno.h
errno_t
int errno_t
Definition
errno_t.h:4
clock_t
__UINT64_TYPE__ clock_t
A nanosecond time.
Definition
clock_t.h:13
io.h
proc.h
stdint.h
shared_data_t
Definition
shared_data.h:17
shared_data_t::uptime
clock_t uptime
Definition
shared_data.h:18
shared_data_t::lastError
errno_t lastError
Definition
shared_data.h:20
shared_data_t::processRuntime
clock_t processRuntime
Definition
shared_data.h:19
include
libstd
sys
shared_data.h
Generated by
1.9.8