Subversion Repositories HelenOS-historic

Rev

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

Rev 901 Rev 967
Line 28... Line 28...
28
 */
28
 */
29
 
29
 
30
#ifndef __ia64_PAGE_H__
30
#ifndef __ia64_PAGE_H__
31
#define __ia64_PAGE_H__
31
#define __ia64_PAGE_H__
32
 
32
 
-
 
33
#include <arch/mm/frame.h>
-
 
34
 
33
#define PAGE_SIZE   FRAME_SIZE
35
#define PAGE_SIZE   FRAME_SIZE
34
#define PAGE_WIDTH  FRAME_WIDTH
36
#define PAGE_WIDTH  FRAME_WIDTH
35
 
37
 
-
 
38
 
-
 
39
#ifdef KERNEL
-
 
40
 
36
/** Bit width of the TLB-locked portion of kernel address space. */
41
/** Bit width of the TLB-locked portion of kernel address space. */
37
#define KERNEL_PAGE_WIDTH   28  /* 256M */
42
#define KERNEL_PAGE_WIDTH   28  /* 256M */
38
 
43
 
39
#define SET_PTL0_ADDRESS_ARCH(x)    /**< To be removed as situation permits. */
44
#define SET_PTL0_ADDRESS_ARCH(x)    /**< To be removed as situation permits. */
40
 
45
 
Line 263... Line 268...
263
 
268
 
264
extern vhpt_entry_t *vhpt_hash(__address page, asid_t asid);
269
extern vhpt_entry_t *vhpt_hash(__address page, asid_t asid);
265
extern bool vhpt_compare(__address page, asid_t asid, vhpt_entry_t *v);
270
extern bool vhpt_compare(__address page, asid_t asid, vhpt_entry_t *v);
266
extern void vhpt_set_record(vhpt_entry_t *v, __address page, asid_t asid, __address frame, int flags);
271
extern void vhpt_set_record(vhpt_entry_t *v, __address page, asid_t asid, __address frame, int flags);
267
 
272
 
-
 
273
#endif /* __ASM__ */
-
 
274
 
268
#endif
275
#endif /* KERNEL */
269
 
276
 
270
#endif
277
#endif