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

Function GetHeader

Kernel/src/fs/initrd.cpp:146–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144 }
145
146 lemoninitfs_header_t* GetHeader() {
147 return &initrdHeader;
148 }
149
150 void* Read(int node) {
151 return (void*)(nodes[node].offset+(uintptr_t)initrd_address);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected