SConscript revision 9657
15612Sgblack@eecs.umich.edu# -*- mode:python -*-
25612Sgblack@eecs.umich.edu
35612Sgblack@eecs.umich.edu# Copyright (c) 2007-2008 The Hewlett-Packard Development Company
45612Sgblack@eecs.umich.edu# All rights reserved.
55612Sgblack@eecs.umich.edu#
67087Snate@binkert.org# The license below extends only to copyright in the software and shall
77087Snate@binkert.org# not be construed as granting a license to any other intellectual
87087Snate@binkert.org# property including but not limited to intellectual property relating
97087Snate@binkert.org# to a hardware implementation of the functionality of the software
107087Snate@binkert.org# licensed hereunder.  You may use the software subject to the license
117087Snate@binkert.org# terms below provided that you ensure that this notice is replicated
127087Snate@binkert.org# unmodified and in its entirety in all distributions of the software,
137087Snate@binkert.org# modified or unmodified, in source code or in binary form.
145612Sgblack@eecs.umich.edu#
157087Snate@binkert.org# Redistribution and use in source and binary forms, with or without
167087Snate@binkert.org# modification, are permitted provided that the following conditions are
177087Snate@binkert.org# met: redistributions of source code must retain the above copyright
187087Snate@binkert.org# notice, this list of conditions and the following disclaimer;
197087Snate@binkert.org# redistributions in binary form must reproduce the above copyright
207087Snate@binkert.org# notice, this list of conditions and the following disclaimer in the
217087Snate@binkert.org# documentation and/or other materials provided with the distribution;
227087Snate@binkert.org# neither the name of the copyright holders nor the names of its
235612Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from
247087Snate@binkert.org# this software without specific prior written permission.
255612Sgblack@eecs.umich.edu#
265612Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
275612Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
285612Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
295612Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
305612Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
315612Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
325612Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
335612Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
345612Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
355612Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
365612Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
375612Sgblack@eecs.umich.edu#
385612Sgblack@eecs.umich.edu# Authors: Gabe Black
395612Sgblack@eecs.umich.edu
405612Sgblack@eecs.umich.eduImport('*')
415612Sgblack@eecs.umich.edu
425612Sgblack@eecs.umich.eduif env['TARGET_ISA'] == 'x86':
438768Sgblack@eecs.umich.edu    # The table generated by the bootloader using the BIOS and passed to
448768Sgblack@eecs.umich.edu    # the operating system which maps out physical memory.
458768Sgblack@eecs.umich.edu    SimObject('E820.py')
468768Sgblack@eecs.umich.edu    Source('e820.cc')
475612Sgblack@eecs.umich.edu
488768Sgblack@eecs.umich.edu    # The DMI tables.
498768Sgblack@eecs.umich.edu    SimObject('SMBios.py')
508768Sgblack@eecs.umich.edu    Source('smbios.cc')
515625Sgblack@eecs.umich.edu
528768Sgblack@eecs.umich.edu    # Intel Multiprocessor Specification Configuration Table
538768Sgblack@eecs.umich.edu    SimObject('IntelMP.py')
548768Sgblack@eecs.umich.edu    Source('intelmp.cc')
555627Sgblack@eecs.umich.edu
568768Sgblack@eecs.umich.edu    # ACPI system description tables
578768Sgblack@eecs.umich.edu    SimObject('ACPI.py')
588768Sgblack@eecs.umich.edu    Source('acpi.cc')
59