[dts] [PATCH] add x86_x32 abi target support

Haifeng Tang haifengx.tang at intel.com
Fri Feb 6 03:00:53 CET 2015


From: tanghaix <haifengx.tang at intel.com>


Signed-off-by: tanghaix <haifengx.tang at intel.com>
---
 framework/dut.py |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/framework/dut.py b/framework/dut.py
index 9879335..1db6722 100644
--- a/framework/dut.py
+++ b/framework/dut.py
@@ -195,6 +195,9 @@ class Dut(Crb):
                 arch_huge_pages = hugepages if hugepages > 0 else 1024
             elif self.architecture == "i686":
                 arch_huge_pages = hugepages if hugepages > 0 else 512
+            #set huge pagesize for x86_x32 abi target
+            elif self.architecture == "x86_x32":
+                arch_huge_pages = hugepages if hugepages > 0 else 256
 
             total_huge_pages = self.get_total_huge_pages()
 
-- 
1.7.9.5



More information about the dts mailing list