diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2002-11-08 20:49:43 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2002-11-08 20:49:43 +0000 |
| commit | 845ee63965a8139d67cbc8a5a40f0aa7c3b3423e (patch) | |
| tree | 1d6c510b4038684e4b7a220ed60ca7302cd1c4c8 | |
| parent | f6af4ff6cb0e483217017691df2f1c0c739acf40 (diff) | |
Notes
| -rw-r--r-- | sys/alpha/include/bus.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/alpha/include/bus.h b/sys/alpha/include/bus.h index 27c9cdaaea659..784eda39922da 100644 --- a/sys/alpha/include/bus.h +++ b/sys/alpha/include/bus.h @@ -247,15 +247,15 @@ extern struct alpha_busspace *busspace_isa_mem; (void*)(a), c) #define memcpy_fromio(d, s, c) \ - bus_space_read_region_1(busspace_isa_mem, s, 0, d, c) + bus_space_read_region_1(busspace_isa_mem, (uintptr_t)(s), 0, d, c) #define memcpy_toio(d, s, c) \ - bus_space_write_region_1(busspace_isa_mem, d, 0, s, c) + bus_space_write_region_1(busspace_isa_mem, (uintptr_t)(d), 0, s, c) #define memcpy_io(d, s, c) \ - bus_space_copy_region_1(busspace_isa_mem, s, 0, d, 0, c) + bus_space_copy_region_1(busspace_isa_mem, (uintptr_t)(s), 0, d, 0, c) #define memset_io(d, v, c) \ - bus_space_set_region_1(busspace_isa_mem, d, 0, v, c) + bus_space_set_region_1(busspace_isa_mem, (uintptr_t)(d), 0, v, c) #define memsetw_io(d, v, c) \ - bus_space_set_region_2(busspace_isa_mem, d, 0, v, c) + bus_space_set_region_2(busspace_isa_mem, (uintptr_t)(d), 0, v, c) static __inline void memsetw(void *d, int val, size_t size) |
