Subversion Repositories HelenOS

Rev

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

Rev 3240 Rev 3383
Line 868... Line 868...
868
     */
868
     */
869
    as_invalidate_translation_cache(as, area->base, area->pages);
869
    as_invalidate_translation_cache(as, area->base, area->pages);
870
    tlb_shootdown_finalize();
870
    tlb_shootdown_finalize();
871
 
871
 
872
    /*
872
    /*
-
 
873
     * Set the new flags.
-
 
874
     */
-
 
875
    area->flags = flags;
-
 
876
 
-
 
877
    /*
873
     * Map pages back in with new flags. This step is kept separate
878
     * Map pages back in with new flags. This step is kept separate
874
     * so that there's no instant when the memory area could be
879
     * so that there's no instant when the memory area could be
875
     * accesed with both the old and the new flags at once.
880
     * accesed with both the old and the new flags at once.
876
     */
881
     */
877
    frame_idx = 0;
882
    frame_idx = 0;