mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 19:55:07 +00:00

The RTC and CMOS are currently only supported for x86 platforms and use specific x86 instructions to produce only certain x86 plaform operations and results, therefore, we move them to the Arch/x86 specific directory.
16 lines
233 B
C++
16 lines
233 B
C++
/*
|
|
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/Types.h>
|
|
|
|
namespace Kernel::CMOS {
|
|
|
|
u8 read(u8 index);
|
|
void write(u8 index, u8 data);
|
|
|
|
}
|