let drivers allocate memory at 64k physical boundary.

This commit is contained in:
Ben Gras
2009-02-12 12:26:08 +00:00
parent 6ac0338584
commit 59e972f074
8 changed files with 55 additions and 19 deletions

View File

@@ -19,6 +19,7 @@
#define MAP_PREALLOC 0x0008 /* not on-demand */
#define MAP_CONTIG 0x0010 /* contiguous in physical memory */
#define MAP_LOWER16M 0x0020 /* physically below 16MB */
#define MAP_ALIGN64K 0x0040 /* physically aligned at 64kB */
/* mmap() error return */
#define MAP_FAILED ((void *)-1)