NeKernel dev
Loading...
Searching...
No Matches
Platform.h
Go to the documentation of this file.
1/* ========================================
2
3 Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license.
4
5======================================== */
6
7#pragma once
8
13
14#ifdef __x86_64__
15
16#ifdef __cplusplus
17#ifndef EXTERN_C
18#define EXTERN_C extern "C"
19#endif
20#else
21#ifndef EXTERN_C
22#define EXTERN_C extern
23#endif
24#endif // __cplusplus
25
26EXTERN_C void rt_halt();
27EXTERN_C void rt_cli();
28EXTERN_C void rt_sti();
29EXTERN_C void rt_cld();
30EXTERN_C void rt_std();
31
32#endif /* ifdef __x86_64__ */
EXTERN_C void rt_cli()
EXTERN_C void rt_halt()
#define EXTERN_C
Void rt_sti()
Definition HalProcessor.cc:78
Void rt_std()
Definition HalProcessor.cc:86
Void rt_cld()
Definition HalProcessor.cc:82