summaryrefslogtreecommitdiffhomepage
path: root/dev/Kernel/KernelKit/PCI
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-03-20 04:39:34 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-03-20 04:39:34 +0100
commit70711bdd91e331d3a7fa08d59adc38dd6eb0c55d (patch)
tree59bd7d606061fe399741b24645c3048c7fee3a16 /dev/Kernel/KernelKit/PCI
parent92ff857ada877f48cc07373737f50ed83c0507c4 (diff)
DMA.cc: Use UInt32 instead of UIntPtr for the offset.
Diffstat (limited to 'dev/Kernel/KernelKit/PCI')
-rw-r--r--dev/Kernel/KernelKit/PCI/DMA.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/Kernel/KernelKit/PCI/DMA.h b/dev/Kernel/KernelKit/PCI/DMA.h
index 9afa525d..68f3fa37 100644
--- a/dev/Kernel/KernelKit/PCI/DMA.h
+++ b/dev/Kernel/KernelKit/PCI/DMA.h
@@ -56,8 +56,8 @@ namespace NeOS
bool operator!();
public:
- bool Write(const UIntPtr& bit, const UIntPtr& offset);
- UIntPtr Read(const UIntPtr& offset);
+ bool Write(const UIntPtr& bit, const UInt32& offset);
+ UIntPtr Read(const UInt32& offset);
Boolean Check(UIntPtr offset) const;
public: