From ceabd82ac8e796249feacf39c836034ed5e11c6d Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 29 Nov 2025 15:01:34 -0500 Subject: chore: source code review and fixes. Signed-off-by: Amlal El Mahrouss --- src/kernel/ArchKit/ArchKit.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kernel/ArchKit') diff --git a/src/kernel/ArchKit/ArchKit.h b/src/kernel/ArchKit/ArchKit.h index 626f1e0b..63f8f406 100644 --- a/src/kernel/ArchKit/ArchKit.h +++ b/src/kernel/ArchKit/ArchKit.h @@ -45,7 +45,7 @@ inline SizeT rt_hash_seed(const Char* seed, UInt32 mul) { /// @param reg the register. /// @param value the write to write on it. template -inline Void ke_dma_write(UIntPtr base, DataKind reg, DataKind value) noexcept { +inline Void ke_dma_write(UIntPtr base, DataKind reg, DataKind value) { *(volatile DataKind*) (base + reg) = value; } @@ -54,7 +54,7 @@ inline Void ke_dma_write(UIntPtr base, DataKind reg, DataKind value) noexcept { /// @param reg the register. /// @return the value inside the register. template -inline UInt32 ke_dma_read(UIntPtr base, DataKind reg) noexcept { +inline UInt32 ke_dma_read(UIntPtr base, DataKind reg) { return *(volatile DataKind*) (base + reg); } -- cgit v1.2.3