SConscript revision 5627
16717Sgblack@eecs.umich.edu# -*- mode:python -*-
26717Sgblack@eecs.umich.edu
36717Sgblack@eecs.umich.edu# Copyright (c) 2007-2008 The Hewlett-Packard Development Company
46717Sgblack@eecs.umich.edu# All rights reserved.
56717Sgblack@eecs.umich.edu#
66717Sgblack@eecs.umich.edu# Redistribution and use of this software in source and binary forms,
76717Sgblack@eecs.umich.edu# with or without modification, are permitted provided that the
86717Sgblack@eecs.umich.edu# following conditions are met:
96717Sgblack@eecs.umich.edu#
106717Sgblack@eecs.umich.edu# The software must be used only for Non-Commercial Use which means any
116717Sgblack@eecs.umich.edu# use which is NOT directed to receiving any direct monetary
126717Sgblack@eecs.umich.edu# compensation for, or commercial advantage from such use.  Illustrative
136717Sgblack@eecs.umich.edu# examples of non-commercial use are academic research, personal study,
146717Sgblack@eecs.umich.edu# teaching, education and corporate research & development.
156717Sgblack@eecs.umich.edu# Illustrative examples of commercial use are distributing products for
166717Sgblack@eecs.umich.edu# commercial advantage and providing services using the software for
176717Sgblack@eecs.umich.edu# commercial advantage.
186717Sgblack@eecs.umich.edu#
196717Sgblack@eecs.umich.edu# If you wish to use this software or functionality therein that may be
206717Sgblack@eecs.umich.edu# covered by patents for commercial use, please contact:
216717Sgblack@eecs.umich.edu#     Director of Intellectual Property Licensing
226717Sgblack@eecs.umich.edu#     Office of Strategy and Technology
236717Sgblack@eecs.umich.edu#     Hewlett-Packard Company
246717Sgblack@eecs.umich.edu#     1501 Page Mill Road
256717Sgblack@eecs.umich.edu#     Palo Alto, California  94304
266717Sgblack@eecs.umich.edu#
276717Sgblack@eecs.umich.edu# Redistributions of source code must retain the above copyright notice,
286717Sgblack@eecs.umich.edu# this list of conditions and the following disclaimer.  Redistributions
296717Sgblack@eecs.umich.edu# in binary form must reproduce the above copyright notice, this list of
306717Sgblack@eecs.umich.edu# conditions and the following disclaimer in the documentation and/or
316717Sgblack@eecs.umich.edu# other materials provided with the distribution.  Neither the name of
326717Sgblack@eecs.umich.edu# the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its
336717Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from
346717Sgblack@eecs.umich.edu# this software without specific prior written permission.  No right of
356717Sgblack@eecs.umich.edu# sublicense is granted herewith.  Derivatives of the software and
366717Sgblack@eecs.umich.edu# output created using the software may be prepared, but only for
376717Sgblack@eecs.umich.edu# Non-Commercial Uses.  Derivatives of the software may be shared with
386717Sgblack@eecs.umich.edu# others provided: (i) the others agree to abide by the list of
396717Sgblack@eecs.umich.edu# conditions herein which includes the Non-Commercial Use restrictions;
406717Sgblack@eecs.umich.edu# and (ii) such Derivatives of the software include the above copyright
416717Sgblack@eecs.umich.edu# notice to acknowledge the contribution from this software where
426717Sgblack@eecs.umich.edu# applicable, this list of conditions and the disclaimer below.
436717Sgblack@eecs.umich.edu#
446717Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
456717Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
466717Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
476717Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
486717Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
496717Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
506717Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
516717Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
526717Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
536717Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
546717Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
556717Sgblack@eecs.umich.edu#
566717Sgblack@eecs.umich.edu# Authors: Gabe Black
576717Sgblack@eecs.umich.edu
586717Sgblack@eecs.umich.eduImport('*')
596717Sgblack@eecs.umich.edu
606717Sgblack@eecs.umich.eduif env['TARGET_ISA'] == 'x86':
616717Sgblack@eecs.umich.edu    if env['FULL_SYSTEM']:
626717Sgblack@eecs.umich.edu        # The table generated by the bootloader using the BIOS and passed to
636717Sgblack@eecs.umich.edu        # the operating system which maps out physical memory.
646717Sgblack@eecs.umich.edu        SimObject('E820.py')
656717Sgblack@eecs.umich.edu        Source('e820.cc')
666717Sgblack@eecs.umich.edu
676717Sgblack@eecs.umich.edu        # The DMI tables.
686717Sgblack@eecs.umich.edu        SimObject('SMBios.py')
696717Sgblack@eecs.umich.edu	Source('smbios.cc')
706717Sgblack@eecs.umich.edu
716717Sgblack@eecs.umich.edu        # Intel Multiprocessor Specification Configuration Table
726717Sgblack@eecs.umich.edu        SimObject('IntelMP.py')
736717Sgblack@eecs.umich.edu        Source('intelmp.cc')
746717Sgblack@eecs.umich.edu
756717Sgblack@eecs.umich.edu        # ACPI system description tables
766717Sgblack@eecs.umich.edu	SimObject('ACPI.py')
776717Sgblack@eecs.umich.edu        Source('acpi.cc')
786717Sgblack@eecs.umich.edu