Changeset 567807b1 in mainline for generic/include/mm/page.h


Ignore:
Timestamp:
2006-05-24T17:03:29Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8d6bc2d5
Parents:
82da5f5
Message:

Modify the hierarchy of page fault handlers to pass access mode that caused the fault.
Architectures are required to pass either PF_ACCESS_READ, PF_ACCESS_WRITE or PF_ACCESS_EXEC
to as_page_fault(), depending on the cause of the fault.

File:
1 edited

Legend:

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

    r82da5f5 r567807b1  
    6161#define PAGE_GLOBAL             (1<<PAGE_GLOBAL_SHIFT)
    6262
     63/** Page fault access type. */
     64enum pf_access {
     65        PF_ACCESS_READ,
     66        PF_ACCESS_WRITE,
     67        PF_ACCESS_EXEC
     68};
     69typedef enum pf_access pf_access_t;
     70
    6371/** Operations to manipulate page mappings. */
    6472struct page_mapping_operations {
Note: See TracChangeset for help on using the changeset viewer.