pagetable.hh (10905:a6ca6831e775) pagetable.hh (11320:42ecb523c64a)
1/*
2 * Copyright (c) 2006 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;

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

52 uint64_t entry;
53 bool populated;
54
55 public:
56 TteTag() : entry(0), populated(false) {}
57 TteTag(uint64_t e) : entry(e), populated(true) {}
58
59 const TteTag &
1/*
2 * Copyright (c) 2006 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;

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

52 uint64_t entry;
53 bool populated;
54
55 public:
56 TteTag() : entry(0), populated(false) {}
57 TteTag(uint64_t e) : entry(e), populated(true) {}
58
59 const TteTag &
60 operator=(uint64_t e)
60 operator=(uint64_t e)
61 {
62 populated = true;
63 entry = e;
64 return *this;
65 }
66
67 bool valid() const { assert(populated); return !bits(entry,62,62); }
68 Addr va() const { assert(populated); return bits(entry,41,0); }

--- 219 unchanged lines hidden ---
61 {
62 populated = true;
63 entry = e;
64 return *this;
65 }
66
67 bool valid() const { assert(populated); return !bits(entry,62,62); }
68 Addr va() const { assert(populated); return bits(entry,41,0); }

--- 219 unchanged lines hidden ---