mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:37:45 +00:00
Kernel: Move QEMU shutdown code to the x86 subdirectory
QEMU VM shutdown code is really x86 specific, so let's ensure we only use it when compiling a Kernel for x86 machines.
This commit is contained in:
parent
d3601aedc5
commit
4555cac639
4 changed files with 43 additions and 6 deletions
13
Kernel/Arch/x86/common/QEMUShutdown.h
Normal file
13
Kernel/Arch/x86/common/QEMUShutdown.h
Normal file
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
* Copyright (c) 2022, Liav A. <liavalb@hotmail.co.il>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
void qemu_shutdown();
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue