summaryrefslogtreecommitdiff
path: root/sys/include/arch/amd64/io.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-05-01 21:53:49 -0400
committerIan Moffett <ian@osmora.org>2024-05-01 21:57:47 -0400
commitc282dc146525a911044fea6cd5d851a742e9b342 (patch)
treef6c77748f42e739d10bfe9c54751cbad9bed14a5 /sys/include/arch/amd64/io.h
parent3baafe30aa682b40a49c38b6b97fc077dd0033a3 (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 'sys/include/arch/amd64/io.h')
0 files changed, 0 insertions, 0 deletions