Changeset fb84455 in mainline for arch/amd64/include/mm/page.h


Ignore:
Timestamp:
2006-05-27T13:35:32Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0ee077ee
Parents:
6bf18fa
Message:

Update page fault handlers to distinguish between different access modes that had caused the page fault.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/amd64/include/mm/page.h

    r6bf18fa rfb84455  
    104104#define PTE_PRESENT_ARCH(p)                     ((p)->present != 0)
    105105#define PTE_GET_FRAME_ARCH(p)                   ((((__address)(p)->addr_12_31)<<12) | ((__address)(p)->addr_32_51<<32))
     106#define PTE_WRITABLE_ARCH(p)                    ((p)->writeable != 0)
     107#define PTE_EXECUTABLE_ARCH(p)                  ((p)->no_execute == 0)
    106108
    107109#ifndef __ASM__
Note: See TracChangeset for help on using the changeset viewer.