summaryrefslogtreecommitdiff
path: root/Kernel/Arch/SmapDisabler.h
blob: 319f24b7f870840d29fba95da63230ec867f6f42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <AK/Types.h>

namespace Kernel {

class SmapDisabler {
public:
    SmapDisabler();
    ~SmapDisabler();

private:
    const FlatPtr m_flags;
};

}