VM: 64-bit mmap()
Some (backwards-compatible) changes in mmap() call message fields that allow for a 64-bit offset. minix_mmap() takes an off_t and minix_mmap64() takes a u64_t. Some mmap() work in VM goes into a separate function, using the new fields, so that that can be re-used when files are to be mapped (future commit). Change-Id: Ifb77a90b593dd3c33cf81b396068e4da1ec5fb1c
This commit is contained in:
+2
-1
@@ -942,8 +942,9 @@
|
||||
# define VMM_PROT m5_s1
|
||||
# define VMM_FLAGS m5_s2
|
||||
# define VMM_FD m5_i1
|
||||
# define VMM_OFFSET m5_i2
|
||||
# define VMM_OFFSET_LO m5_i2
|
||||
# define VMM_FORWHOM m5_l3
|
||||
# define VMM_OFFSET_HI m5_l3
|
||||
# define VMM_RETADDR m5_l1 /* result */
|
||||
#define VM_UMAP (VM_RQ_BASE+11)
|
||||
# define VMU_SEG m1_i1
|
||||
|
||||
Reference in New Issue
Block a user