/gem5/src/arch/sparc/insts/ |
H A D | nop.cc | 6 // 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 D | init.cc | 12 * 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 D | Process.py | 6 # 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 D | pseudo_inst.hh | 12 * 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 D | faults.hh | 12 * 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 D | faults.cc | 12 * 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 D | InPortDeclAST.py | 7 # 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 D | Func.py | 7 # 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 D | types.hh | 177 * 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 D | cpack.hh | 7 * 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 D | types.cc | 12 * 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 D | GardenSnake.py | 18 # 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 D | isa_parser.py | 11 # 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 D | kernel_stats.hh | 7 * met: redistributions of source code must retain the above copyright 89 void callpal(int code, ThreadContext *tc);
|
H A D | kernel_stats.cc | 7 * 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 D | scall.S | 29 # This is the expected trap code.
|
/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64ui/ |
H A D | fence_i.S | 7 # Test self-modifying code and the fence.i instruction.
|
/gem5/src/arch/riscv/ |
H A D | faults.hh | 9 * 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 D | run.py | 11 # 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 D | m5ops.h | 7 * 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 D | gpu-hello.cpp | 10 * 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 D | test_macros.h | 13 #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 D | utility.hh | 12 * 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 D | lua_gem5Op.c | 6 * 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 D | vm.c | 44 static void terminate(int code) argument 46 do_tohost(code);
|