Changeset b3f8fb7 in mainline for kernel/genarch/include/mm/page_ht.h


Ignore:
Timestamp:
2007-01-28T13:25:49Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8e8c1a5
Parents:
1ba41c5
Message:

huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/include/mm/page_ht.h

    r1ba41c5 rb3f8fb7  
    4040#define KERN_PAGE_HT_H_
    4141
     42#include <arch/types.h>
     43#include <mm/as.h>
    4244#include <mm/page.h>
    4345#include <synch/mutex.h>
    44 #include <arch/types.h>
    45 #include <adt/list.h>
    4646#include <adt/hash_table.h>
    4747
     
    6262#define SET_PTL0_ADDRESS(x)
    6363
    64 struct pte {
    65         link_t link;            /**< Page hash table link. */
    66         as_t *as;               /**< Address space. */
    67         uintptr_t page;         /**< Virtual memory page. */
    68         uintptr_t frame;        /**< Physical memory frame. */
    69         unsigned g : 1;         /**< Global page. */
    70         unsigned x : 1;         /**< Execute. */
    71         unsigned w : 1;         /**< Writable. */
    72         unsigned k : 1;         /**< Kernel privileges required. */
    73         unsigned c : 1;         /**< Cacheable. */
    74         unsigned a : 1;         /**< Accessed. */
    75         unsigned d : 1;         /**< Dirty. */
    76         unsigned p : 1;         /**< Present. */
    77 };
     64extern as_operations_t as_ht_operations;
     65extern page_mapping_operations_t ht_mapping_operations;
    7866
    79 extern page_mapping_operations_t ht_mapping_operations;
    8067extern mutex_t page_ht_lock;
    8168extern hash_table_t page_ht;
Note: See TracChangeset for help on using the changeset viewer.