Changeset e3c762cd in mainline for generic/include/mm/as.h


Ignore:
Timestamp:
2006-05-05T11:59:19Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
de07bcf
Parents:
22cf454d
Message:

Complete implementation of copy_from_uspace() and copy_to_uspace()
for amd64 and ia32. Other architectures still compile and run,
but need to implement their own assembly-only memcpy(), memcpy_from_uspace(),
memcpy_to_uspace() and their failover parts. For these architectures
only dummy implementations are provided.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/mm/as.h

    r22cf454d re3c762cd  
    6464#define AS_AREA_ATTR_PARTIAL    1       /* Not fully initialized area. */
    6565
     66#define AS_PF_FAULT             0       /**< The page fault was not resolved by asp_page_fault(). */
     67#define AS_PF_OK                1       /**< The page fault was resolved by as_page_fault(). */
     68#define AS_PF_DEFER             2       /**< The page fault was caused by memcpy_from_uspace(). */
     69
    6670/** Address space area structure.
    6771 *
     
    122126int as_area_send(task_id_t dst_id, __address base);
    123127extern void as_set_mapping(as_t *as, __address page, __address frame);
    124 extern int as_page_fault(__address page);
     128extern int as_page_fault(__address page, istate_t *istate);
    125129extern void as_switch(as_t *old, as_t *new);
    126130extern void as_free(as_t *as);
Note: See TracChangeset for help on using the changeset viewer.