summaryrefslogtreecommitdiffstats
path: root/drivers/parisc/eisa_enumerator.c
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-11-30 18:47:00 +0100
committerMiloslav Trmač <mitr@redhat.com>2010-11-30 18:47:00 +0100
commit0eda0e16d9e63d82b6dd96b6abe7042d50b6b308 (patch)
tree3a31216571ca15c7cd9ea57f83e0e7b4cdfc3f9c /drivers/parisc/eisa_enumerator.c
parent5eccbc32899a5e083700fc0ee4574a4a3f86d6ff (diff)
parent1bc8649e4645cce8e37151a899cedf8ee44dbdaa (diff)
downloadkernel-crypto-integration.tar.gz
kernel-crypto-integration.tar.xz
kernel-crypto-integration.zip
Merge branch 'bugfixes' into integrationintegration
Diffstat (limited to 'drivers/parisc/eisa_enumerator.c')
0 files changed, 0 insertions, 0 deletions
ntains three files: start : The start address (as hexadecimal number with the '0x' prefix). end : The end address, inclusive (regardless whether the firmware provides inclusive or exclusive ranges). type : Type of the entry as string. See below for a list of valid types. So, for example: /sys/firmware/memmap/0/start /sys/firmware/memmap/0/end /sys/firmware/memmap/0/type /sys/firmware/memmap/1/start ... Currently following types exist: - System RAM - ACPI Tables - ACPI Non-volatile Storage - reserved Following shell snippet can be used to display that memory map in a human-readable format: -------------------- 8< ---------------------------------------- #!/bin/bash cd /sys/firmware/memmap for dir in * ; do start=$(cat $dir/start) end=$(cat $dir/end) type=$(cat $dir/type) printf "%016x-%016x (%s)\n" $start $[ $end +1] "$type" done -------------------- >8 ----------------------------------------