1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:07:35 +00:00

Kernel: Rename ProcessPagingScope => ScopedAddressSpaceSwitcher

This commit is contained in:
Andreas Kling 2021-09-06 17:22:36 +02:00
parent cd8d52e6ae
commit f16b9a691f
8 changed files with 24 additions and 24 deletions

View file

@ -0,0 +1,23 @@
/*
* Copyright (c) 2020-2021, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Types.h>
#include <Kernel/Forward.h>
namespace Kernel {
class ScopedAddressSpaceSwitcher {
public:
explicit ScopedAddressSpaceSwitcher(Process&);
~ScopedAddressSpaceSwitcher();
private:
u32 m_previous_cr3 { 0 };
};
}