summaryrefslogtreecommitdiff
path: root/utils/memdiskfind.c
Commit message (Collapse)AuthorAgeFilesLines
* memdiskfind: remove debugging printfH. Peter Anvin2010-06-221-2/+0
| | | | | | Remove accidentally checked in debugging printf. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* memdiskfind: make sure we don't map unavailable RAMH. Peter Anvin2010-06-221-6/+38
| | | | | | | | | Sometimes FBM is below the reserved memory limit, which means memory that is available to protected-mode operating systems only and which will be claimed by the kernel and therefore be unmappable. Read /proc/iomem to make sure the memory range is safe to map. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* memdisk: add a sector_shift field to the MDI; fix memdiskfindH. Peter Anvin2010-06-221-1/+7
| | | | | | | Add a sector_shift field to the MDI rather than assuming 512-byte sectors. Fix memdiskfind to report size in bytes, not in sectors. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* memdiskfind: sanity check the FBM valueH. Peter Anvin2010-06-211-1/+4
| | | | Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* memdiskfind: utility to find an mBFT and output phram parametersH. Peter Anvin2010-06-211-0/+119
A trivial Linux utility to search for mBFT and output its parameters in a form which can be used as input to the phram Linux kernel module. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>