diff options
author | Ian Moffett <ian@osmora.org> | 2024-05-01 21:53:49 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-05-01 21:57:47 -0400 |
commit | c282dc146525a911044fea6cd5d851a742e9b342 (patch) | |
tree | f6c77748f42e739d10bfe9c54751cbad9bed14a5 /lib/libc/include/sys | |
parent | 3baafe30aa682b40a49c38b6b97fc077dd0033a3 (diff) |
kernel: vm_map: Ensure mmap len is always aligned
Physical memory pages to be allocated is 'len / GRANULE'. Previously, if
'len' was less than the machine page-size, the amount of pages to allocate
would be 0 causing the map to fail.
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/libc/include/sys')
0 files changed, 0 insertions, 0 deletions