SetMemoryFile sets Kernel.mf. SetMemoryFile must be called before Init or LoadFrom.
(mf *pgalloc.MemoryFile)
| 1931 | // SetMemoryFile sets Kernel.mf. SetMemoryFile must be called before Init or |
| 1932 | // LoadFrom. |
| 1933 | func (k *Kernel) SetMemoryFile(mf *pgalloc.MemoryFile) { |
| 1934 | k.mf = mf |
| 1935 | } |
| 1936 | |
| 1937 | // MemoryFile returns the MemoryFile that provides application memory. |
| 1938 | func (k *Kernel) MemoryFile() *pgalloc.MemoryFile { |