Lines Matching refs:uint64_t

31 	static constexpr uint64_t kTypeMask = 0x3u;
33 static constexpr uint64_t kTypeInvalid = 0x0u;
34 static constexpr uint64_t kTypeBlock = 0x1u;
35 static constexpr uint64_t kTypeTable = 0x3u;
36 static constexpr uint64_t kTypePage = 0x3u;
40 static constexpr uint64_t TABLE_PXN = (1UL << 59);
41 static constexpr uint64_t TABLE_XN = (1UL << 60);
42 static constexpr uint64_t TABLE_AP = (1UL << 61);
43 static constexpr uint64_t TABLE_NS = (1UL << 63);
44 static constexpr uint64_t BLOCK_PXN = (1UL << 53);
45 static constexpr uint64_t BLOCK_UXN = (1UL << 54);
49 static constexpr uint64_t BLOCK_NS = (1 << 5);
50 static constexpr uint64_t BLOCK_NON_SHARE = (0 << 8);
51 static constexpr uint64_t BLOCK_OUTER_SHARE = (2 << 8);
52 static constexpr uint64_t BLOCK_INNER_SHARE = (3 << 8);
53 static constexpr uint64_t BLOCK_AF = (1UL << 10);
54 static constexpr uint64_t BLOCK_NG = (1UL << 11);
67 ARMv8TranslationTableDescriptor(uint64_t* descriptor)
71 ARMv8TranslationTableDescriptor(uint64_t descriptor)
72 : fDescriptor(reinterpret_cast<uint64_t*>(descriptor))
92 uint64_t* Dereference() {
95 return reinterpret_cast<uint64_t*>((*fDescriptor) & 0x0000fffffffff000ULL);
100 void SetToTable(uint64* descriptor, uint64_t attributes) {
101 *fDescriptor = reinterpret_cast<uint64_t>(descriptor) | kTypeTable;
104 void SetAsPage(uint64_t* physical, uint64_t attributes) {
105 *fDescriptor = CleanAttributes(reinterpret_cast<uint64_t>(physical)) | attributes | kTypePage;
108 void SetAsBlock(uint64_t* physical, uint64_t attributes) {
109 *fDescriptor = CleanAttributes(reinterpret_cast<uint64_t>(physical)) | attributes | kTypeBlock;
125 return reinterpret_cast<uint64_t>(fDescriptor);
134 uint64_t* fDescriptor;