SConscript revision 5615
11897Sstever@eecs.umich.edu# -*- mode:python -*- 24130Ssaidi@eecs.umich.edu 31897Sstever@eecs.umich.edu# Copyright (c) 2007-2008 The Hewlett-Packard Development Company 41897Sstever@eecs.umich.edu# All rights reserved. 51897Sstever@eecs.umich.edu# 61897Sstever@eecs.umich.edu# Redistribution and use of this software in source and binary forms, 71897Sstever@eecs.umich.edu# with or without modification, are permitted provided that the 81897Sstever@eecs.umich.edu# following conditions are met: 91897Sstever@eecs.umich.edu# 101897Sstever@eecs.umich.edu# The software must be used only for Non-Commercial Use which means any 111897Sstever@eecs.umich.edu# use which is NOT directed to receiving any direct monetary 121897Sstever@eecs.umich.edu# compensation for, or commercial advantage from such use. Illustrative 131897Sstever@eecs.umich.edu# examples of non-commercial use are academic research, personal study, 141897Sstever@eecs.umich.edu# teaching, education and corporate research & development. 151897Sstever@eecs.umich.edu# Illustrative examples of commercial use are distributing products for 161897Sstever@eecs.umich.edu# commercial advantage and providing services using the software for 171897Sstever@eecs.umich.edu# commercial advantage. 181897Sstever@eecs.umich.edu# 191897Sstever@eecs.umich.edu# If you wish to use this software or functionality therein that may be 201897Sstever@eecs.umich.edu# covered by patents for commercial use, please contact: 211897Sstever@eecs.umich.edu# Director of Intellectual Property Licensing 221897Sstever@eecs.umich.edu# Office of Strategy and Technology 231897Sstever@eecs.umich.edu# Hewlett-Packard Company 241897Sstever@eecs.umich.edu# 1501 Page Mill Road 251897Sstever@eecs.umich.edu# Palo Alto, California 94304 261897Sstever@eecs.umich.edu# 271897Sstever@eecs.umich.edu# Redistributions of source code must retain the above copyright notice, 281897Sstever@eecs.umich.edu# this list of conditions and the following disclaimer. Redistributions 291897Sstever@eecs.umich.edu# in binary form must reproduce the above copyright notice, this list of 301897Sstever@eecs.umich.edu# conditions and the following disclaimer in the documentation and/or 311897Sstever@eecs.umich.edu# other materials provided with the distribution. Neither the name of 321897Sstever@eecs.umich.edu# the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its 331897Sstever@eecs.umich.edu# contributors may be used to endorse or promote products derived from 341897Sstever@eecs.umich.edu# this software without specific prior written permission. No right of 351897Sstever@eecs.umich.edu# sublicense is granted herewith. Derivatives of the software and 361897Sstever@eecs.umich.edu# output created using the software may be prepared, but only for 371897Sstever@eecs.umich.edu# Non-Commercial Uses. Derivatives of the software may be shared with 381897Sstever@eecs.umich.edu# others provided: (i) the others agree to abide by the list of 391897Sstever@eecs.umich.edu# conditions herein which includes the Non-Commercial Use restrictions; 401897Sstever@eecs.umich.edu# and (ii) such Derivatives of the software include the above copyright 411897Sstever@eecs.umich.edu# notice to acknowledge the contribution from this software where 424130Ssaidi@eecs.umich.edu# applicable, this list of conditions and the disclaimer below. 433099Sstever@eecs.umich.edu# 443099Sstever@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 451897Sstever@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 463709Sstever@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 473099Sstever@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 483099Sstever@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 491897Sstever@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 503099Sstever@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 513725Sstever@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 523725Sstever@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 531897Sstever@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 541897Sstever@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 551897Sstever@eecs.umich.edu# 561897Sstever@eecs.umich.edu# Authors: Gabe Black 571897Sstever@eecs.umich.edu 581897Sstever@eecs.umich.eduImport('*') 591897Sstever@eecs.umich.edu 601897Sstever@eecs.umich.eduif env['TARGET_ISA'] == 'x86': 611897Sstever@eecs.umich.edu if env['FULL_SYSTEM']: 621897Sstever@eecs.umich.edu # The table generated by the bootloader using the BIOS and passed to 631897Sstever@eecs.umich.edu # the operating system which maps out physical memory. 641897Sstever@eecs.umich.edu SimObject('E820.py') 651897Sstever@eecs.umich.edu Source('e820.cc') 661897Sstever@eecs.umich.edu 671897Sstever@eecs.umich.edu # The DMI tables. 681897Sstever@eecs.umich.edu SimObject('SMBios.py') 691897Sstever@eecs.umich.edu Source('smbios.cc') 701897Sstever@eecs.umich.edu