blob: 0a65704f241e6f2e6cddb84169f39b95c9edae0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
/*
* Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <Kernel/Arch/ScopedCritical.h>
#include <Kernel/Arch/Processor.h>
namespace Kernel {
ScopedCritical::ScopedCritical() = default;
ScopedCritical::~ScopedCritical() = default;
ScopedCritical::ScopedCritical(ScopedCritical&& /*from*/)
{
VERIFY_NOT_REACHED();
}
ScopedCritical& ScopedCritical::operator=(ScopedCritical&& /*from*/)
{
VERIFY_NOT_REACHED();
return *this;
}
void ScopedCritical::leave()
{
VERIFY_NOT_REACHED();
}
void ScopedCritical::enter()
{
VERIFY_NOT_REACHED();
}
}
|