applied Daniel's patch to bring rawdisk support to the branch
[bootmanager.git] / source / ModelOptions.py
index ccd64eb..78adad0 100644 (file)
@@ -1,3 +1,12 @@
+#!/usr/bin/python2
+
+# Copyright (c) 2003 Intel Corporation
+# All rights reserved.
+#
+# Copyright (c) 2004-2006 The Trustees of Princeton University
+# All rights reserved.
+
+
 import string
 
 MINHW   = 0x001
@@ -7,7 +16,9 @@ INTEL   = 0x008
 AMD     = 0x010
 NUMA    = 0x020
 GEODE   = 0x040
+BADHD   = 0x080
 LAST    = 0x100
+RAWDISK = 0x200
 
 modeloptions = {'smp':SMP,
                 'x64':X86_64,
@@ -17,7 +28,9 @@ modeloptions = {'smp':SMP,
                 'a32':AMD,
                 'numa':NUMA,
                 'geode':GEODE,
-                'minhw':MINHW}
+                'badhd':BADHD,
+                'minhw':MINHW,
+                'rawdisk':RAWDISK}
 
 def Get(model):
     modelinfo = string.split(model,'/')
@@ -28,3 +41,4 @@ def Get(model):
         options = options | modeloptions.get(info,0)
 
     return options
+