mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:57:46 +00:00
Kernel: Move PCSpeaker code to the x86-specific architecture directory
The PCSpeaker code is specific to x86 platforms, thus it makes sense to put in the Arch/x86 subdirectory.
This commit is contained in:
parent
1596ee241f
commit
fdef8d0d37
5 changed files with 14 additions and 4 deletions
13
Kernel/Arch/x86/common/PCSpeaker.h
Normal file
13
Kernel/Arch/x86/common/PCSpeaker.h
Normal file
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
class PCSpeaker {
|
||||
public:
|
||||
static void tone_on(int frequency);
|
||||
static void tone_off();
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue