libdriver: make partition code use a contiguous buffer

This commit is contained in:
David van Moolenbroek
2010-06-13 10:40:22 +00:00
parent 1b2c01db1b
commit eeab8e0680
5 changed files with 15 additions and 13 deletions

View File

@@ -33,7 +33,7 @@ void *alloc_contig(size_t len, int flags, phys_bytes *phys)
if(flags & AC_ALIGN64K)
mmapflags |= MAP_ALIGN64K;
/* First try to get memory with mmap. This is gauranteed
/* First try to get memory with mmap. This is guaranteed
* to be page-aligned, and we can tell VM it has to be
* pre-allocated and contiguous.
*/