From df8a42aa1266d953a9ee473afe9f6349bd1837c7 Mon Sep 17 00:00:00 2001 From: Amlal Date: Sun, 8 Sep 2024 08:18:37 +0200 Subject: [dev/FeatureAdd] Add mm_new_class, as C++ new doesn't initialize class directly. [dev/FeatureFix] CR2 set to invalid address due to stack corruption, fixing that. Signed-off-by: Amlal --- dev/ZKA/Modules/MBCI/MBCI.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'dev/ZKA/Modules') diff --git a/dev/ZKA/Modules/MBCI/MBCI.hxx b/dev/ZKA/Modules/MBCI/MBCI.hxx index 6e15762e..8f6a7f01 100644 --- a/dev/ZKA/Modules/MBCI/MBCI.hxx +++ b/dev/ZKA/Modules/MBCI/MBCI.hxx @@ -26,11 +26,11 @@ namespace Kernel { - struct MBCIHostInterface; - struct MBCIHostInterfacePacketFrame; + struct IMBCIHost; + struct IMBCIHostPacketFrame; /// @brief MBCI Packet frame header - struct PACKED MBCIHostInterfacePacketFrame final + struct PACKED IMBCIHostPacketFrame final { UInt32 Magic; UInt32 HostId; @@ -51,7 +51,7 @@ namespace Kernel }; /// @brief MBCI Host Interface header. - struct PACKED MBCIHostInterface final + struct PACKED IMBCIHost final { UInt32 Magic; UInt32 HostId; -- cgit v1.2.3