summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/ArchKit
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/ArchKit')
-rw-r--r--src/kernel/ArchKit/ArchKit.h4
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);
}