MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / RegisterDevice

Function RegisterDevice

Kernel/src/device.cpp:122–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 }
121
122 void RegisterDevice(Device& dev){
123 devices.add_back(&dev);
124 }
125
126 FsNode* GetDevFS(){
127 return &devfs;

Callers 9

InitializeBasicDevicesFunction · 0.85
LateInitializeFunction · 0.85
ParseFunction · 0.85
InstallFunction · 0.85
InstallFunction · 0.85
PTYMethod · 0.85
InitFunction · 0.85
InitFunction · 0.85
DetectAndInitializeMethod · 0.85

Calls 1

add_backMethod · 0.45

Tested by

no test coverage detected