SConscript (2874:5389a28b80fb) | SConscript (2921:e6bb350c3fa5) |
---|---|
1# -*- mode:python -*- 2 3# Copyright (c) 2006 The Regents of The University of Michigan 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions are 8# met: redistributions of source code must retain the above copyright --- 57 unchanged lines hidden (view full) --- 66 67mem_comp_sig_template = ''' 68virtual Fault completeAcc(uint8_t *data, %s *xc, Trace::InstRecord *traceData) const { panic("Not defined!"); return NoFault; }; 69''' 70 71# Generate a temporary CPU list, including the CheckerCPU if 72# it's enabled. This isn't used for anything else other than StaticInst 73# headers. | 1# -*- mode:python -*- 2 3# Copyright (c) 2006 The Regents of The University of Michigan 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions are 8# met: redistributions of source code must retain the above copyright --- 57 unchanged lines hidden (view full) --- 66 67mem_comp_sig_template = ''' 68virtual Fault completeAcc(uint8_t *data, %s *xc, Trace::InstRecord *traceData) const { panic("Not defined!"); return NoFault; }; 69''' 70 71# Generate a temporary CPU list, including the CheckerCPU if 72# it's enabled. This isn't used for anything else other than StaticInst 73# headers. |
74temp_cpu_list = env['CPU_MODELS'] | 74temp_cpu_list = env['CPU_MODELS'][:] 75 |
75if env['USE_CHECKER']: 76 temp_cpu_list.append('CheckerCPU') 77 78# Generate header. 79def gen_cpu_exec_signatures(target, source, env): 80 f = open(str(target[0]), 'w') 81 print >> f, ''' 82#ifndef __CPU_STATIC_INST_EXEC_SIGS_HH__ --- 124 unchanged lines hidden --- | 76if env['USE_CHECKER']: 77 temp_cpu_list.append('CheckerCPU') 78 79# Generate header. 80def gen_cpu_exec_signatures(target, source, env): 81 f = open(str(target[0]), 'w') 82 print >> f, ''' 83#ifndef __CPU_STATIC_INST_EXEC_SIGS_HH__ --- 124 unchanged lines hidden --- |