| 237 | } |
| 238 | |
| 239 | static __inline u_int32_t |
| 240 | bus_space_read_4(bus_space_tag_t tag, bus_space_handle_t handle, |
| 241 | bus_size_t offset) |
| 242 | { |
| 243 | |
| 244 | if (tag == X86_BUS_SPACE_IO) |
| 245 | return (inl(handle + offset)); |
| 246 | return (*(volatile u_int32_t *)(handle + offset)); |
| 247 | } |
| 248 | |
| 249 | #ifdef __amd64__ |
| 250 | static __inline uint64_t |
no test coverage detected