From 2111dbbeecd1bf73f2d27d9a0dd6eabeaa4c563a Mon Sep 17 00:00:00 2001 From: emilia Date: Sun, 27 Aug 2023 22:13:16 +0000 Subject: kernel: mmio: uintptr_t -> void * Changes argument type for mmio_write() as most MMIO addresses shall be passed as void * git-svn-id: https://svn.vegaa.systems/svn/vega-Vega/trunk@39 a8a8aea2-181d-ee11-89e8-15fd0e089fc4 --- sys/include/sys/mmio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/include/sys/mmio.h b/sys/include/sys/mmio.h index 65e423c..3df6fda 100644 --- a/sys/include/sys/mmio.h +++ b/sys/include/sys/mmio.h @@ -50,7 +50,7 @@ */ #define _MMIO_WRITE_TYPE(TYPE, SUFFIX) \ static inline void \ - mmio_write##SUFFIX(uintptr_t addr, TYPE val) \ + mmio_write##SUFFIX(void *addr, TYPE val) \ { \ if (addr < VM_HIGHER_HALF) { \ addr += VM_HIGHER_HALF; \ -- cgit v1.2.3