diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-29 15:09:24 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-29 15:09:24 -0500 |
| commit | 20d9401703bff7241645c9883828ad10beae6fa7 (patch) | |
| tree | e446d471a0eaf4ed7ac67e878ce4fb02334a2acb /src/kernel/ArchKit | |
| parent | a9019ecaaad76cb3569a6852dbc30c48c5436d1d (diff) | |
| parent | ceabd82ac8e796249feacf39c836034ed5e11c6d (diff) | |
Merge pull request #91 from nekernel-org/dev
dev->stable
Diffstat (limited to 'src/kernel/ArchKit')
| -rw-r--r-- | src/kernel/ArchKit/ArchKit.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 <typename DataKind> -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 <typename DataKind> -inline UInt32 ke_dma_read(UIntPtr base, DataKind reg) noexcept { +inline UInt32 ke_dma_read(UIntPtr base, DataKind reg) { return *(volatile DataKind*) (base + reg); } |
