// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org) // Licensed under the Apache License, Version 2.0 (see LICENSE file) // Official repository: https://github.com/nekernel-org/nekernel namespace Kernel { template T* DMAWrapper::operator->() { return this->fAddress; } template T* DMAWrapper::Get(UIntPtr offset) { return reinterpret_cast((UIntPtr) this->fAddress + offset); } } // namespace Kernel