Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/include/mm/page.h

    r7a0359b r98000fb  
    3737
    3838#include <arch/mm/frame.h>
    39 #include <trace.h>
    4039
    4140#define PAGE_WIDTH      FRAME_WIDTH
     
    142141#include <arch/exception.h>
    143142
    144 /** Page Table Entry. */
    145 typedef struct {
    146         unsigned g : 1;                 /**< Global bit. */
    147         unsigned p : 1;                 /**< Present bit. */
    148         unsigned d : 1;                 /**< Dirty bit. */
    149         unsigned cacheable : 1;         /**< Cacheable bit. */
    150         unsigned : 1;                   /**< Unused. */
    151         unsigned soft_valid : 1;        /**< Valid content even if not present. */
    152         unsigned pfn : 24;              /**< Physical frame number. */
    153         unsigned w : 1;                 /**< Page writable bit. */
    154         unsigned a : 1;                 /**< Accessed bit. */
    155 } pte_t;
    156 
    157 
    158 NO_TRACE static inline unsigned int get_pt_flags(pte_t *pt, size_t i)
     143static inline int get_pt_flags(pte_t *pt, size_t i)
    159144{
    160145        pte_t *p = &pt[i];
     
    169154}
    170155
    171 NO_TRACE static inline void set_pt_flags(pte_t *pt, size_t i, int flags)
     156static inline void set_pt_flags(pte_t *pt, size_t i, int flags)
    172157{
    173158        pte_t *p = &pt[i];
Note: See TracChangeset for help on using the changeset viewer.