bootmem: add documentation to API functions