/*** Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved. File: ProcessSectionView.Unix.hpp Date: 2022-08-10 Author: Reece ***/ #pragma once namespace Aurora::Process { struct ProcessSectionView : IProcessSectionView { AuSPtr Allocate(AuUInt length) override; AuSPtr MapFileByPath(const AuString &str, AuUInt64 offset, AuUInt length, AuFS::EFileOpenMode mode, AuFS::EFileAdvisoryLockLevel sectionLock) override; AuSPtr MapFileByObject(const AuSPtr &stream, AuUInt64 offset, AuUInt length, Aurora::IO::FS::EFileOpenMode mode, AuFS::EFileAdvisoryLockLevel processLockLevel) override; AuSPtr MapIPCMemory(const AuString &handle, AuUInt64 offset, AuUInt length, AuFS::EFileOpenMode mode) override; }; }