Xyris
0.5
crti.h
Go to the documentation of this file.
1
/**
2
* @file crti.h
3
* @author Keeton Feavel (
[email protected]
)
4
* @brief C/C++ runtime initialization & teardown. See crti.s and crtn.s for details
5
* https://wiki.osdev.org/Calling_Global_Constructors
6
* @version 0.1
7
* @date 2022-01-04
8
*
9
* @copyright Copyright the Xyris Contributors (c) 2022
10
*
11
*/
12
#pragma once
13
14
extern
"C"
{
15
16
/**
17
* @brief Global constructor
18
*
19
*/
20
void
_init
();
21
22
/**
23
* @brief Global destructor
24
*
25
*/
26
void
_fini
();
27
28
}
_init
void _init()
Global constructor.
_fini
void _fini()
Global destructor.
Kernel
Arch
i686
Assembly
crti.h
Generated by
1.8.17