diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2023-10-07 12:03:55 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2023-10-07 12:03:55 +0200 |
| commit | 84f03c4870af20c9edf16343f968f3b920c04a02 (patch) | |
| tree | c545917174d20ef6d129193e309543b26ef6bf3b /source/kernel/arch/x86_64 | |
| parent | c46c48d2acbcd7c74a93be6c5348fc4c6a8a646d (diff) | |
| download | teachos-84f03c4870af20c9edf16343f968f3b920c04a02.tar.xz teachos-84f03c4870af20c9edf16343f968f3b920c04a02.zip | |
source: add clang formatter configuration
Diffstat (limited to 'source/kernel/arch/x86_64')
| -rw-r--r-- | source/kernel/arch/x86_64/src/entry.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/kernel/arch/x86_64/src/entry.cpp b/source/kernel/arch/x86_64/src/entry.cpp index 0daf227..2d4e7fb 100644 --- a/source/kernel/arch/x86_64/src/entry.cpp +++ b/source/kernel/arch/x86_64/src/entry.cpp @@ -2,8 +2,9 @@ namespace teachos { extern "C" auto kernel_main() -> void { - while(true) { - asm volatile ("nop"); + while (true) + { + asm volatile("nop"); } } -} +} // namespace teachos |
