32 #ifndef __ARCH_AMDGPU_VEGA_PAGETABLE_H__
33 #define __ARCH_AMDGPU_VEGA_PAGETABLE_H__
95 bool uncacheable() {
return !pte.c; };
97 bool noExec() {
return !pte.x; };
103 : vmid(0), paddr(0),
vaddr(0), logBytes(
PageShift), pte(), lruSeq(0)
106 VegaTlbEntry(
Addr _vmid,
Addr _vaddr,
Addr _paddr,
unsigned _logBytes,
108 : vmid(_vmid), paddr(_paddr),
vaddr(_vaddr), logBytes(_logBytes),
115 return (
static_cast<Addr>(1) << logBytes);
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,...
Basic support for object serialization.
EndBitUnion(PageTableEntry) BitUnion64(PageDirectoryEntry) Bitfield< 63
BitUnion64(PageTableEntry) Bitfield< 58
The page table entry is reverse engineered from the macros here:
Bitfield< 11, 7 > fragment
Bitfield< 47, 6 > baseAddr
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
std::ostream CheckpointOut
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
void unserialize(ThreadContext &tc, CheckpointIn &cp)
void serialize(const ThreadContext &tc, CheckpointOut &cp)
Thread context serialization helpers.