Generate Information on the provided e820 bios memory map
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
README
e820info.py

README

== e820info ==

Generates information from the input e820 bios map


== Usage ==

Get the data like so :

$ grep e820 /var/log/dmesg > data


$ python e820info.py example/data
 BIOS-e820: 0000000000010000 - 0000000000095400 (usable)  : 545792
 BIOS-e820: 0000000000100000 - 000000007f5f0000 (usable)  : 2135883776
 BIOS-e820: 000000007f62c000 - 000000007f62d000 (usable)  : 4096
 BIOS-e820: 0000000100000000 - 0000000880000000 (usable)  : 32212254720
 BIOS-e820: 0000002000000000 - 0000002800000000 (usable)  : 34359738368
 BIOS-e820: 0000004000000000 - 0000004800000000 (usable)  : 34359738368
 BIOS-e820: 0000006000000000 - 0000006800000000 (usable)  : 34359738368
 BIOS-e820: 0000008000000000 - 0000008800000000 (usable)  : 34359738368
 BIOS-e820: 000000a000000000 - 000000a800000000 (usable)  : 34359738368
 BIOS-e820: 000000c000000000 - 000000c800000000 (usable)  : 34359738368
Total : 240507118592

== Todo ==

* Make it work on newer kernels < 2.6.32
* Add information on the reserved maps