Changes in kernel/arch/ia32/include/mm/page.h [17ccb9d7:d99c1d2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/include/mm/page.h
r17ccb9d7 rd99c1d2 27 27 */ 28 28 29 /** @addtogroup ia32mm 29 /** @addtogroup ia32mm 30 30 * @{ 31 31 */ … … 37 37 38 38 #include <arch/mm/frame.h> 39 #include <trace.h>40 39 41 40 #define PAGE_WIDTH FRAME_WIDTH … … 106 105 107 106 /* Set PTE flags accessors for each level. */ 108 #define SET_PTL1_FLAGS_ARCH(ptl0, i, x) 107 #define SET_PTL1_FLAGS_ARCH(ptl0, i, x) \ 109 108 set_pt_flags((pte_t *) (ptl0), (size_t) (i), (x)) 110 109 #define SET_PTL2_FLAGS_ARCH(ptl1, i, x) … … 162 161 } __attribute__ ((packed)) pte_t; 163 162 164 NO_TRACEstatic inline unsigned int get_pt_flags(pte_t *pt, size_t i)163 static inline unsigned int get_pt_flags(pte_t *pt, size_t i) 165 164 { 166 165 pte_t *p = &pt[i]; … … 175 174 } 176 175 177 NO_TRACEstatic inline void set_pt_flags(pte_t *pt, size_t i, int flags)176 static inline void set_pt_flags(pte_t *pt, size_t i, int flags) 178 177 { 179 178 pte_t *p = &pt[i]; … … 193 192 194 193 extern void page_arch_init(void); 195 extern void page_fault( unsigned int, istate_t *);194 extern void page_fault(int n, istate_t *istate); 196 195 197 196 #endif /* __ASM__ */
Note:
See TracChangeset
for help on using the changeset viewer.