Searched refs:ctx (Results 1 - 25 of 33) sorted by relevance

12

/gem5/util/
H A Dhgfilesize.py24 ctx = context.changectx(repo, rev)
25 for f in ctx.files():
26 if f not in ctx:
28 fctx = ctx.filectx(f)
31 (f, ctx, fctx.size(), limit))
/gem5/src/dev/arm/
H A Dgic_v2.hh218 uint32_t& getIntEnabled(ContextID ctx, uint32_t ix) { argument
220 return getBankedRegs(ctx).intEnabled;
231 uint32_t& getPendingInt(ContextID ctx, uint32_t ix) { argument
234 return getBankedRegs(ctx).pendingInt;
245 uint32_t& getActiveInt(ContextID ctx, uint32_t ix) {
248 return getBankedRegs(ctx).activeInt;
259 uint32_t& getIntGroup(ContextID ctx, uint32_t ix) {
262 return getBankedRegs(ctx).intGroup;
277 uint8_t& getIntPriority(ContextID ctx, uint32_t ix) {
280 return getBankedRegs(ctx)
[all...]
H A Dgic_v2.cc143 const ContextID ctx = pkt->req->contextId(); local
147 const uint32_t resp = readDistributor(ctx, daddr, pkt->getSize());
169 GicV2::readDistributor(ContextID ctx, Addr daddr, size_t resp_sz) argument
174 return getIntGroup(ctx, ix);
180 return getIntEnabled(ctx, ix);
186 return getIntEnabled(ctx, ix);
192 return getPendingInt(ctx, ix);
198 return getPendingInt(ctx, ix);
204 return getActiveInt(ctx, ix);
210 return getActiveInt(ctx, i
[all...]
H A Dbase_gic.hh118 virtual uint32_t readDistributor(ContextID ctx, Addr daddr) = 0;
119 virtual uint32_t readCpu(ContextID ctx, Addr daddr) = 0;
121 virtual void writeDistributor(ContextID ctx, Addr daddr,
123 virtual void writeCpu(ContextID ctx, Addr daddr, uint32_t data) = 0;
/gem5/src/base/
H A Dfiber.cc127 getcontext(&ctx);
128 ctx.uc_stack.ss_sp = stack;
129 ctx.uc_stack.ss_size = stackSize;
130 ctx.uc_link = nullptr;
131 makecontext(&ctx, &entryTrampoline, 0);
137 swapcontext(&_currentFiber->ctx, &ctx);
152 int ret M5_VAR_USED = swapcontext(&ctx, &_currentFiber->ctx);
180 swapcontext(&prev->ctx,
[all...]
H A Dremote_gdb.hh259 typedef bool (BaseRemoteGDB::*Func)(Context &ctx);
269 bool cmd_unsupported(GdbCommand::Context &ctx);
271 bool cmd_signal(GdbCommand::Context &ctx);
272 bool cmd_cont(GdbCommand::Context &ctx);
273 bool cmd_async_cont(GdbCommand::Context &ctx);
274 bool cmd_detach(GdbCommand::Context &ctx);
275 bool cmd_reg_r(GdbCommand::Context &ctx);
276 bool cmd_reg_w(GdbCommand::Context &ctx);
277 bool cmd_set_thread(GdbCommand::Context &ctx);
278 bool cmd_mem_r(GdbCommand::Context &ctx);
[all...]
H A Dremote_gdb.cc839 BaseRemoteGDB::cmd_unsupported(GdbCommand::Context &ctx) argument
841 DPRINTF(GDBMisc, "Unsupported command: %s\n", ctx.cmd->name);
842 DDUMP(GDBMisc, ctx.data, ctx.len);
848 BaseRemoteGDB::cmd_signal(GdbCommand::Context &ctx) argument
850 send(csprintf("S%02x", ctx.type).c_str());
855 BaseRemoteGDB::cmd_cont(GdbCommand::Context &ctx) argument
857 const char *p = ctx.data;
858 if (ctx.len) {
867 BaseRemoteGDB::cmd_async_cont(GdbCommand::Context &ctx) argument
880 cmd_detach(GdbCommand::Context &ctx) argument
887 cmd_reg_r(GdbCommand::Context &ctx) argument
897 cmd_reg_w(GdbCommand::Context &ctx) argument
911 cmd_set_thread(GdbCommand::Context &ctx) argument
921 cmd_mem_r(GdbCommand::Context &ctx) argument
945 cmd_mem_w(GdbCommand::Context &ctx) argument
969 cmd_query_var(GdbCommand::Context &ctx) argument
1052 cmd_async_step(GdbCommand::Context &ctx) argument
1065 cmd_step(GdbCommand::Context &ctx) argument
1077 cmd_clr_hw_bkpt(GdbCommand::Context &ctx) argument
1110 cmd_set_hw_bkpt(GdbCommand::Context &ctx) argument
[all...]
H A Dfiber.hh109 ucontext_t ctx; member in class:Fiber
/gem5/src/systemc/core/
H A Dprocess_types.hh59 Process(name, func, internal), ctx(nullptr)
62 ~Thread() { delete ctx; }
75 if (!ctx)
76 ctx = new Context(this, stackSize);
77 return ctx;
106 Context *ctx; member in class:sc_gem5::Thread
/gem5/src/arch/arm/kvm/
H A Dgic.cc141 KvmKernelGicV2::readDistributor(ContextID ctx, Addr daddr) argument
143 auto vcpu = vm.contextIdToVCpuId(ctx);
148 KvmKernelGicV2::readCpu(ContextID ctx, Addr daddr) argument
150 auto vcpu = vm.contextIdToVCpuId(ctx);
155 KvmKernelGicV2::writeDistributor(ContextID ctx, Addr daddr, uint32_t data) argument
157 auto vcpu = vm.contextIdToVCpuId(ctx);
162 KvmKernelGicV2::writeCpu(ContextID ctx, Addr daddr, uint32_t data) argument
164 auto vcpu = vm.contextIdToVCpuId(ctx);
288 ContextID ctx, Addr daddr)
290 auto val = from->readDistributor(ctx, dadd
287 copyDistRegister(BaseGicRegisters* from, BaseGicRegisters* to, ContextID ctx, Addr daddr) argument
296 copyCpuRegister(BaseGicRegisters* from, BaseGicRegisters* to, ContextID ctx, Addr daddr) argument
[all...]
H A Dgic.hh121 uint32_t readDistributor(ContextID ctx, Addr daddr) override;
122 uint32_t readCpu(ContextID ctx, Addr daddr) override;
124 void writeDistributor(ContextID ctx, Addr daddr,
126 void writeCpu(ContextID ctx, Addr daddr, uint32_t data) override;
212 ContextID ctx, Addr daddr);
214 ContextID ctx, Addr daddr);
/gem5/src/systemc/tests/systemc/datatypes/int/arith/arith02/
H A Disaac.h72 virtual void randinit(randctx* ctx, bool bUseSeed);
80 virtual void isaac(randctx* ctx);
135 inline void QTIsaac<ALPHA>::randinit(randctx* ctx, bool bUseSeed) argument
142 UINT32* m = (ctx->randmem);
143 UINT32* r = (ctx->randrsl);
147 ctx->randa = 0;
148 ctx->randb = 0;
149 ctx->randc = 0;
197 isaac(ctx); // fill in the first set of results
198 ctx
234 isaac(randctx* ctx) argument
[all...]
/gem5/src/systemc/tests/systemc/datatypes/int/arith/arith03/
H A Disaac.h72 virtual void randinit(randctx* ctx, bool bUseSeed);
80 virtual void isaac(randctx* ctx);
135 inline void QTIsaac<ALPHA>::randinit(randctx* ctx, bool bUseSeed) argument
142 UINT32* m = (ctx->randmem);
143 UINT32* r = (ctx->randrsl);
147 ctx->randa = 0;
148 ctx->randb = 0;
149 ctx->randc = 0;
197 isaac(ctx); // fill in the first set of results
198 ctx
234 isaac(randctx* ctx) argument
[all...]
/gem5/src/systemc/tests/systemc/datatypes/int/arith/arith04/
H A Disaac.h72 virtual void randinit(randctx* ctx, bool bUseSeed);
80 virtual void isaac(randctx* ctx);
135 inline void QTIsaac<ALPHA>::randinit(randctx* ctx, bool bUseSeed) argument
142 UINT32* m = (ctx->randmem);
143 UINT32* r = (ctx->randrsl);
147 ctx->randa = 0;
148 ctx->randb = 0;
149 ctx->randc = 0;
197 isaac(ctx); // fill in the first set of results
198 ctx
234 isaac(randctx* ctx) argument
[all...]
/gem5/src/systemc/tests/systemc/datatypes/int/arith/arith05/
H A Disaac.h72 virtual void randinit(randctx* ctx, bool bUseSeed);
80 virtual void isaac(randctx* ctx);
135 inline void QTIsaac<ALPHA>::randinit(randctx* ctx, bool bUseSeed) argument
142 UINT32* m = (ctx->randmem);
143 UINT32* r = (ctx->randrsl);
147 ctx->randa = 0;
148 ctx->randb = 0;
149 ctx->randc = 0;
197 isaac(ctx); // fill in the first set of results
198 ctx
234 isaac(randctx* ctx) argument
[all...]
/gem5/src/systemc/tests/systemc/datatypes/int/arith/arith06/
H A Disaac.h72 virtual void randinit(randctx* ctx, bool bUseSeed);
80 virtual void isaac(randctx* ctx);
135 inline void QTIsaac<ALPHA>::randinit(randctx* ctx, bool bUseSeed) argument
142 UINT32* m = (ctx->randmem);
143 UINT32* r = (ctx->randrsl);
147 ctx->randa = 0;
148 ctx->randb = 0;
149 ctx->randc = 0;
197 isaac(ctx); // fill in the first set of results
198 ctx
234 isaac(randctx* ctx) argument
[all...]
/gem5/src/systemc/tests/systemc/datatypes/int/arith/arith07/
H A Disaac.h72 virtual void randinit(randctx* ctx, bool bUseSeed);
80 virtual void isaac(randctx* ctx);
135 inline void QTIsaac<ALPHA>::randinit(randctx* ctx, bool bUseSeed) argument
142 UINT32* m = (ctx->randmem);
143 UINT32* r = (ctx->randrsl);
147 ctx->randa = 0;
148 ctx->randb = 0;
149 ctx->randc = 0;
197 isaac(ctx); // fill in the first set of results
198 ctx
234 isaac(randctx* ctx) argument
[all...]
/gem5/src/systemc/tests/systemc/datatypes/int/arith/arith08/
H A Disaac.h72 virtual void randinit(randctx* ctx, bool bUseSeed);
80 virtual void isaac(randctx* ctx);
135 inline void QTIsaac<ALPHA>::randinit(randctx* ctx, bool bUseSeed) argument
142 UINT32* m = (ctx->randmem);
143 UINT32* r = (ctx->randrsl);
147 ctx->randa = 0;
148 ctx->randb = 0;
149 ctx->randc = 0;
197 isaac(ctx); // fill in the first set of results
198 ctx
234 isaac(randctx* ctx) argument
[all...]
/gem5/src/systemc/tests/systemc/datatypes/int/arith/arith09/
H A Disaac.h72 virtual void randinit(randctx* ctx, bool bUseSeed);
80 virtual void isaac(randctx* ctx);
135 inline void QTIsaac<ALPHA>::randinit(randctx* ctx, bool bUseSeed) argument
142 UINT32* m = (ctx->randmem);
143 UINT32* r = (ctx->randrsl);
147 ctx->randa = 0;
148 ctx->randb = 0;
149 ctx->randc = 0;
197 isaac(ctx); // fill in the first set of results
198 ctx
234 isaac(randctx* ctx) argument
[all...]
/gem5/src/systemc/tests/systemc/datatypes/int/arith/arith10/
H A Disaac.h72 virtual void randinit(randctx* ctx, bool bUseSeed);
80 virtual void isaac(randctx* ctx);
135 inline void QTIsaac<ALPHA>::randinit(randctx* ctx, bool bUseSeed) argument
142 UINT32* m = (ctx->randmem);
143 UINT32* r = (ctx->randrsl);
147 ctx->randa = 0;
148 ctx->randb = 0;
149 ctx->randc = 0;
197 isaac(ctx); // fill in the first set of results
198 ctx
234 isaac(randctx* ctx) argument
[all...]
/gem5/src/systemc/tests/systemc/misc/sim_tests/manual_clock/
H A Disaac.h72 virtual void randinit(randctx* ctx, bool bUseSeed);
80 virtual void isaac(randctx* ctx);
135 inline void QTIsaac<ALPHA>::randinit(randctx* ctx, bool bUseSeed) argument
142 UINT32* m = (ctx->randmem);
143 UINT32* r = (ctx->randrsl);
147 ctx->randa = 0;
148 ctx->randb = 0;
149 ctx->randc = 0;
197 isaac(ctx); // fill in the first set of results
198 ctx
234 isaac(randctx* ctx) argument
[all...]
/gem5/src/systemc/tests/systemc/misc/user_guide/chpt7.1/
H A Disaac.h72 virtual void randinit(randctx* ctx, bool bUseSeed);
80 virtual void isaac(randctx* ctx);
135 inline void QTIsaac<ALPHA>::randinit(randctx* ctx, bool bUseSeed) argument
142 UINT32* m = (ctx->randmem);
143 UINT32* r = (ctx->randrsl);
147 ctx->randa = 0;
148 ctx->randb = 0;
149 ctx->randc = 0;
197 isaac(ctx); // fill in the first set of results
198 ctx
234 isaac(randctx* ctx) argument
[all...]
/gem5/src/systemc/tests/systemc/misc/user_guide/chpt7.2/
H A Disaac.h72 virtual void randinit(randctx* ctx, bool bUseSeed);
80 virtual void isaac(randctx* ctx);
135 inline void QTIsaac<ALPHA>::randinit(randctx* ctx, bool bUseSeed) argument
142 UINT32* m = (ctx->randmem);
143 UINT32* r = (ctx->randrsl);
147 ctx->randa = 0;
148 ctx->randb = 0;
149 ctx->randc = 0;
197 isaac(ctx); // fill in the first set of results
198 ctx
234 isaac(randctx* ctx) argument
[all...]
/gem5/src/systemc/tests/systemc/misc/v1.0/blv/
H A Disaac.h72 virtual void randinit(randctx* ctx, bool bUseSeed);
80 virtual void isaac(randctx* ctx);
135 inline void QTIsaac<ALPHA>::randinit(randctx* ctx, bool bUseSeed) argument
142 UINT32* m = (ctx->randmem);
143 UINT32* r = (ctx->randrsl);
147 ctx->randa = 0;
148 ctx->randb = 0;
149 ctx->randc = 0;
197 isaac(ctx); // fill in the first set of results
198 ctx
234 isaac(randctx* ctx) argument
[all...]
/gem5/src/systemc/tests/systemc/tracing/wif_trace/mixed/
H A Disaac.h72 virtual void randinit(randctx* ctx, bool bUseSeed);
80 virtual void isaac(randctx* ctx);
135 inline void QTIsaac<ALPHA>::randinit(randctx* ctx, bool bUseSeed) argument
142 UINT32* m = (ctx->randmem);
143 UINT32* r = (ctx->randrsl);
147 ctx->randa = 0;
148 ctx->randb = 0;
149 ctx->randc = 0;
197 isaac(ctx); // fill in the first set of results
198 ctx
234 isaac(randctx* ctx) argument
[all...]

Completed in 41 milliseconds

12