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

Function ram_identify

freebsd/x86/x86/nexus.c:765–773  ·  view source on GitHub ↗

Placeholder for system RAM. */

Source from the content-addressed store, hash-verified

763
764/* Placeholder for system RAM. */
765static void
766ram_identify(driver_t *driver, device_t parent)
767{
768
769 if (resource_disabled("ram", 0))
770 return;
771 if (BUS_ADD_CHILD(parent, 0, "ram", 0) == NULL)
772 panic("ram_identify");
773}
774
775static int
776ram_probe(device_t dev)

Callers

nothing calls this directly

Calls 2

resource_disabledFunction · 0.85
panicFunction · 0.50

Tested by

no test coverage detected