SConscript revision 5627
19651SAndreas.Sandberg@ARM.com# -*- mode:python -*-
29651SAndreas.Sandberg@ARM.com
39651SAndreas.Sandberg@ARM.com# Copyright (c) 2007-2008 The Hewlett-Packard Development Company
49651SAndreas.Sandberg@ARM.com# All rights reserved.
59651SAndreas.Sandberg@ARM.com#
69651SAndreas.Sandberg@ARM.com# Redistribution and use of this software in source and binary forms,
79651SAndreas.Sandberg@ARM.com# with or without modification, are permitted provided that the
89651SAndreas.Sandberg@ARM.com# following conditions are met:
99651SAndreas.Sandberg@ARM.com#
109651SAndreas.Sandberg@ARM.com# The software must be used only for Non-Commercial Use which means any
119651SAndreas.Sandberg@ARM.com# use which is NOT directed to receiving any direct monetary
129651SAndreas.Sandberg@ARM.com# compensation for, or commercial advantage from such use.  Illustrative
139651SAndreas.Sandberg@ARM.com# examples of non-commercial use are academic research, personal study,
149651SAndreas.Sandberg@ARM.com# teaching, education and corporate research & development.
159651SAndreas.Sandberg@ARM.com# Illustrative examples of commercial use are distributing products for
169651SAndreas.Sandberg@ARM.com# commercial advantage and providing services using the software for
179651SAndreas.Sandberg@ARM.com# commercial advantage.
189651SAndreas.Sandberg@ARM.com#
199651SAndreas.Sandberg@ARM.com# If you wish to use this software or functionality therein that may be
209651SAndreas.Sandberg@ARM.com# covered by patents for commercial use, please contact:
219651SAndreas.Sandberg@ARM.com#     Director of Intellectual Property Licensing
229651SAndreas.Sandberg@ARM.com#     Office of Strategy and Technology
239651SAndreas.Sandberg@ARM.com#     Hewlett-Packard Company
249651SAndreas.Sandberg@ARM.com#     1501 Page Mill Road
259651SAndreas.Sandberg@ARM.com#     Palo Alto, California  94304
269651SAndreas.Sandberg@ARM.com#
279651SAndreas.Sandberg@ARM.com# Redistributions of source code must retain the above copyright notice,
289651SAndreas.Sandberg@ARM.com# this list of conditions and the following disclaimer.  Redistributions
299651SAndreas.Sandberg@ARM.com# in binary form must reproduce the above copyright notice, this list of
309651SAndreas.Sandberg@ARM.com# conditions and the following disclaimer in the documentation and/or
319651SAndreas.Sandberg@ARM.com# other materials provided with the distribution.  Neither the name of
329651SAndreas.Sandberg@ARM.com# the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its
339651SAndreas.Sandberg@ARM.com# contributors may be used to endorse or promote products derived from
349651SAndreas.Sandberg@ARM.com# this software without specific prior written permission.  No right of
359651SAndreas.Sandberg@ARM.com# sublicense is granted herewith.  Derivatives of the software and
369651SAndreas.Sandberg@ARM.com# output created using the software may be prepared, but only for
379651SAndreas.Sandberg@ARM.com# Non-Commercial Uses.  Derivatives of the software may be shared with
389651SAndreas.Sandberg@ARM.com# others provided: (i) the others agree to abide by the list of
399651SAndreas.Sandberg@ARM.com# conditions herein which includes the Non-Commercial Use restrictions;
409651SAndreas.Sandberg@ARM.com# and (ii) such Derivatives of the software include the above copyright
419651SAndreas.Sandberg@ARM.com# notice to acknowledge the contribution from this software where
429651SAndreas.Sandberg@ARM.com# applicable, this list of conditions and the disclaimer below.
439651SAndreas.Sandberg@ARM.com#
449651SAndreas.Sandberg@ARM.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
459651SAndreas.Sandberg@ARM.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
469651SAndreas.Sandberg@ARM.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
479651SAndreas.Sandberg@ARM.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
489651SAndreas.Sandberg@ARM.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
499651SAndreas.Sandberg@ARM.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
509651SAndreas.Sandberg@ARM.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
5110857Sandreas.sandberg@arm.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
529883Sandreas@sandberg.pp.se# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
539883Sandreas@sandberg.pp.se# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
549657Sandreas.sandberg@arm.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
559651SAndreas.Sandberg@ARM.com#
569651SAndreas.Sandberg@ARM.com# Authors: Gabe Black
579651SAndreas.Sandberg@ARM.com
589651SAndreas.Sandberg@ARM.comImport('*')
599651SAndreas.Sandberg@ARM.com
609651SAndreas.Sandberg@ARM.comif env['TARGET_ISA'] == 'x86':
619651SAndreas.Sandberg@ARM.com    if env['FULL_SYSTEM']:
629651SAndreas.Sandberg@ARM.com        # The table generated by the bootloader using the BIOS and passed to
639651SAndreas.Sandberg@ARM.com        # the operating system which maps out physical memory.
649651SAndreas.Sandberg@ARM.com        SimObject('E820.py')
65        Source('e820.cc')
66
67        # The DMI tables.
68        SimObject('SMBios.py')
69	Source('smbios.cc')
70
71        # Intel Multiprocessor Specification Configuration Table
72        SimObject('IntelMP.py')
73        Source('intelmp.cc')
74
75        # ACPI system description tables
76	SimObject('ACPI.py')
77        Source('acpi.cc')
78