X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=source%2FModelOptions.py;h=8c8e979b7b17a054019f4210fb8d038d8390991e;hb=a0643cc47866e7fc3590909475ce8f79b8344597;hp=ee1cab37cba65324c7e433df0eebc5c6c1e9327a;hpb=7804369e701d610fe47a23e4778042b93ffa78d7;p=bootmanager.git diff --git a/source/ModelOptions.py b/source/ModelOptions.py index ee1cab3..8c8e979 100644 --- a/source/ModelOptions.py +++ b/source/ModelOptions.py @@ -1,3 +1,12 @@ +#!/usr/bin/python + +# Copyright (c) 2003 Intel Corporation +# All rights reserved. +# +# Copyright (c) 2004-2006 The Trustees of Princeton University +# All rights reserved. + + import string MINHW = 0x001 @@ -9,6 +18,7 @@ NUMA = 0x020 GEODE = 0x040 BADHD = 0x080 LAST = 0x100 +RAWDISK = 0x200 modeloptions = {'smp':SMP, 'x64':X86_64, @@ -19,7 +29,8 @@ modeloptions = {'smp':SMP, 'numa':NUMA, 'geode':GEODE, 'badhd':BADHD, - 'minhw':MINHW} + 'minhw':MINHW, + 'rawdisk':RAWDISK} def Get(model): modelinfo = string.split(model,'/') @@ -30,3 +41,4 @@ def Get(model): options = options | modeloptions.get(info,0) return options +