summaryrefslogtreecommitdiffstats
path: root/fcp
Commit message (Collapse)AuthorAgeFilesLines
* fix high memory usage during any operation with '--buffer'Stewart Smith2017-11-309-76/+17
| | | | | | | | | | | | | | | | | | | | | The --buffer command line option was passed to setvbuf(3). Computers are fast enough and libc is good enough that we realistically do not need this. Hostboot's buildpnor.pl would pass --buffer 0x40000000 which resulted in a malloc(2GB), which would fail on systems with less than 2GB of memory because sometimes libc and the kernel are sane. So, we keep the command line option for backwards compatibility but completely ignore it. In the few places where it was used to allocate a buffer to do work in (and this was via a rather round-about way), we instead just allocate something the size of the PNOR image. Fixes: https://github.com/open-power/ffs/issues/7 Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* remove custom assert implementation and exception.cStewart Smith2015-12-159-9/+0
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Move to autotoolsStewart Smith2015-12-155-338/+0
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Support to compile in 64bit for Ubuntu Little EndianAdriana Kobylak2015-02-1810-100/+100
|
* Use correct (Apache) license.Brad Bishop2015-01-0717-227/+406
|
* Port FFS tools over from Building Block repository.Brad Bishop2014-07-0218-0/+4093
OpenPOWER on IntegriCloud