mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:28:11 +00:00
Kernel: Rename ProcessPagingScope => ScopedAddressSpaceSwitcher
This commit is contained in:
parent
cd8d52e6ae
commit
f16b9a691f
8 changed files with 24 additions and 24 deletions
|
@ -15,7 +15,7 @@
|
|||
#include <Kernel/FileSystem/VirtualFileSystem.h>
|
||||
#include <Kernel/KLexicalPath.h>
|
||||
#include <Kernel/Locking/Spinlock.h>
|
||||
#include <Kernel/Memory/ProcessPagingScope.h>
|
||||
#include <Kernel/Memory/ScopedAddressSpaceSwitcher.h>
|
||||
#include <Kernel/Process.h>
|
||||
#include <Kernel/RTC.h>
|
||||
#include <LibC/elf.h>
|
||||
|
@ -343,7 +343,7 @@ KResultOr<ByteBuffer> Coredump::create_notes_segment_data() const
|
|||
KResult Coredump::write()
|
||||
{
|
||||
SpinlockLocker lock(m_process->address_space().get_lock());
|
||||
ProcessPagingScope scope(m_process);
|
||||
ScopedAddressSpaceSwitcher switcher(m_process);
|
||||
|
||||
auto notes_segment_result = create_notes_segment_data();
|
||||
if (notes_segment_result.is_error())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue