summaryrefslogtreecommitdiff
path: root/sys/dev/clockctl.c
diff options
context:
space:
mode:
authordyoung <dyoung@NetBSD.org>2010-04-28 19:17:03 +0000
committerdyoung <dyoung@NetBSD.org>2010-04-28 19:17:03 +0000
commit30b2d68d20ff9f4bf182ba96df108cec01e1b0df (patch)
tree5e231dcd38ede2dbe2c6d60f6101074413f7389a /sys/dev/clockctl.c
parentd184555b354020d071306e7255762d618c9977d1 (diff)
On x86, change the bus_space_tag_t to a pointer to a struct
bus_space_tag. For now, bus_space_tag's only member is bst_type, the type of space, which is either X86_BUS_SPACE_IO or X86_BUS_SPACE_MEM. In the future, new bus_space_tag members will refer to override-functions installed by a new function, bus_space_tag_create(9). Add pointers to constant struct bus_space_tag, x86_bus_space_io and x86_bus_space_mem. Use them to replace most uses of X86_BUS_SPACE_IO and X86_BUS_SPACE_MEM. Add an x86-specific bus_space_is_equal(9) implementation that compares the two tags' bst_type.
Diffstat (limited to 'sys/dev/clockctl.c')
0 files changed, 0 insertions, 0 deletions