-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathsyspage.h
62 lines (33 loc) · 969 Bytes
/
syspage.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*
* Phoenix-RTOS
*
* Operating system kernel
*
* Syspage
*
* Copyright 2021 Phoenix Systems
* Authors: Hubert Buczynski
*
* This file is part of Phoenix-RTOS.
*
* %LICENSE%
*/
#ifndef _SYSPAGE_H_
#define _SYSPAGE_H_
#include "hal/hal.h"
#include "include/syspage.h"
/* Map's functions */
extern size_t syspage_mapSize(void);
extern const syspage_map_t *syspage_mapList(void);
extern const syspage_map_t *syspage_mapIdResolve(unsigned int id);
extern const syspage_map_t *syspage_mapAddrResolve(addr_t addr);
extern const syspage_map_t *syspage_mapNameResolve(const char *name);
/* Prog's functions */
extern size_t syspage_progSize(void);
extern syspage_prog_t *syspage_progList(void);
extern const syspage_prog_t *syspage_progIdResolve(unsigned int id);
extern const syspage_prog_t *syspage_progNameResolve(const char *name);
/* General functions */
extern void syspage_progShow(void);
extern void syspage_init(void);
#endif