diff options
| author | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-27 21:57:04 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-27 21:57:04 +0100 |
| commit | 2cf9f370d40a5c6512530c600292c5fac0410e11 (patch) | |
| tree | 964a997e4ba3285aac8e1ffde3d91bf7fefc7c36 /Private/KernelKit | |
| parent | 9b67443fe423bf6d84725183697a040e12296bce (diff) | |
Kernel: remove SFN, hanging interrupts and COM1 logging.
Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/KernelKit')
| -rw-r--r-- | Private/KernelKit/DriveManager.hpp | 2 | ||||
| -rw-r--r-- | Private/KernelKit/Rsrc/Util.hxx | 14 |
2 files changed, 7 insertions, 9 deletions
diff --git a/Private/KernelKit/DriveManager.hpp b/Private/KernelKit/DriveManager.hpp index d48b8aae..912c7fd9 100644 --- a/Private/KernelKit/DriveManager.hpp +++ b/Private/KernelKit/DriveManager.hpp @@ -43,8 +43,6 @@ struct DriveTraits final { DriveID fId; // Drive id. Int32 fFlags; // fReadOnly, fXPMDrive, fXPTDrive - Handle fDriveHandle; - //! for StorageKit. struct DrivePacket final { voidPtr fPacketContent; // packet body. diff --git a/Private/KernelKit/Rsrc/Util.hxx b/Private/KernelKit/Rsrc/Util.hxx index 336e0f74..03013888 100644 --- a/Private/KernelKit/Rsrc/Util.hxx +++ b/Private/KernelKit/Rsrc/Util.hxx @@ -4,26 +4,26 @@ // Last Rev // Sat Feb 24 CET 2024 -#define ResourceInit() HCore::SizeT uA = 0 -#define ResourceClear() uA = 0 +#define KeInitRsrc() HCore::SizeT uA = 0 +#define KeClearRsrc() uA = 0 /// @brief draws a resource. -#define DrawResource(ImgPtr, HandoverHeader, _Height, _Width, BaseX, BaseY) \ +#define KeDrawRsrc(ImgPtr, _Height, _Width, BaseX, BaseY) \ uA = 0; \ \ for (HCore::SizeT i = BaseX; i < _Height + BaseX; ++i) { \ for (HCore::SizeT u = BaseY; u < _Width + BaseY; ++u) { \ if (ImgPtr[uA] == 0) { \ - *(((volatile HCore::UInt32*)(HandoverHeader->f_GOP.f_The + \ + *(((volatile HCore::UInt32*)(kHandoverHeader->f_GOP.f_The + \ 4 * \ - HandoverHeader->f_GOP \ + kHandoverHeader->f_GOP \ .f_PixelPerLine * \ i + \ 4 * u))) |= ImgPtr[uA]; \ } else { \ - *(((volatile HCore::UInt32*)(HandoverHeader->f_GOP.f_The + \ + *(((volatile HCore::UInt32*)(kHandoverHeader->f_GOP.f_The + \ 4 * \ - HandoverHeader->f_GOP \ + kHandoverHeader->f_GOP \ .f_PixelPerLine * \ i + \ 4 * u))) = ImgPtr[uA]; \ |
