From e757bb6a90c98f53995e4828d68eba26a2327540 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 1 Sep 2024 09:23:10 +0200 Subject: [ IMP ] Found out the issue of ring 3 switch. Signed-off-by: Amlal El Mahrouss --- dev/ZKA/NetworkKit/IPC.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'dev/ZKA/NetworkKit') diff --git a/dev/ZKA/NetworkKit/IPC.hxx b/dev/ZKA/NetworkKit/IPC.hxx index 069a2c66..d71248cf 100644 --- a/dev/ZKA/NetworkKit/IPC.hxx +++ b/dev/ZKA/NetworkKit/IPC.hxx @@ -19,12 +19,12 @@ /// @brief IPC EP protocol. /// IA separator. -#define cIPCEPRemoteSeparator ":" +#define cXPCOMRemoteSeparator ":" /// Interchange address, consists of PID:TEAM. -#define cIPCEPRemoteInvalid "00:00" +#define cXPCOMRemoteInvalid "00:00" -#define cIPCEPHeaderMagic (0x4950434) +#define cXPCOMHeaderMagic (0x4950434) namespace Kernel { @@ -61,7 +61,7 @@ namespace Kernel eIPCEPMixedEndian = 2, }; - constexpr auto cIPCEPMsgSize = 6094U; + constexpr auto cXPCOMMsgSize = 6094U; /// @brief IPC connection header, message cannot be greater than 6K. typedef struct IPC_MESSAGE_STRUCT final @@ -74,7 +74,7 @@ namespace Kernel UInt32 IpcCRC32; UInt32 IpcMsg; UInt32 IpcMsgSz; - UInt8 IpcData[cIPCEPMsgSize]; + UInt8 IpcData[cXPCOMMsgSize]; } PACKED IPC_MESSAGE_STRUCT; /// @brief Sanitize packet function -- cgit v1.2.3