~jakub/helenos/ia64-revival

« back to all changes in this revision

Viewing changes to kernel/arch/ppc32/include/mm/page.h

  • Committer: Jakub Jermar
  • Date: 2011-04-13 14:45:41 UTC
  • mfrom: (527.1.397 main-clone)
  • Revision ID: jakub@jermar.eu-20110413144541-x0j3r1zxqhsljx1o
MergeĀ mainlineĀ changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
#define KERN_ppc32_PAGE_H_
37
37
 
38
38
#include <arch/mm/frame.h>
 
39
#include <trace.h>
39
40
 
40
41
#define PAGE_WIDTH  FRAME_WIDTH
41
42
#define PAGE_SIZE   FRAME_SIZE
152
153
        unsigned int pfn : 20;                /**< Physical frame number. */
153
154
} pte_t;
154
155
 
155
 
static inline unsigned int get_pt_flags(pte_t *pt, size_t i)
 
156
NO_TRACE static inline unsigned int get_pt_flags(pte_t *pt, size_t i)
156
157
{
157
158
        pte_t *entry = &pt[i];
158
159
        
165
166
            (entry->global << PAGE_GLOBAL_SHIFT));
166
167
}
167
168
 
168
 
static inline void set_pt_flags(pte_t *pt, size_t i, int flags)
 
169
NO_TRACE static inline void set_pt_flags(pte_t *pt, size_t i, int flags)
169
170
{
170
171
        pte_t *entry = &pt[i];
171
172