Subversion Repositories HelenOS

Rev

Rev 11 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11 Rev 105
Line 32... Line 32...
32
#include <arch/types.h>
32
#include <arch/types.h>
33
#include <arch/mm/frame.h>
33
#include <arch/mm/frame.h>
34
 
34
 
35
#define PAGE_SIZE   FRAME_SIZE
35
#define PAGE_SIZE   FRAME_SIZE
36
 
36
 
37
#define KA2PA(x)    (x)
37
#define KA2PA(x)    ((x) - 0x80000000)
38
#define PA2KA(x)    (x)
38
#define PA2KA(x)    ((x) + 0x80000000)
39
 
39
 
40
struct page_specifier {
40
struct page_specifier {
41
    unsigned present : 1;
41
    unsigned present : 1;
42
    unsigned writeable : 1;
42
    unsigned writeable : 1;
43
    unsigned uaccessible : 1;
43
    unsigned uaccessible : 1;