MemoryFile returns the MemoryFile that provides application memory.
()
| 1936 | |
| 1937 | // MemoryFile returns the MemoryFile that provides application memory. |
| 1938 | func (k *Kernel) MemoryFile() *pgalloc.MemoryFile { |
| 1939 | return k.mf |
| 1940 | } |
| 1941 | |
| 1942 | // SupervisorContext returns a Context with maximum privileges in k. It should |
| 1943 | // only be used by goroutines outside the control of the emulated kernel |