MCPcopy Create free account
hub / github.com/F-Stack/f-stack / bus_space_set_multi_4

Function bus_space_set_multi_4

freebsd/x86/include/bus.h:776–788  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

774}
775
776static __inline void
777bus_space_set_multi_4(bus_space_tag_t tag, bus_space_handle_t bsh,
778 bus_size_t offset, u_int32_t value, size_t count)
779{
780 bus_space_handle_t addr = bsh + offset;
781
782 if (tag == X86_BUS_SPACE_IO)
783 while (count--)
784 outl(addr, value);
785 else
786 while (count--)
787 *(volatile u_int32_t *)(addr) = value;
788}
789
790#if 0 /* Cause a link error for bus_space_set_multi_8 */
791#define bus_space_set_multi_8 !!! bus_space_set_multi_8 unimplemented !!!

Callers

nothing calls this directly

Calls 1

outlFunction · 0.50

Tested by

no test coverage detected