Create a syscall for drivers to be able to ask the kernel for a VMA that maps a MMIO area. Also expose vm_flags via j6 table style include file and new flags.h header.
10 lines
342 B
SQL
10 lines
342 B
SQL
VM_FLAG( none, 0x00000000)
|
|
VM_FLAG( write, 0x00000001)
|
|
VM_FLAG( exec, 0x00000002)
|
|
VM_FLAG( zero, 0x00000010)
|
|
VM_FLAG( contiguous, 0x00000020)
|
|
VM_FLAG( large_pages, 0x00000100)
|
|
VM_FLAG( huge_pages, 0x00000200)
|
|
VM_FLAG( write_combine, 0x00001000)
|
|
VM_FLAG( mmio, 0x00010000)
|