tlb.hh (7781:a9f9eed35b18) tlb.hh (7799:5d0f62927d75)
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 70 unchanged lines hidden (view full) ---

79 UserMode = 0x40,
80 // Because zero otherwise looks like a valid setting and may be used
81 // accidentally, this bit must be non-zero to show it was used on
82 // purpose.
83 MustBeOne = 0x80
84 };
85 protected:
86
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 70 unchanged lines hidden (view full) ---

79 UserMode = 0x40,
80 // Because zero otherwise looks like a valid setting and may be used
81 // accidentally, this bit must be non-zero to show it was used on
82 // purpose.
83 MustBeOne = 0x80
84 };
85 protected:
86
87 TlbEntry *table; // the Page Table
88 int size; // TLB Size
87 TlbEntry *table; // the Page Table
88 int size; // TLB Size
89
89
90 uint32_t _attr; // Memory attributes for last accessed TLB entry
90 uint32_t _attr; // Memory attributes for last accessed TLB entry
91
92#if FULL_SYSTEM
93 TableWalker *tableWalker;
94#endif
95
96 /** Lookup an entry in the TLB
97 * @param vpn virtual address
98 * @param asn context id/address space id to use

--- 146 unchanged lines hidden ---
91
92#if FULL_SYSTEM
93 TableWalker *tableWalker;
94#endif
95
96 /** Lookup an entry in the TLB
97 * @param vpn virtual address
98 * @param asn context id/address space id to use

--- 146 unchanged lines hidden ---