-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6797 from leoetlino/uid
Move all UID constants to a single file
- Loading branch information
Showing
11 changed files
with
67 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// Copyright 2018 Dolphin Emulator Project | ||
// Licensed under GPLv2+ | ||
// Refer to the license.txt file included. | ||
|
||
#pragma once | ||
|
||
#include "Common/CommonTypes.h" | ||
|
||
namespace IOS | ||
{ | ||
// IOS processes have their UID and GID set to their (hardcoded) PID. | ||
enum IOSUid : u32 | ||
{ | ||
PID_KERNEL = 0, | ||
PID_ES = 1, | ||
PID_FS = 2, | ||
PID_DI = 3, | ||
PID_OH0 = 4, | ||
PID_OH1 = 5, | ||
PID_EHCI = 6, | ||
PID_SDI = 7, | ||
PID_USBETH = 8, | ||
PID_NET = 9, | ||
PID_WD = 10, | ||
PID_WL = 11, | ||
PID_KD = 12, | ||
PID_NCD = 13, | ||
PID_STM = 14, | ||
PID_PPCBOOT = 15, | ||
PID_SSL = 16, | ||
PID_USB = 17, | ||
PID_P2P = 18, | ||
PID_UNKNOWN = 19, | ||
}; | ||
|
||
constexpr u32 FIRST_PPC_UID = 0x1000; | ||
|
||
constexpr u32 SYSMENU_UID = FIRST_PPC_UID; | ||
constexpr u16 SYSMENU_GID = 1; | ||
|
||
} // namespace IOS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters