SimpleKernel
1.17.0
Loading...
Searching...
No Matches
interrupt_test.cpp
Go to the documentation of this file.
1
5
#include "interrupt.h"
6
7
#include <
cpu_io.h
>
8
9
#include <cstddef>
10
#include <cstdint>
11
12
#include "
arch.h
"
13
#include "
basic_info.hpp
"
14
#include "
interrupt_base.h
"
15
#include "
kernel.h
"
16
#include "kstd_cstring"
17
#include "
kstd_libcxx.h
"
18
#include "
sk_stdlib.h
"
19
#include "
system_test.h
"
20
22
auto
interrupt_test
() ->
bool
{
23
klog::Info
(
"interrupt_test: start"
);
24
25
(void)InterruptSingleton::instance().BroadcastIpi();
26
27
klog::Info
(
"interrupt_test: broadcast ipi passed"
);
28
29
return
true
;
30
}
arch.h
basic_info.hpp
cpu_io.h
interrupt_base.h
interrupt_test
auto interrupt_test() -> bool
Definition
interrupt_test.cpp:22
kernel.h
kstd_libcxx.h
klog::Info
auto Info(etl::format_string< Args... > fmt, Args &&... args) -> void
以 INFO 级别记录日志
Definition
kernel_log.hpp:182
sk_stdlib.h
system_test.h
tests
system_test
interrupt_test.cpp
Generated by
1.9.8