SConscript (5400:fee00a595efc) SConscript (5529:9ae69b9cd7fd)
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
67# Generate a temporary CPU list, including the CheckerCPU if
68# it's enabled. This isn't used for anything else other than StaticInst
69# headers.
70temp_cpu_list = env['CPU_MODELS'][:]
71
72if env['USE_CHECKER']:
73 temp_cpu_list.append('CheckerCPU')
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
67# Generate a temporary CPU list, including the CheckerCPU if
68# it's enabled. This isn't used for anything else other than StaticInst
69# headers.
70temp_cpu_list = env['CPU_MODELS'][:]
71
72if env['USE_CHECKER']:
73 temp_cpu_list.append('CheckerCPU')
74 SimObject('CheckerCPU.py')
74
75# Generate header.
76def gen_cpu_exec_signatures(target, source, env):
77 f = open(str(target[0]), 'w')
78 print >> f, '''
79#ifndef __CPU_STATIC_INST_EXEC_SIGS_HH__
80#define __CPU_STATIC_INST_EXEC_SIGS_HH__
81'''

--- 97 unchanged lines hidden ---
75
76# Generate header.
77def gen_cpu_exec_signatures(target, source, env):
78 f = open(str(target[0]), 'w')
79 print >> f, '''
80#ifndef __CPU_STATIC_INST_EXEC_SIGS_HH__
81#define __CPU_STATIC_INST_EXEC_SIGS_HH__
82'''

--- 97 unchanged lines hidden ---