Searched refs:storage (Results 1 - 9 of 9) sorted by relevance

/gem5/src/arch/arm/linux/
H A Datag.hh60 uint32_t *storage; member in class:AtagHeader
74 storage = new uint32_t[size()];
79 delete[] storage;
84 storage[0] = null() ? 0 : size();
85 storage[1] = tag();
86 memcpy(p, storage, size() << 2);
97 void flags(uint32_t i) { storage[2] = i; }
98 void pagesize(uint32_t i) { storage[3] = i; }
99 void rootdev(uint32_t i) { storage[4] = i; }
111 void memSize(uint32_t i) { storage[
[all...]
/gem5/src/base/
H A Dbitunion.hh43 //both named and unnamed unions which all contain the same actual storage.
44 //Since they're unioned with each other, all of these storage locations
86 Type getter(const Storage &storage) const = delete;
87 void setter(Storage &storage, Type val) = delete;
169 getter(const Storage &storage) const
171 return bits(storage, first, last);
175 setter(Storage &storage, uint64_t val) argument
177 replaceBits(storage, first, last, val);
189 getter(const Storage &storage) const
191 return sext<first - last + 1>(bits(storage, firs
195 setter(Storage &storage, int64_t val) argument
[all...]
H A Dstatistics.hh492 * Templatized storage and interface for a simple scalar stat.
505 * Builds this storage element and calls the base constructor of the
553 * Templatized storage and interface to a per-tick average stat. This keeps
576 * Build and initializes this stat storage.
664 /** The storage of this stat. */
665 char storage[sizeof(Storage)] __attribute__ ((aligned (8)));
669 * Retrieve the storage.
671 * @return The storage object at the given index.
676 return reinterpret_cast<Storage *>(storage);
680 * Retrieve a const pointer to the storage
[all...]
H A Dbitunion.test.cc84 getter(const uint64_t &storage) const
87 In in = storage;
94 setter(uint64_t &storage, uint64_t val) argument
100 storage = in;
/gem5/src/arch/x86/regs/
H A Dmisc.hh875 getter(const uint64_t &storage) const
877 return (bits(storage, 63, 56) << 24) | bits(storage, 39, 16);
881 setter(uint64_t &storage, uint32_t base) argument
883 replaceBits(storage, 63, 56, bits(base, 31, 24));
884 replaceBits(storage, 39, 16, bits(base, 23, 0));
892 getter(const uint64_t &storage) const
894 uint32_t limit = (bits(storage, 51, 48) << 16) |
895 bits(storage, 15, 0);
896 if (bits(storage, 5
902 setter(uint64_t &storage, uint32_t limit) argument
[all...]
/gem5/src/cpu/pred/
H A Dtage_base.hh141 // Pointer to dynamically allocated storage
144 int *storage; member in struct:TAGEBase::BranchInfo
147 // allocated storage.
168 storage = new int [sz * 5];
169 tableIndices = storage;
170 tableTags = storage + sz;
178 delete[] storage;
/gem5/ext/mcpat/
H A Dbasic_components.cc56 storage = 0.0;
66 to_return.storage = lhs.storage + rhs.storage;
80 storage += rhs.storage;
H A Dbasic_components.h165 * per-component-instance basis. Currently, this includes the amount of storage
172 double storage; member in class:McPATOutput
/gem5/src/sim/
H A Dserialize.hh292 // Zero initialize storage to avoid leaking an uninitialized value
293 BitUnionBaseType<T> storage = BitUnionBaseType<T>(); local
294 auto res = to_number(s, storage);
295 value = storage;
303 auto storage = static_cast<BitUnionBaseType<T>>(value); local
305 // For a BitUnion8, the storage type is an unsigned char.
308 os << ((sizeof(storage) == 1) ?
309 static_cast<unsigned int>(storage) : storage);

Completed in 30 milliseconds