Subversion Repositories HelenOS

Rev

Rev 3552 | Rev 3681 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3552 Rev 3562
Line 431... Line 431...
431
     * The caller wants to modify the segments first. He will then
431
     * The caller wants to modify the segments first. He will then
432
     * need to set the right access mode and ensure SMC coherence.
432
     * need to set the right access mode and ensure SMC coherence.
433
     */
433
     */
434
    if ((elf->flags & ELDF_RW) != 0) return EE_OK;
434
    if ((elf->flags & ELDF_RW) != 0) return EE_OK;
435
 
435
 
436
    printf("set area flags to %d\n", flags);
436
//  printf("set area flags to %d\n", flags);
437
    rc = as_area_change_flags((uint8_t *)entry->p_vaddr + bias, flags);
437
    rc = as_area_change_flags((uint8_t *)entry->p_vaddr + bias, flags);
438
    if (rc != 0) {
438
    if (rc != 0) {
439
        printf("failed to set memory area flags\n");
439
        printf("failed to set memory area flags\n");
440
        return EE_MEMORY;
440
        return EE_MEMORY;
441
    }
441
    }