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

Function bcm_get_bus_addr

freebsd/mips/broadcom/bcm_machdep.c:151–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151static bus_addr_t
152bcm_get_bus_addr(void)
153{
154 long maddr;
155
156 if (resource_long_value("bhnd", 0, "maddr", &maddr) == 0)
157 return ((u_long)maddr);
158
159 return (BHND_DEFAULT_CHIPC_ADDR);
160}
161
162static bus_size_t
163bcm_get_bus_size(void)

Callers 2

bcm_init_platform_dataFunction · 0.85

Calls 1

resource_long_valueFunction · 0.85

Tested by

no test coverage detected