diff options
author | obrien <obrien@FreeBSD.org> | 2003-02-23 19:54:16 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-02-23 19:54:16 +0000 |
commit | 3965f1d79a151a125be7fe0f25ba32e63d7d7e10 (patch) | |
tree | efad59b2c7b2f105fa226fdae84d3274397d54e4 /sys | |
parent | 7501a40564cdf7616e384e72fd6f396c4308b153 (diff) | |
download | FreeBSD-src-3965f1d79a151a125be7fe0f25ba32e63d7d7e10.zip FreeBSD-src-3965f1d79a151a125be7fe0f25ba32e63d7d7e10.tar.gz |
Add an empty bus_space_unmap() like Alpha has. puc(4) uses it.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sparc64/include/bus.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/sparc64/include/bus.h b/sys/sparc64/include/bus.h index 5cd08ab..776eacd 100644 --- a/sys/sparc64/include/bus.h +++ b/sys/sparc64/include/bus.h @@ -147,6 +147,17 @@ static void bus_space_barrier(bus_space_tag_t, bus_space_handle_t, bus_size_t, bus_size_t, int); static int bus_space_subregion(bus_space_tag_t, bus_space_handle_t, bus_size_t, bus_size_t, bus_space_handle_t *); +/* + * Unmap a region of device bus space. + */ +static __inline void bus_space_unmap(bus_space_tag_t t, bus_space_handle_t bsh, + bus_size_t size); + +static __inline void +bus_space_unmap(bus_space_tag_t t __unused, bus_space_handle_t bsh __unused, + bus_size_t size __unused) +{ +} /* This macro finds the first "upstream" implementation of method `f' */ #define _BS_CALL(t,f) \ |