Changeset b3f8fb7 in mainline for kernel/generic/include/mm/tlb.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/generic/include/mm/tlb.h

    r1ba41c5 rb3f8fb7  
    3838#include <arch/mm/asid.h>
    3939#include <arch/types.h>
    40 #include <typedefs.h>
    4140
    4241/**
     
    4746
    4847/** Type of TLB shootdown message. */
    49 enum tlb_invalidate_type {
     48typedef enum {
    5049        TLB_INVL_INVALID = 0,           /**< Invalid type. */
    5150        TLB_INVL_ALL,                   /**< Invalidate all entries in TLB. */
    5251        TLB_INVL_ASID,                  /**< Invalidate all entries belonging to one address space. */
    5352        TLB_INVL_PAGES                  /**< Invalidate specified page range belonging to one address space. */
    54 };
    55 typedef enum tlb_invalidate_type tlb_invalidate_type_t;
     53} tlb_invalidate_type_t;
    5654
    5755/** TLB shootdown message. */
    58 struct tlb_shootdown_msg {
     56typedef struct {
    5957        tlb_invalidate_type_t type;     /**< Message type. */
    6058        asid_t asid;                    /**< Address space identifier. */
    6159        uintptr_t page;                 /**< Page address. */
    6260        count_t count;                  /**< Number of pages to invalidate. */
    63 };
    64 typedef struct tlb_shootdown_msg tlb_shootdown_msg_t;
     61} tlb_shootdown_msg_t;
    6562
    6663extern void tlb_init(void);
Note: See TracChangeset for help on using the changeset viewer.