Searched refs:code (Results 51 - 75 of 95) sorted by relevance

1234

/gem5/src/arch/sparc/insts/
H A Dnop.cc6 // met: redistributions of source code must retain the above copyright
84 def format Nop(code, *opt_flags) {{
85 iop = InstObjParams(name, Name, 'Nop', code, opt_flags)
/gem5/src/sim/
H A Dinit.cc12 * modified or unmodified, in source code or in binary form.
20 * met: redistributions of source code must retain the above copyright
79 const char *modpath, const unsigned char *code, int zlen, int len)
80 : filename(filename), abspath(abspath), modpath(modpath), code(code),
99 * Uncompress and unmarshal the code object stored in the
107 int ret = uncompress(marshalled, &unzlen, (const Bytef *)code, zlen);
109 panic("Could not uncompress code: %s\n", zError(ret));
118 PyObject *code = getCode(); local
120 PyCC("sssO"), filename, abspath, modpath, code);
78 EmbeddedPython(const char *filename, const char *abspath, const char *modpath, const unsigned char *code, int zlen, int len) argument
137 PyObject *code = importer->getCode(); local
[all...]
H A DProcess.py6 # met: redistributions of source code must retain the above copyright
68 def export_methods(cls, code):
69 code('bool map(Addr vaddr, Addr paddr, int sz, bool cacheable=true);')
H A Dpseudo_inst.hh12 * modified or unmodified, in source code or in binary form.
19 * met: redistributions of source code must retain the above copyright
56 * The ISA-specific code is responsible to decode the pseudo inst
82 void m5fail(ThreadContext *tc, Tick delay, uint64_t code);
/gem5/src/arch/x86/
H A Dfaults.hh12 * modified or unmodified, in source code or in binary form.
16 * met: redistributions of source code must retain the above copyright
326 PageFaultErrorCode code = 0; local
327 code.present = present;
328 code.write = (mode == BaseTLB::Write);
329 code.user = user;
330 code.reserved = reserved;
331 code.fetch = (mode == BaseTLB::Execute);
332 errorCode = code;
H A Dfaults.cc12 * modified or unmodified, in source code or in binary form.
19 * met: redistributions of source code must retain the above copyright
157 PageFaultErrorCode code = errorCode; local
159 if (code.fetch)
161 else if (code.write)
/gem5/src/mem/slicc/ast/
H A DInPortDeclAST.py7 # met: redistributions of source code must retain the above copyright
53 code = self.slicc.codeFormatter()
54 queue_type = self.var_expr.generate(code)
62 in_port = Var(self.symtab, self.ident, self.location, type, str(code),
/gem5/src/mem/slicc/symbols/
H A DFunc.py7 # met: redistributions of source code must retain the above copyright
91 code = self.symtab.codeFormatter()
103 code('''
110 return str(code)
/gem5/ext/nomali/lib/
H A Dtypes.hh177 * Class representing the subsystem a status code originates from.
189 Status(StatusClass cls, Code code, SubCode subcode) argument
190 : value((cls << 6) | (code << 3) | subcode) {
192 assert((code & ~0x7) == 0);
203 Code code() const { function in struct:NoMali::Status
/gem5/src/mem/cache/compressors/
H A Dcpack.hh7 * met: redistributions of source code must retain the above copyright
243 const uint8_t code; member in class:CPack::Pattern
246 * Length, in bits, of the code and match location.
266 * Get code of this pattern.
268 * @return The code.
270 uint8_t getCode() const { return code; }
277 * @param code Code associated to this pattern.
278 * @param metadata_length Length, in bits, of the code and match location.
282 Pattern(const PatternNumber number, const uint64_t code, argument
285 : patternNumber(number), code(cod
[all...]
/gem5/src/dev/ps2/
H A Dtypes.cc12 * modified or unmodified, in source code or in binary form.
16 * met: redistributions of source code must retain the above copyright
53 * is the scan code to send and upper byte is if a modifier is required to
90 uint8_t code = tmp & 0xff; local
98 keys.push_back(code);
106 keys.push_back(code);
/gem5/ext/ply/example/GardenSnake/
H A DGardenSnake.py18 # Python code. Plus, it's pretty cool that it only took a day or so
19 # from sitting down with Ply to having working code.
112 # them so the latter code never sees the WS part. Not consuming the
159 # previous code. The other is "at_line_start" which is True for WS
638 def parse(self, code):
639 self.lexer.input(code)
651 def compile(self, code, filename="<string>"):
652 tree = self.parser.parse(code)
657 code = gen.getCode()
658 return code
[all...]
/gem5/src/arch/
H A Disa_parser.py11 # modified or unmodified, in source code or in binary form.
19 # met: redistributions of source code must retain the above copyright
61 # Used to make nested code blocks look pretty.
67 # Munge a somewhat arbitrarily formatted piece of Python code
74 # indentation. Unfortunately the way code literals work, an entire
77 # 1:' to make the let code the nested block inside the if (and have
80 # We don't want to do this if (1) the code block is empty or (2) the
123 # in the templated C++ code)
227 # a defineInst() method that generates the code for an instruction
231 def __init__(self, id, params, code)
[all...]
/gem5/src/arch/alpha/
H A Dkernel_stats.hh7 * met: redistributions of source code must retain the above copyright
89 void callpal(int code, ThreadContext *tc);
H A Dkernel_stats.cc7 * met: redistributions of source code must retain the above copyright
208 Statistics::callpal(int code, ThreadContext *tc) argument
210 if (!PAL::name(code))
213 _callpal[code]++;
/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64si/
H A Dscall.S29 # This is the expected trap code.
/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64ui/
H A Dfence_i.S7 # Test self-modifying code and the fence.i instruction.
/gem5/src/arch/riscv/
H A Dfaults.hh9 * met: redistributions of source code must retain the above copyright
59 * exception (or interrupt) code in the least significant bits of the CAUSE
205 AddressFault(const Addr addr, ExceptionCode code) argument
206 : RiscvFault("Address", false, code), _addr(addr)
/gem5/tests/
H A Drun.py11 # modified or unmodified, in source code or in binary form.
18 # met: redistributions of source code must retain the above copyright
186 code = compile(open(abs_path, 'r').read(), abs_path, 'exec')
204 exec(code, scope)
/gem5/include/gem5/
H A Dm5ops.h7 * met: redistributions of source code must retain the above copyright
52 void m5_fail(uint64_t ns_delay, uint64_t code);
/gem5/tests/test-progs/gpu-hello/src/
H A Dgpu-hello.cpp10 * 1. Redistributions of source code must retain the above copyright notice,
67 const char *code = "hello"; variable
217 // 1a. code size
218 size_t code_size = strlen(code);
225 // 1b. code
226 status = clSetKernelArg(kernel, 1, sizeof(char *), (void *)&code);
/gem5/tests/test-progs/asmtest/src/riscv/isa/macros/scalar/
H A Dtest_macros.h13 #define TEST_CASE( testnum, testreg, correctval, code... ) \
15 code; \
20 # We use a macro hack to simpify code generation for various numbers
382 #define TEST_FP_OP_S_INTERNAL( testnum, flags, result, val1, val2, val3, code... ) \
390 code; \
404 #define TEST_FP_OP_D_INTERNAL( testnum, flags, result, val1, val2, val3, code... ) \
412 code; \
427 #define TEST_FP_OP_D32_INTERNAL( testnum, flags, result, val1, val2, val3, code... ) \
436 code; \
614 #define TEST_CASE_D32( testnum, testreg1, testreg2, correctval, code
[all...]
/gem5/src/arch/arm/
H A Dutility.hh12 * modified or unmodified, in source code or in binary form.
20 * met: redistributions of source code must retain the above copyright
70 testPredicate(uint32_t nz, uint32_t c, uint32_t v, ConditionCode code) argument
75 switch (code)
94 panic("Unhandled predicate condition: %d\n", code);
/gem5/util/m5/
H A Dlua_gem5Op.c6 * met: redistributions of source code must retain the above copyright
108 uint64_t code = lua_tointeger(L, 2); local
109 m5_fail(ns_delay, code);
/gem5/tests/test-progs/asmtest/src/riscv/env/v/
H A Dvm.c44 static void terminate(int code) argument
46 do_tohost(code);

Completed in 20 milliseconds

1234