summaryrefslogtreecommitdiffhomepage
path: root/dev/modules/CoreGfx
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-04-05 06:27:18 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-04-05 06:30:10 +0200
commit9b7a2a6461a463b08a120c660fcc64b46b65d417 (patch)
tree0f29fbbe829f4d276b0bc3088138c81157fc4c73 /dev/modules/CoreGfx
parent1142eb1ca0b0323e5f01e55a16e690346a99f018 (diff)
kernel: storage, modules, mbci: implement mbci_read_auth_key, mbci_test_mmio, test DMA on AHCI too.
- Alongside fixes for BootNet, SysChk, and refactor for KernelScheduler, and MemoryMgr. - IMPORTANT: Add MBCI specs. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/modules/CoreGfx')
-rw-r--r--dev/modules/CoreGfx/CoreAccess.h6
-rw-r--r--dev/modules/CoreGfx/CoreGfx.h9
-rw-r--r--dev/modules/CoreGfx/MathGfx.h2
3 files changed, 7 insertions, 10 deletions
diff --git a/dev/modules/CoreGfx/CoreAccess.h b/dev/modules/CoreGfx/CoreAccess.h
index adc9ed33..b3d17a59 100644
--- a/dev/modules/CoreGfx/CoreAccess.h
+++ b/dev/modules/CoreGfx/CoreAccess.h
@@ -4,8 +4,8 @@
------------------------------------------- */
-#ifndef GFX_MGR_ACCESSIBILITY_H
-#define GFX_MGR_ACCESSIBILITY_H
+#ifndef CORE_GFX_ACCESSIBILITY_H
+#define CORE_GFX_ACCESSIBILITY_H
#include <NewKit/NewKit.h>
#include <KernelKit/KPC.h>
@@ -38,4 +38,4 @@ namespace FB
};
} // namespace FB
-#endif // !GFX_MGR_ACCESSIBILITY_H_
+#endif // !CORE_GFX_ACCESSIBILITY_H_
diff --git a/dev/modules/CoreGfx/CoreGfx.h b/dev/modules/CoreGfx/CoreGfx.h
index df22fed0..eda52520 100644
--- a/dev/modules/CoreGfx/CoreGfx.h
+++ b/dev/modules/CoreGfx/CoreGfx.h
@@ -129,15 +129,13 @@
#define FBDrawInRegionA(clr, height, width, base_x, base_y)
#endif // __NE_AMD64__
-#ifndef GFX_MGR_ACCESSIBILITY_H
+#ifndef CORE_GFX_ACCESSIBILITY_H
#include <modules/CoreGfx/CoreAccess.h>
-#endif // ifndef GFX_MGR_ACCESSIBILITY_H
+#endif // ifndef CORE_GFX_ACCESSIBILITY_H
namespace FB
{
- struct FB_CONTROL_BLOCK;
-
- inline void fb_clear_video() noexcept
+ inline Void fb_clear_video() noexcept
{
fb_init();
@@ -146,5 +144,4 @@ namespace FB
fb_clear();
}
-
} // namespace FB \ No newline at end of file
diff --git a/dev/modules/CoreGfx/MathGfx.h b/dev/modules/CoreGfx/MathGfx.h
index 655903e2..f03e2f19 100644
--- a/dev/modules/CoreGfx/MathGfx.h
+++ b/dev/modules/CoreGfx/MathGfx.h
@@ -11,7 +11,7 @@
namespace UI
{
-#ifdef NE_GFX_MGR_USE_DOUBLE
+#ifdef NE_CORE_GFX_USE_DOUBLE
typedef double fb_real_t;
#else
typedef float fb_real_t;