1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-22 20:26:40 +00:00

Explicitly label class visibility

This commit is contained in:
Alex Barney 2018-12-01 14:38:15 -06:00
parent 3a02739519
commit ad5eb5787c
302 changed files with 308 additions and 308 deletions

View file

@ -3,7 +3,7 @@ using System.Runtime.InteropServices;
namespace Ryujinx.HLE namespace Ryujinx.HLE
{ {
class DeviceMemory : IDisposable internal class DeviceMemory : IDisposable
{ {
public const long RamSize = 4L * 1024 * 1024 * 1024; public const long RamSize = 4L * 1024 * 1024 * 1024;

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.FileSystem.Content namespace Ryujinx.HLE.FileSystem.Content
{ {
static class ContentPath internal static class ContentPath
{ {
public const string SystemContent = "@SystemContent"; public const string SystemContent = "@SystemContent";
public const string UserContent = "@UserContent"; public const string UserContent = "@UserContent";

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.FileSystem.Content namespace Ryujinx.HLE.FileSystem.Content
{ {
enum TitleType internal enum TitleType
{ {
SystemPrograms = 0x01, SystemPrograms = 0x01,
SystemDataArchive = 0x02, SystemDataArchive = 0x02,

View file

@ -8,7 +8,7 @@ using static Ryujinx.HLE.HOS.ErrorCode;
namespace Ryujinx.HLE.FileSystem namespace Ryujinx.HLE.FileSystem
{ {
class FileSystemProvider : IFileSystemProvider internal class FileSystemProvider : IFileSystemProvider
{ {
private readonly string _basePath; private readonly string _basePath;
private readonly string _rootPath; private readonly string _rootPath;

View file

@ -3,7 +3,7 @@ using Ryujinx.HLE.HOS.Services.FspSrv;
namespace Ryujinx.HLE.FileSystem namespace Ryujinx.HLE.FileSystem
{ {
interface IFileSystemProvider internal interface IFileSystemProvider
{ {
long CreateFile(string name, long size); long CreateFile(string name, long size);

View file

@ -10,7 +10,7 @@ using static Ryujinx.HLE.HOS.ErrorCode;
namespace Ryujinx.HLE.FileSystem namespace Ryujinx.HLE.FileSystem
{ {
class PFsProvider : IFileSystemProvider internal class PFsProvider : IFileSystemProvider
{ {
private Pfs _pfs; private Pfs _pfs;

View file

@ -10,7 +10,7 @@ using static Ryujinx.HLE.HOS.ErrorCode;
namespace Ryujinx.HLE.FileSystem namespace Ryujinx.HLE.FileSystem
{ {
class RomFsProvider : IFileSystemProvider internal class RomFsProvider : IFileSystemProvider
{ {
private Romfs _romFs; private Romfs _romFs;

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.FileSystem namespace Ryujinx.HLE.FileSystem
{ {
enum SaveDataType : byte internal enum SaveDataType : byte
{ {
SystemSaveData, SystemSaveData,
SaveData, SaveData,

View file

@ -5,7 +5,7 @@ using static Ryujinx.HLE.FileSystem.VirtualFileSystem;
namespace Ryujinx.HLE.FileSystem namespace Ryujinx.HLE.FileSystem
{ {
static class SaveHelper internal static class SaveHelper
{ {
public static string GetSavePath(SaveInfo saveMetaData, ServiceCtx context) public static string GetSavePath(SaveInfo saveMetaData, ServiceCtx context)
{ {

View file

@ -2,7 +2,7 @@
namespace Ryujinx.HLE.FileSystem namespace Ryujinx.HLE.FileSystem
{ {
struct SaveInfo internal struct SaveInfo
{ {
public long TitleId { get; private set; } public long TitleId { get; private set; }
public long SaveId { get; private set; } public long SaveId { get; private set; }

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.FileSystem namespace Ryujinx.HLE.FileSystem
{ {
enum SaveSpaceId internal enum SaveSpaceId
{ {
NandSystem, NandSystem,
NandUser, NandUser,

View file

@ -5,7 +5,7 @@ using System.IO;
namespace Ryujinx.HLE.FileSystem namespace Ryujinx.HLE.FileSystem
{ {
class VirtualFileSystem : IDisposable internal class VirtualFileSystem : IDisposable
{ {
public const string BasePath = "RyuFs"; public const string BasePath = "RyuFs";
public const string NandPath = "nand"; public const string NandPath = "nand";

View file

@ -6,7 +6,7 @@ using Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast;
namespace Ryujinx.HLE.HOS.Diagnostics.Demangler namespace Ryujinx.HLE.HOS.Diagnostics.Demangler
{ {
class Demangler internal class Demangler
{ {
private static readonly string Base36 = "0123456789abcdefghijklmnopqrstuvwxyz"; private static readonly string Base36 = "0123456789abcdefghijklmnopqrstuvwxyz";
private List<BaseNode> _substitutionList = new List<BaseNode>(); private List<BaseNode> _substitutionList = new List<BaseNode>();
@ -2684,7 +2684,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler
} }
} }
class NameParserContext private class NameParserContext
{ {
public CvType Cv; public CvType Cv;
public SimpleReferenceType Ref; public SimpleReferenceType Ref;

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS namespace Ryujinx.HLE.HOS
{ {
static class ErrorCode internal static class ErrorCode
{ {
public static uint MakeError(ErrorModule module, int code) public static uint MakeError(ErrorModule module, int code)
{ {

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS namespace Ryujinx.HLE.HOS
{ {
enum ErrorModule internal enum ErrorModule
{ {
Kernel = 1, Kernel = 1,
Fs = 2, Fs = 2,

View file

@ -11,7 +11,7 @@ using static Ryujinx.HLE.Utilities.FontUtils;
namespace Ryujinx.HLE.HOS.Font namespace Ryujinx.HLE.HOS.Font
{ {
class SharedFontManager internal class SharedFontManager
{ {
private Switch _device; private Switch _device;

View file

@ -4,7 +4,7 @@ using System.Collections.Generic;
namespace Ryujinx.HLE.HOS namespace Ryujinx.HLE.HOS
{ {
class GlobalStateTable internal class GlobalStateTable
{ {
private ConcurrentDictionary<KProcess, IdDictionary> _dictByProcess; private ConcurrentDictionary<KProcess, IdDictionary> _dictByProcess;

View file

@ -3,7 +3,7 @@ using System.Text;
namespace Ryujinx.HLE.HOS namespace Ryujinx.HLE.HOS
{ {
static class Homebrew internal static class Homebrew
{ {
public const string TemporaryNroSuffix = ".ryu_tmp.nro"; public const string TemporaryNroSuffix = ".ryu_tmp.nro";

View file

@ -4,7 +4,7 @@ using System.Collections.Generic;
namespace Ryujinx.HLE.HOS namespace Ryujinx.HLE.HOS
{ {
class IdDictionary internal class IdDictionary
{ {
private ConcurrentDictionary<int, object> _objs; private ConcurrentDictionary<int, object> _objs;

View file

@ -2,7 +2,7 @@ using System.IO;
namespace Ryujinx.HLE.HOS.Ipc namespace Ryujinx.HLE.HOS.Ipc
{ {
struct IpcBuffDesc internal struct IpcBuffDesc
{ {
public long Position { get; private set; } public long Position { get; private set; }
public long Size { get; private set; } public long Size { get; private set; }

View file

@ -3,7 +3,7 @@ using System.IO;
namespace Ryujinx.HLE.HOS.Ipc namespace Ryujinx.HLE.HOS.Ipc
{ {
class IpcHandleDesc internal class IpcHandleDesc
{ {
public bool HasPId { get; private set; } public bool HasPId { get; private set; }

View file

@ -5,7 +5,7 @@ using System.IO;
namespace Ryujinx.HLE.HOS.Ipc namespace Ryujinx.HLE.HOS.Ipc
{ {
static class IpcHandler internal static class IpcHandler
{ {
public static long IpcCall( public static long IpcCall(
Switch device, Switch device,

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Ipc namespace Ryujinx.HLE.HOS.Ipc
{ {
abstract class IpcMagic internal abstract class IpcMagic
{ {
public const long Sfci = 'S' << 0 | 'F' << 8 | 'C' << 16 | 'I' << 24; public const long Sfci = 'S' << 0 | 'F' << 8 | 'C' << 16 | 'I' << 24;
public const long Sfco = 'S' << 0 | 'F' << 8 | 'C' << 16 | 'O' << 24; public const long Sfco = 'S' << 0 | 'F' << 8 | 'C' << 16 | 'O' << 24;

View file

@ -3,7 +3,7 @@ using System.IO;
namespace Ryujinx.HLE.HOS.Ipc namespace Ryujinx.HLE.HOS.Ipc
{ {
class IpcMessage internal class IpcMessage
{ {
public IpcMessageType Type { get; set; } public IpcMessageType Type { get; set; }

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Ipc namespace Ryujinx.HLE.HOS.Ipc
{ {
enum IpcMessageType internal enum IpcMessageType
{ {
Response = 0, Response = 0,
CloseSession = 2, CloseSession = 2,

View file

@ -2,7 +2,7 @@ using System.IO;
namespace Ryujinx.HLE.HOS.Ipc namespace Ryujinx.HLE.HOS.Ipc
{ {
struct IpcPtrBuffDesc internal struct IpcPtrBuffDesc
{ {
public long Position { get; private set; } public long Position { get; private set; }
public int Index { get; private set; } public int Index { get; private set; }

View file

@ -2,7 +2,7 @@ using System.IO;
namespace Ryujinx.HLE.HOS.Ipc namespace Ryujinx.HLE.HOS.Ipc
{ {
struct IpcRecvListBuffDesc internal struct IpcRecvListBuffDesc
{ {
public long Position { get; private set; } public long Position { get; private set; }
public long Size { get; private set; } public long Size { get; private set; }

View file

@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Ipc namespace Ryujinx.HLE.HOS.Ipc
{ {
delegate long ServiceProcessRequest(ServiceCtx context); internal delegate long ServiceProcessRequest(ServiceCtx context);
} }

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
enum AddressSpaceType internal enum AddressSpaceType
{ {
Addr32Bits = 0, Addr32Bits = 0,
Addr36Bits = 1, Addr36Bits = 1,

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
enum ArbitrationType internal enum ArbitrationType
{ {
WaitIfLessThan = 0, WaitIfLessThan = 0,
DecrementAndWaitIfLessThan = 1, DecrementAndWaitIfLessThan = 1,

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
static class DramMemoryMap internal static class DramMemoryMap
{ {
public const ulong DramBase = 0x80000000; public const ulong DramBase = 0x80000000;
public const ulong DramSize = 0x100000000; public const ulong DramSize = 0x100000000;

View file

@ -3,7 +3,7 @@ using System.Threading;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class HleCoreManager internal class HleCoreManager
{ {
private class PausableThread private class PausableThread
{ {

View file

@ -10,7 +10,7 @@ using System.Threading;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class HleProcessDebugger internal class HleProcessDebugger
{ {
private const int Mod0 = 'M' << 0 | 'O' << 8 | 'D' << 16 | '0' << 24; private const int Mod0 = 'M' << 0 | 'O' << 8 | 'D' << 16 | '0' << 24;

View file

@ -3,7 +3,7 @@ using System.Threading;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
partial class KScheduler internal partial class KScheduler
{ {
private const int RoundRobinTimeQuantumMs = 10; private const int RoundRobinTimeQuantumMs = 10;

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
interface IKFutureSchedulerObject internal interface IKFutureSchedulerObject
{ {
void TimeUp(); void TimeUp();
} }

View file

@ -5,7 +5,7 @@ using static Ryujinx.HLE.HOS.ErrorCode;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KAddressArbiter internal class KAddressArbiter
{ {
private const int HasListenersMask = 0x40000000; private const int HasListenersMask = 0x40000000;

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KAutoObject internal class KAutoObject
{ {
protected Horizon System; protected Horizon System;

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KClientPort : KSynchronizationObject internal class KClientPort : KSynchronizationObject
{ {
private int _sessionsCount; private int _sessionsCount;
private int _currentCapacity; private int _currentCapacity;

View file

@ -3,7 +3,7 @@ using System.Threading;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
static class KConditionVariable internal static class KConditionVariable
{ {
public static void Wait(Horizon system, LinkedList<KThread> threadList, object mutex, long timeout) public static void Wait(Horizon system, LinkedList<KThread> threadList, object mutex, long timeout)
{ {

View file

@ -3,7 +3,7 @@ using System;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KContextIdManager internal class KContextIdManager
{ {
private const int IdMasksCount = 8; private const int IdMasksCount = 8;

View file

@ -2,7 +2,7 @@ using Ryujinx.Common;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KCoreContext internal class KCoreContext
{ {
private KScheduler _scheduler; private KScheduler _scheduler;

View file

@ -3,7 +3,7 @@ using System.Threading;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KCriticalSection internal class KCriticalSection
{ {
private Horizon _system; private Horizon _system;

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KEvent internal class KEvent
{ {
public KReadableEvent ReadableEvent { get; private set; } public KReadableEvent ReadableEvent { get; private set; }
public KWritableEvent WritableEvent { get; private set; } public KWritableEvent WritableEvent { get; private set; }

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KHandleEntry internal class KHandleEntry
{ {
public KHandleEntry Next { get; set; } public KHandleEntry Next { get; set; }

View file

@ -2,7 +2,7 @@ using System;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KHandleTable internal class KHandleTable
{ {
private const int SelfThreadHandle = (0x1ffff << 15) | 0; private const int SelfThreadHandle = (0x1ffff << 15) | 0;
private const int SelfProcessHandle = (0x1ffff << 15) | 1; private const int SelfProcessHandle = (0x1ffff << 15) | 1;

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KMemoryArrange internal class KMemoryArrange
{ {
public KMemoryArrangeRegion Service { get; private set; } public KMemoryArrangeRegion Service { get; private set; }
public KMemoryArrangeRegion NvServices { get; private set; } public KMemoryArrangeRegion NvServices { get; private set; }

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
struct KMemoryArrangeRegion internal struct KMemoryArrangeRegion
{ {
public ulong Address { get; private set; } public ulong Address { get; private set; }
public ulong Size { get; private set; } public ulong Size { get; private set; }

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KMemoryBlock internal class KMemoryBlock
{ {
public ulong BaseAddress { get; set; } public ulong BaseAddress { get; set; }
public ulong PagesCount { get; set; } public ulong PagesCount { get; set; }

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KMemoryBlockAllocator internal class KMemoryBlockAllocator
{ {
private ulong _capacityElements; private ulong _capacityElements;

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KMemoryInfo internal class KMemoryInfo
{ {
public ulong Address { get; private set; } public ulong Address { get; private set; }
public ulong Size { get; private set; } public ulong Size { get; private set; }

View file

@ -5,7 +5,7 @@ using System.Collections.Generic;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KMemoryManager internal class KMemoryManager
{ {
public const int PageSize = 0x1000; public const int PageSize = 0x1000;

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KMemoryRegionBlock internal class KMemoryRegionBlock
{ {
public long[][] Masks; public long[][] Masks;

View file

@ -2,7 +2,7 @@ using Ryujinx.Common;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KMemoryRegionManager internal class KMemoryRegionManager
{ {
private static readonly int[] BlockOrders = new int[] { 12, 16, 21, 22, 25, 29, 30 }; private static readonly int[] BlockOrders = new int[] { 12, 16, 21, 22, 25, 29, 30 };

View file

@ -3,7 +3,7 @@ using System.Collections.Generic;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KPageList : IEnumerable<KPageNode> internal class KPageList : IEnumerable<KPageNode>
{ {
public LinkedList<KPageNode> Nodes { get; private set; } public LinkedList<KPageNode> Nodes { get; private set; }

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
struct KPageNode internal struct KPageNode
{ {
public ulong Address; public ulong Address;
public ulong PagesCount; public ulong PagesCount;

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KPort : KAutoObject internal class KPort : KAutoObject
{ {
public KServerPort ServerPort { get; private set; } public KServerPort ServerPort { get; private set; }
public KClientPort ClientPort { get; private set; } public KClientPort ClientPort { get; private set; }

View file

@ -10,7 +10,7 @@ using System.Threading;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KProcess : KSynchronizationObject internal class KProcess : KSynchronizationObject
{ {
public const int KernelVersionMajor = 10; public const int KernelVersionMajor = 10;
public const int KernelVersionMinor = 4; public const int KernelVersionMinor = 4;

View file

@ -2,7 +2,7 @@ using Ryujinx.Common;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KProcessCapabilities internal class KProcessCapabilities
{ {
public byte[] SvcAccessMask { get; private set; } public byte[] SvcAccessMask { get; private set; }
public byte[] IrqAccessMask { get; private set; } public byte[] IrqAccessMask { get; private set; }

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KReadableEvent : KSynchronizationObject internal class KReadableEvent : KSynchronizationObject
{ {
private KEvent _parent; private KEvent _parent;

View file

@ -3,7 +3,7 @@ using System.Collections.Generic;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KResourceLimit internal class KResourceLimit
{ {
private const int Time10SecondsMs = 10000; private const int Time10SecondsMs = 10000;

View file

@ -4,7 +4,7 @@ using System.Linq;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
partial class KScheduler : IDisposable internal partial class KScheduler : IDisposable
{ {
public const int PrioritiesCount = 64; public const int PrioritiesCount = 64;
public const int CpuCoresCount = 4; public const int CpuCoresCount = 4;

View file

@ -2,7 +2,7 @@ using System.Collections.Generic;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KSchedulingData internal class KSchedulingData
{ {
private LinkedList<KThread>[][] _scheduledThreadsPerPrioPerCore; private LinkedList<KThread>[][] _scheduledThreadsPerPrioPerCore;
private LinkedList<KThread>[][] _suggestedThreadsPerPrioPerCore; private LinkedList<KThread>[][] _suggestedThreadsPerPrioPerCore;

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KServerPort : KSynchronizationObject internal class KServerPort : KSynchronizationObject
{ {
private KPort _parent; private KPort _parent;

View file

@ -3,7 +3,7 @@ using System;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KSession : IDisposable internal class KSession : IDisposable
{ {
public IpcService Service { get; private set; } public IpcService Service { get; private set; }

View file

@ -2,7 +2,7 @@ using Ryujinx.Common;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KSharedMemory internal class KSharedMemory
{ {
private KPageList _pageList; private KPageList _pageList;

View file

@ -2,7 +2,7 @@ using System.Collections.Generic;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KSlabHeap internal class KSlabHeap
{ {
private LinkedList<ulong> _items; private LinkedList<ulong> _items;

View file

@ -4,7 +4,7 @@ using static Ryujinx.HLE.HOS.ErrorCode;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KSynchronization internal class KSynchronization
{ {
private Horizon _system; private Horizon _system;

View file

@ -2,7 +2,7 @@ using System.Collections.Generic;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KSynchronizationObject : KAutoObject internal class KSynchronizationObject : KAutoObject
{ {
public LinkedList<KThread> WaitingThreads; public LinkedList<KThread> WaitingThreads;

View file

@ -8,7 +8,7 @@ using static Ryujinx.HLE.HOS.ErrorCode;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KThread : KSynchronizationObject, IKFutureSchedulerObject internal class KThread : KSynchronizationObject, IKFutureSchedulerObject
{ {
public CpuThread Context { get; private set; } public CpuThread Context { get; private set; }

View file

@ -6,7 +6,7 @@ using System.Threading;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KTimeManager : IDisposable internal class KTimeManager : IDisposable
{ {
private class WaitingObject private class WaitingObject
{ {

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KTlsPageInfo internal class KTlsPageInfo
{ {
public const int TlsEntrySize = 0x200; public const int TlsEntrySize = 0x200;

View file

@ -2,7 +2,7 @@ using System;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KTlsPageManager internal class KTlsPageManager
{ {
private const int TlsEntrySize = 0x200; private const int TlsEntrySize = 0x200;

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KTransferMemory internal class KTransferMemory
{ {
public ulong Address { get; private set; } public ulong Address { get; private set; }
public ulong Size { get; private set; } public ulong Size { get; private set; }

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class KWritableEvent internal class KWritableEvent
{ {
private KEvent _parent; private KEvent _parent;

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
static class KernelErr internal static class KernelErr
{ {
public const int ThreadTerminating = 59; public const int ThreadTerminating = 59;
public const int InvalidSize = 101; public const int InvalidSize = 101;

View file

@ -2,7 +2,7 @@ using System;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
static class KernelInit internal static class KernelInit
{ {
public static void InitializeResourceLimit(KResourceLimit resourceLimit) public static void InitializeResourceLimit(KResourceLimit resourceLimit)
{ {

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
enum KernelResult internal enum KernelResult
{ {
Success = 0, Success = 0,
InvalidCapability = 0x1c01, InvalidCapability = 0x1c01,

View file

@ -2,7 +2,7 @@ using ChocolArm64.Memory;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
static class KernelTransfer internal static class KernelTransfer
{ {
public static bool UserToKernelInt32(Horizon system, long address, out int value) public static bool UserToKernelInt32(Horizon system, long address, out int value)
{ {

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
enum LimitableResource : byte internal enum LimitableResource : byte
{ {
Memory = 0, Memory = 0,
Thread = 1, Thread = 1,

View file

@ -3,7 +3,7 @@ using System;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
[Flags] [Flags]
enum MemoryAttribute : byte internal enum MemoryAttribute : byte
{ {
None = 0, None = 0,
Mask = 0xff, Mask = 0xff,

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
enum MemoryOperation internal enum MemoryOperation
{ {
MapPa, MapPa,
MapVa, MapVa,

View file

@ -3,7 +3,7 @@ using System;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
[Flags] [Flags]
enum MemoryPermission : byte internal enum MemoryPermission : byte
{ {
None = 0, None = 0,
Mask = 0xff, Mask = 0xff,

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
enum MemoryRegion internal enum MemoryRegion
{ {
Application = 0, Application = 0,
Applet = 1, Applet = 1,

View file

@ -3,7 +3,7 @@ using System;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
[Flags] [Flags]
enum MemoryState : uint internal enum MemoryState : uint
{ {
Unmapped = 0x00000000, Unmapped = 0x00000000,
Io = 0x00002001, Io = 0x00002001,

View file

@ -2,7 +2,7 @@ using Ryujinx.Common;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
class MersenneTwister internal class MersenneTwister
{ {
private int _index; private int _index;
private uint[] _mt; private uint[] _mt;

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
struct ProcessCreationInfo internal struct ProcessCreationInfo
{ {
public string Name { get; private set; } public string Name { get; private set; }

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
enum ProcessState : byte internal enum ProcessState : byte
{ {
Created = 0, Created = 0,
CreatedAttached = 1, CreatedAttached = 1,

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
enum SignalType internal enum SignalType
{ {
Signal = 0, Signal = 0,
SignalAndIncrementIfEqual = 1, SignalAndIncrementIfEqual = 1,

View file

@ -8,7 +8,7 @@ using System.Collections.Generic;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
partial class SvcHandler internal partial class SvcHandler
{ {
private delegate void SvcFunc(CpuThreadState threadState); private delegate void SvcFunc(CpuThreadState threadState);

View file

@ -5,7 +5,7 @@ using static Ryujinx.HLE.HOS.ErrorCode;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
partial class SvcHandler internal partial class SvcHandler
{ {
private void SvcSetHeapSize(CpuThreadState threadState) private void SvcSetHeapSize(CpuThreadState threadState)
{ {

View file

@ -12,7 +12,7 @@ using static Ryujinx.HLE.HOS.ErrorCode;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
partial class SvcHandler internal partial class SvcHandler
{ {
private void SvcExitProcess(CpuThreadState threadState) private void SvcExitProcess(CpuThreadState threadState)
{ {

View file

@ -5,7 +5,7 @@ using static Ryujinx.HLE.HOS.ErrorCode;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
partial class SvcHandler internal partial class SvcHandler
{ {
private void CreateThread64(CpuThreadState threadState) private void CreateThread64(CpuThreadState threadState)
{ {

View file

@ -6,7 +6,7 @@ using static Ryujinx.HLE.HOS.ErrorCode;
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
partial class SvcHandler internal partial class SvcHandler
{ {
private void SvcWaitSynchronization(CpuThreadState threadState) private void SvcWaitSynchronization(CpuThreadState threadState)
{ {

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
enum ThreadSchedState : ushort internal enum ThreadSchedState : ushort
{ {
LowMask = 0xf, LowMask = 0xf,
HighMask = 0xfff0, HighMask = 0xfff0,

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Kernel namespace Ryujinx.HLE.HOS.Kernel
{ {
enum ThreadType internal enum ThreadType
{ {
Dummy, Dummy,
Kernel, Kernel,

View file

@ -7,7 +7,7 @@ using Ryujinx.HLE.Loaders.Npdm;
namespace Ryujinx.HLE.HOS namespace Ryujinx.HLE.HOS
{ {
class ProgramLoader internal class ProgramLoader
{ {
private const bool AslrEnabled = true; private const bool AslrEnabled = true;

View file

@ -5,7 +5,7 @@ using System.IO;
namespace Ryujinx.HLE.HOS namespace Ryujinx.HLE.HOS
{ {
class ServiceCtx internal class ServiceCtx
{ {
public Switch Device { get; private set; } public Switch Device { get; private set; }
public KProcess Process { get; private set; } public KProcess Process { get; private set; }

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Services.Acc namespace Ryujinx.HLE.HOS.Services.Acc
{ {
static class AccErr internal static class AccErr
{ {
public const int UserNotFound = 100; public const int UserNotFound = 100;
} }

View file

@ -8,7 +8,7 @@ using static Ryujinx.HLE.HOS.ErrorCode;
namespace Ryujinx.HLE.HOS.Services.Acc namespace Ryujinx.HLE.HOS.Services.Acc
{ {
class IAccountService : IpcService internal class IAccountService : IpcService
{ {
private Dictionary<int, ServiceProcessRequest> _commands; private Dictionary<int, ServiceProcessRequest> _commands;

View file

@ -5,7 +5,7 @@ using System.Collections.Generic;
namespace Ryujinx.HLE.HOS.Services.Acc namespace Ryujinx.HLE.HOS.Services.Acc
{ {
class IManagerForApplication : IpcService internal class IManagerForApplication : IpcService
{ {
private UInt128 _uuid; private UInt128 _uuid;

Some files were not shown because too many files have changed in this diff Show more