MCPcopy Create free account
hub / github.com/apache/nuttx / sim_registerblockdevice

Function sim_registerblockdevice

arch/sim/src/sim/sim_blockdevice.c:56–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 ****************************************************************************/
55
56void sim_registerblockdevice(void)
57{
58 ramdisk_register(0, (uint8_t *)sim_deviceimage(), NSECTORS,
59 LOGICAL_SECTOR_SIZE, RDFLAG_WRENABLED | RDFLAG_FUNLINK);
60}

Callers 1

up_initializeFunction · 0.85

Calls 2

ramdisk_registerFunction · 0.85
sim_deviceimageFunction · 0.85

Tested by

no test coverage detected