Changeset b878df3 in mainline
- Timestamp:
- 2007-09-29T10:53:16Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0dc4258
- Parents:
- 07e4a3c
- Location:
- kernel/generic
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/mm/as.h
r07e4a3c rb878df3 273 273 extern int as_area_get_flags(as_area_t *area); 274 274 extern bool as_area_check_access(as_area_t *area, pf_access_t access); 275 extern size_t as_ get_size(uintptr_t base);275 extern size_t as_area_get_size(uintptr_t base); 276 276 extern int used_space_insert(as_area_t *a, uintptr_t page, count_t count); 277 277 extern int used_space_remove(as_area_t *a, uintptr_t page, count_t count); -
kernel/generic/src/ipc/sysipc.c
r07e4a3c rb878df3 257 257 break; 258 258 case IPC_M_AS_AREA_SEND: 259 size = as_ get_size(IPC_GET_ARG1(call->data));259 size = as_area_get_size(IPC_GET_ARG1(call->data)); 260 260 if (!size) 261 261 return EPERM; -
kernel/generic/src/mm/as.c
r07e4a3c rb878df3 1224 1224 } 1225 1225 1226 /** Return size of the address space area with given base. */ 1227 size_t as_get_size(uintptr_t base) 1226 /** Return size of the address space area with given base. 1227 * 1228 * @param base Arbitrary address insede the address space area. 1229 * 1230 * @return Size of the address space area in bytes or zero if it 1231 * does not exist. 1232 */ 1233 size_t as_area_get_size(uintptr_t base) 1228 1234 { 1229 1235 ipl_t ipl;
Note:
See TracChangeset
for help on using the changeset viewer.