Fix typo, add missing prototype.
Add option to add memory to OS memList.