Changes in uspace/lib/c/generic/elf/elf_load.c [24cf31f1:aa865ee] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/elf/elf_load.c
r24cf31f1 raa865ee 364 364 * and writeable. 365 365 */ 366 a = as_area_create((uint8_t *) 366 a = as_area_create((uint8_t *)base + bias, mem_sz, 367 367 AS_AREA_READ | AS_AREA_WRITE | AS_AREA_CACHEABLE); 368 if (a == (void *) -1) {368 if (a == (void *)(-1)) { 369 369 DPRINTF("memory mapping failed (0x%x, %d)\n", 370 base +bias, mem_sz);370 base+bias, mem_sz); 371 371 return EE_MEMORY; 372 372 }
Note:
See TracChangeset
for help on using the changeset viewer.