flat_mem: import the code based upon MAPUX
authorAlan Cox <alan@linux.intel.com>
Thu, 11 Feb 2016 19:56:40 +0000 (19:56 +0000)
committerAlan Cox <alan@linux.intel.com>
Thu, 11 Feb 2016 19:56:40 +0000 (19:56 +0000)
commit30800ee40bb73a03af24c18b506304a2fabf12d4
tree20a32006bf2697fd45c1aae9486a964149c9946d
parentfa321184d784550cdfc4dc516acac37026e32843
flat_mem: import the code based upon MAPUX

Why invent when you can recycle 8)

This hopefully forms the basis of the bits we need for supporting devices
with a flat memory space, while handling fork and memory compaction and other
horrors a little bit.

It's a starting point. There are lots of things that would improve the
performance, and it can't handle multiple memory ranges yet.
Kernel/flat_mem.c [new file with mode: 0644]
Kernel/flat_mem.h [new file with mode: 0644]