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.
#define BitUnion64(name)
Use this to define conveniently sized values overlayed with bitfields.
#define EndBitUnion(name)
This closes off the class and union started by the above macro.
Bitfield< 11, 7 > fragment
Bitfield< 47, 6 > baseAddr
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
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.