Changeset 7f5b37a in mainline for libc/generic/ddi.c
- Timestamp:
- 2006-05-28T10:05:03Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0b99e40
- Parents:
- 01ff41c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libc/generic/ddi.c
r01ff41c r7f5b37a 40 40 * @param vp Virtual address of the sterting page. 41 41 * @param pages Number of pages to map. 42 * @param writable If true, the mapping will be created writable.42 * @param flags Flags for the new address space area. 43 43 * 44 44 * @return 0 on success, EPERM if the caller lacks the CAP_MEM_MANAGER capability, … … 46 46 * was some problem in creating address space area. 47 47 */ 48 int map_physmem(task_id_t id, void *pf, void *vp, unsigned long pages, int writable)48 int map_physmem(task_id_t id, void *pf, void *vp, unsigned long pages, int flags) 49 49 { 50 50 task_id_t task_id; … … 55 55 arg.virt_base = vp; 56 56 arg.pages = pages; 57 arg. writable = writable;57 arg.flags = flags; 58 58 59 59 return __SYSCALL1(SYS_MAP_PHYSMEM, (sysarg_t) &arg);
Note:
See TracChangeset
for help on using the changeset viewer.