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

Function InitializeBasicDevices

Kernel/src/device.cpp:117–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115 DevFS devfs = DevFS("dev");
116
117 void InitializeBasicDevices(){
118 RegisterDevice(null);
119 RegisterDevice(urand);
120 }
121
122 void RegisterDevice(Device& dev){
123 devices.add_back(&dev);

Callers 1

kmainFunction · 0.85

Calls 1

RegisterDeviceFunction · 0.85

Tested by

no test coverage detected