diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-08-09 12:05:30 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-08-09 12:05:30 +0000 |
commit | 0b99672bc0af1eacf415e55e26371359469a6bab (patch) | |
tree | 4f610f94c35a9af6f9f58a19f971377e8865074a /sys/arch/i386 | |
parent | 01f61221078f570705ad22032827c1cb44ef0aac (diff) |
missing const in bus_space_write_region_*; niklas@ ok
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/include/bus.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/i386/include/bus.h b/sys/arch/i386/include/bus.h index 219ce0a26fe..71b90cd1ccd 100644 --- a/sys/arch/i386/include/bus.h +++ b/sys/arch/i386/include/bus.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bus.h,v 1.16 1999/08/04 23:17:40 niklas Exp $ */ +/* $OpenBSD: bus.h,v 1.17 1999/08/09 12:05:29 mickey Exp $ */ /* $NetBSD: bus.h,v 1.6 1996/11/10 03:19:25 thorpej Exp $ */ /*- @@ -439,7 +439,7 @@ void bus_space_free __P((bus_space_tag_t t, bus_space_handle_t bsh, */ #define bus_space_write_region_1(t, h, o, a, c) do { \ - int _port = (h)+(o); void *_addr=(a); int _cnt=(c); \ + int _port = (h)+(o); const void *_addr=(a); int _cnt=(c); \ if ((t) == I386_BUS_SPACE_IO) { \ __asm __volatile(" \ cld ; \ @@ -462,7 +462,7 @@ void bus_space_free __P((bus_space_tag_t t, bus_space_handle_t bsh, } while (0) #define bus_space_write_region_2(t, h, o, a, c) do { \ - int _port = (h)+(o); void *_addr=(a); int _cnt=(c); \ + int _port = (h)+(o); const void *_addr=(a); int _cnt=(c); \ if ((t) == I386_BUS_SPACE_IO) { \ __asm __volatile(" \ cld ; \ @@ -485,7 +485,7 @@ void bus_space_free __P((bus_space_tag_t t, bus_space_handle_t bsh, } while (0) #define bus_space_write_region_4(t, h, o, a, c) do { \ - int _port = (h)+(o); void *_addr=(a); int _cnt=(c); \ + int _port = (h)+(o); const void *_addr=(a); int _cnt=(c); \ if ((t) == I386_BUS_SPACE_IO) { \ __asm __volatile(" \ cld ; \ |