SConscript revision 5625
12023SN/A# -*- mode:python -*-
22023SN/A
32023SN/A# Copyright (c) 2007-2008 The Hewlett-Packard Development Company
42023SN/A# All rights reserved.
52023SN/A#
62023SN/A# Redistribution and use of this software in source and binary forms,
72023SN/A# with or without modification, are permitted provided that the
82023SN/A# following conditions are met:
92023SN/A#
102023SN/A# The software must be used only for Non-Commercial Use which means any
112023SN/A# use which is NOT directed to receiving any direct monetary
122023SN/A# compensation for, or commercial advantage from such use.  Illustrative
132023SN/A# examples of non-commercial use are academic research, personal study,
142023SN/A# teaching, education and corporate research & development.
152023SN/A# Illustrative examples of commercial use are distributing products for
162023SN/A# commercial advantage and providing services using the software for
172023SN/A# commercial advantage.
182023SN/A#
192023SN/A# If you wish to use this software or functionality therein that may be
202023SN/A# covered by patents for commercial use, please contact:
212023SN/A#     Director of Intellectual Property Licensing
222023SN/A#     Office of Strategy and Technology
232023SN/A#     Hewlett-Packard Company
242023SN/A#     1501 Page Mill Road
252023SN/A#     Palo Alto, California  94304
262023SN/A#
272023SN/A# Redistributions of source code must retain the above copyright notice,
282665Ssaidi@eecs.umich.edu# this list of conditions and the following disclaimer.  Redistributions
292665Ssaidi@eecs.umich.edu# in binary form must reproduce the above copyright notice, this list of
302665Ssaidi@eecs.umich.edu# conditions and the following disclaimer in the documentation and/or
312023SN/A# other materials provided with the distribution.  Neither the name of
324202Sbinkertn@umich.edu# the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its
332023SN/A# contributors may be used to endorse or promote products derived from
344202Sbinkertn@umich.edu# this software without specific prior written permission.  No right of
354997Sgblack@eecs.umich.edu# sublicense is granted herewith.  Derivatives of the software and
364202Sbinkertn@umich.edu# output created using the software may be prepared, but only for
374202Sbinkertn@umich.edu# Non-Commercial Uses.  Derivatives of the software may be shared with
384202Sbinkertn@umich.edu# others provided: (i) the others agree to abide by the list of
394997Sgblack@eecs.umich.edu# conditions herein which includes the Non-Commercial Use restrictions;
404202Sbinkertn@umich.edu# and (ii) such Derivatives of the software include the above copyright
414997Sgblack@eecs.umich.edu# notice to acknowledge the contribution from this software where
424202Sbinkertn@umich.edu# applicable, this list of conditions and the disclaimer below.
434202Sbinkertn@umich.edu#
444997Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
454826Ssaidi@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
462023SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
474997Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
484997Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
494202Sbinkertn@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
504486Sbinkertn@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
514486Sbinkertn@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
524202Sbinkertn@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
534202Sbinkertn@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
544202Sbinkertn@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
554202Sbinkertn@umich.edu#
564202Sbinkertn@umich.edu# Authors: Gabe Black
574202Sbinkertn@umich.edu
582023SN/AImport('*')
594202Sbinkertn@umich.edu
604202Sbinkertn@umich.eduif env['TARGET_ISA'] == 'x86':
614202Sbinkertn@umich.edu    if env['FULL_SYSTEM']:
622023SN/A        # The table generated by the bootloader using the BIOS and passed to
634202Sbinkertn@umich.edu        # the operating system which maps out physical memory.
644202Sbinkertn@umich.edu        SimObject('E820.py')
652023SN/A        Source('e820.cc')
664202Sbinkertn@umich.edu
674202Sbinkertn@umich.edu        # The DMI tables.
682023SN/A        SimObject('SMBios.py')
694202Sbinkertn@umich.edu	Source('smbios.cc')
704202Sbinkertn@umich.edu
712023SN/A        # Intel Multiprocessor Specification Configuration Table
724202Sbinkertn@umich.edu        SimObject('IntelMP.py')
734202Sbinkertn@umich.edu        Source('intelmp.cc')
744202Sbinkertn@umich.edu