Changeset 8f80c77 in mainline for kernel/generic/src/mm


Ignore:
Timestamp:
2010-06-08T21:26:22Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1113c9e
Parents:
2d3ddad
Message:

Lock/interrupt assertions in the code are self-documenting. No need to have that information duplicated in the comments.

Location:
kernel/generic/src/mm
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/mm/as.c

    r2d3ddad r8f80c77  
    801801/** Check access mode for address space area.
    802802 *
    803  * The address space area must be locked prior to this call.
    804  *
    805803 * @param area   Address space area.
    806804 * @param access Access mode.
     
    12141212/** Compute flags for virtual address translation subsytem.
    12151213 *
    1216  * The address space area must be locked.
    1217  * Interrupts must be disabled.
    1218  *
    12191214 * @param area Address space area.
    12201215 *
     
    13161311
    13171312/** Find address space area and lock it.
    1318  *
    1319  * The address space must be locked and interrupts must be disabled.
    13201313 *
    13211314 * @param as Address space.
     
    13811374
    13821375/** Check area conflicts with other areas.
    1383  *
    1384  * The address space must be locked and interrupts must be disabled.
    13851376 *
    13861377 * @param as         Address space.
  • kernel/generic/src/mm/backend_elf.c

    r2d3ddad r8f80c77  
    269269 * Otherwise only portions of the area that are not backed by the ELF image
    270270 * are put into the pagemap.
    271  *
    272  * The address space and address space area must be locked prior to the call.
    273271 *
    274272 * @param area          Address space area.
  • kernel/generic/src/mm/page.c

    r2d3ddad r8f80c77  
    108108 * using flags. Allocate and setup any missing page tables.
    109109 *
    110  * The page table must be locked and interrupts must be disabled.
    111  *
    112110 * @param as    Address space to wich page belongs.
    113111 * @param page  Virtual address of the page to be mapped.
     
    138136 * this call visible.
    139137 *
    140  * The page table must be locked and interrupts must be disabled.
    141  *
    142138 * @param as   Address space to wich page belongs.
    143139 * @param page Virtual address of the page to be demapped.
     
    162158 * Find mapping for virtual page.
    163159 *
    164  * The page table must be locked and interrupts must be disabled.
    165  *
    166160 * @param as   Address space to wich page belongs.
    167161 * @param page Virtual page.
Note: See TracChangeset for help on using the changeset viewer.