Deleted Added
sdiff udiff text old ( 8794:e2ac2b7164dd ) new ( 10558:426665ec11a9 )
full compact
1/*
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

99 uint8_t asn; // address space number
100 bool asma; // address space match
101 bool fonr; // fault on read
102 bool fonw; // fault on write
103 bool valid; // valid page table entry
104
105
106 //Construct an entry that maps to physical address addr.
107 TlbEntry(Addr _asn, Addr _vaddr, Addr _paddr)
108 {
109 VAddr vaddr(_vaddr);
110 VAddr paddr(_paddr);
111 tag = vaddr.vpn();
112 ppn = paddr.vpn();
113 xre = 15;
114 xwe = 15;
115 asn = _asn;
116 asma = false;
117 fonr = false;
118 fonw = false;
119 valid = true;
120 }
121
122 TlbEntry()
123 {}
124
125 void
126 updateVaddr(Addr new_vaddr)
127 {

--- 18 unchanged lines hidden ---