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

Function Initialize

Kernel/src/net/interface.cpp:104–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 }
103
104 void Initialize(){
105 Scheduler::CreateChildThread(Scheduler::GetCurrentProcess(), (uintptr_t)InterfaceThread, (uintptr_t)kmalloc(NET_INTERFACE_STACKSIZE) + NET_INTERFACE_STACKSIZE, KERNEL_CS, KERNEL_SS);
106 }
107
108 void Send(void* data, size_t length){
109 mainAdapter->SendPacket(data, length);

Callers 1

InitializeConnectionsFunction · 0.70

Calls 3

CreateChildThreadFunction · 0.85
GetCurrentProcessFunction · 0.85
kmallocFunction · 0.85

Tested by

no test coverage detected