[Krafton Jungle] PintOS
2.0.0
크래프톤 정글 PintOS
Loading...
Searching...
No Matches
init.h
Go to the documentation of this file.
1
#ifndef THREADS_INIT_H
2
#define THREADS_INIT_H
3
4
#include <
debug.h
>
5
#include <
stdbool.h
>
6
#include <
stddef.h
>
7
#include <
stdint.h
>
8
9
/* Physical memory size, in 4 kB pages. */
10
extern
size_t
ram_pages
;
11
12
/* Page map level 4 with kernel mappings only. */
13
extern
uint64_t
*
base_pml4
;
14
15
/* -q: Power off when kernel tasks complete? */
16
extern
bool
power_off_when_done
;
17
18
void
power_off
(
void
)
NO_RETURN
;
19
20
#endif
/* threads/init.h */
debug.h
NO_RETURN
#define NO_RETURN
Definition:
debug.h:8
ram_pages
size_t ram_pages
power_off_when_done
bool power_off_when_done
Definition:
init.c:50
base_pml4
uint64_t * base_pml4
Definition:
init.c:42
power_off
void power_off(void) NO_RETURN
Definition:
init.c:340
stdbool.h
stddef.h
stdint.h
uint64_t
unsigned long long int uint64_t
Definition:
stdint.h:29
include
threads
init.h
Generated by
1.9.5