Subversion Repositories HelenOS

Rev

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

Rev 749 Rev 751
Line 58... Line 58...
58
 
58
 
59
#define PPN_SHIFT           12
59
#define PPN_SHIFT           12
60
 
60
 
61
#define VRN_SHIFT           61
61
#define VRN_SHIFT           61
62
#define VRN_MASK            (7LL << VRN_SHIFT)
62
#define VRN_MASK            (7LL << VRN_SHIFT)
63
 
-
 
64
#define VRN_KERNEL          0
63
#define VRN_KERNEL          0
65
#define REGION_REGISTERS        8
64
#define REGION_REGISTERS        8
66
 
65
 
67
#define VHPT_WIDTH          20          /* 1M */
66
#define VHPT_WIDTH          20          /* 1M */
68
#define VHPT_SIZE           (1<<VHPT_WIDTH)
67
#define VHPT_SIZE           (1<<VHPT_WIDTH)
69
 
-
 
70
#define VHPT_BASE           page_ht     /* Must be aligned to VHPT_SIZE */
68
#define VHPT_BASE           page_ht     /* Must be aligned to VHPT_SIZE */
71
 
69
 
-
 
70
#define PTA_BASE_SHIFT          15
-
 
71
 
72
/** Memory Attributes. */
72
/** Memory Attributes. */
73
#define MA_WRITEBACK    0x0
73
#define MA_WRITEBACK    0x0
74
#define MA_UNCACHEABLE  0x4
74
#define MA_UNCACHEABLE  0x4
75
 
75
 
76
/** Privilege Levels. Only the most and the least privileged ones are ever used. */
76
/** Privilege Levels. Only the most and the least privileged ones are ever used. */