Peter Krempa 3e4230d270 conf: Add interface to parse and format memory device information
This patch adds code that parses and formats configuration for memory
devices.

A simple configuration would be:
<memory model='dimm'>
  <target>
    <size unit='KiB'>524287</size>
    <node>0</node>
  </target>
</memory>

A complete configuration of a memory device:
<memory model='dimm'>
  <source>
    <pagesize unit='KiB'>4096</pagesize>
    <nodemask>1-3</nodemask>
  </source>
  <target>
    <size unit='KiB'>524287</size>
    <node>1</node>
  </target>
</memory>

This patch preemptively forbids use of the <memory> device in individual
drivers so the users are warned right away that the device is not
supported.
2015-03-23 14:25:15 +01:00
..
2014-12-02 07:30:10 +01:00
2014-12-02 07:30:10 +01:00
2015-03-23 09:01:30 +01:00
2015-03-23 09:01:30 +01:00
2014-03-01 23:44:58 +04:00
2014-10-06 13:15:31 +02:00
2014-03-03 17:41:26 +04:00
2013-12-02 10:21:26 +08:00
2014-12-10 11:21:31 +01:00
2014-12-02 07:30:10 +01:00
2014-03-01 23:44:58 +04:00
2014-12-02 07:30:10 +01:00
2015-03-02 11:40:05 +08:00
2014-12-02 07:30:10 +01:00
2013-12-02 10:21:26 +08:00
2013-09-12 17:18:32 +08:00
2014-12-02 07:30:10 +01:00