Changeset 2ad7627 in mainline
- Timestamp:
- 2006-03-16T00:35:02Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8e75edf
- Parents:
- 2fb49101
- Location:
- generic
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/include/syscall/syscall.h
r2fb49101 r2ad7627 33 33 SYS_CTL = 0, 34 34 SYS_IO, 35 SYS_MMAP, 35 36 SYS_MREMAP, 36 37 SYS_IPC_CALL_SYNC_FAST, -
generic/src/syscall/syscall.c
r2fb49101 r2ad7627 58 58 59 59 60 static __native sys_mremap(void *address, size_t size, unsigned long flags) 60 static __native sys_mmap(void *address, size_t size, int flags) 61 { 62 if (as_area_create(AS, flags, size, (__address) address)) 63 return (__native) address; 64 else 65 return (__native) -1; 66 } 67 68 static __native sys_mremap(void *address, size_t size, int flags) 61 69 { 62 70 return as_remap(AS, (__address) address, size, 0); … … 66 74 sys_ctl, 67 75 sys_io, 76 sys_mmap, 68 77 sys_mremap, 69 78 sys_ipc_call_sync_fast,
Note:
See TracChangeset
for help on using the changeset viewer.