Changeset d5bd8d7 in mainline for kernel/generic/src/mm/backend_phys.c


Ignore:
Timestamp:
2007-03-25T13:02:06Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4638401
Parents:
0f6a3376
Message:

Fix coding style in the address space area backends.

File:
1 edited

Legend:

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

    r0f6a3376 rd5bd8d7  
    3333/**
    3434 * @file
    35  * @brief       Backend for address space areas backed by continuous physical memory.
     35 * @brief       Backend for address space areas backed by continuous physical
     36 *              memory.
    3637 */
    3738
     
    6364 * @param access Access mode that caused the fault (i.e. read/write/exec).
    6465 *
    65  * @return AS_PF_FAULT on failure (i.e. page fault) or AS_PF_OK on success (i.e. serviced).
     66 * @return AS_PF_FAULT on failure (i.e. page fault) or AS_PF_OK on success (i.e.
     67 * serviced).
    6668 */
    6769int phys_page_fault(as_area_t *area, uintptr_t addr, pf_access_t access)
     
    7375
    7476        ASSERT(addr - area->base < area->backend_data.frames * FRAME_SIZE);
    75         page_mapping_insert(AS, addr, base + (addr - area->base), as_area_get_flags(area));
     77        page_mapping_insert(AS, addr, base + (addr - area->base),
     78            as_area_get_flags(area));
    7679        if (!used_space_insert(area, ALIGN_DOWN(addr, PAGE_SIZE), 1))
    7780                panic("Could not insert used space.\n");
Note: See TracChangeset for help on using the changeset viewer.