diff options
author | emilia <emilia@vegaa.systems> | 2023-08-27 22:13:16 +0000 |
---|---|---|
committer | emilia <emilia@vegaa.systems> | 2023-08-27 22:13:16 +0000 |
commit | 2111dbbeecd1bf73f2d27d9a0dd6eabeaa4c563a (patch) | |
tree | 475f9dd0e2808f283d5f3ef08c46c33259938420 /sys | |
parent | 846f7bffcaa69f72bcbee43f95c4ba144a27c166 (diff) |
kernel: mmio: uintptr_t -> void *
Changes argument type for mmio_write<n>() 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
Diffstat (limited to 'sys')
-rw-r--r-- | sys/include/sys/mmio.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; \ |