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
26
EXTERN_C
void
rt_halt
();
27
EXTERN_C
void
rt_cli
();
28
EXTERN_C
void
rt_sti
();
29
EXTERN_C
void
rt_cld
();
30
EXTERN_C
void
rt_std
();
31
32
#endif
/* ifdef __x86_64__ */
rt_cli
EXTERN_C void rt_cli()
rt_halt
EXTERN_C void rt_halt()
EXTERN_C
#define EXTERN_C
Kernel::HAL::rt_sti
Void rt_sti()
Definition
HalProcessor.cc:78
Kernel::HAL::rt_std
Void rt_std()
Definition
HalProcessor.cc:86
Kernel::HAL::rt_cld
Void rt_cld()
Definition
HalProcessor.cc:82
src
boot
BootKit
Platform.h
Generated by
1.15.0